diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClient.java index 6c7ae690c8655..4cc1d21d4788c 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClient.java @@ -64,7 +64,7 @@ public final class KeyVaultAccessControlAsyncClient { /** * The logger to be used. */ - private final ClientLogger logger = new ClientLogger(KeyVaultAccessControlAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultAccessControlAsyncClient.class); /** * The underlying AutoRest client used to interact with the Key Vault service. @@ -196,14 +196,14 @@ Mono> listRoleDefinitionsFirstPage(String return clientImpl.getRoleDefinitions() .listSinglePageAsync(vaultUrl, roleScope.toString(), null, context) - .doOnRequest(ignored -> logger.verbose("Listing role definitions for roleScope - {}", roleScope)) - .doOnSuccess(response -> logger.verbose("Listed role definitions for roleScope - {}", roleScope)) - .doOnError(error -> logger.warning("Failed to list role definitions for roleScope - {}", roleScope, + .doOnRequest(ignored -> LOGGER.verbose("Listing role definitions for roleScope - {}", roleScope)) + .doOnSuccess(response -> LOGGER.verbose("Listed role definitions for roleScope - {}", roleScope)) + .doOnError(error -> LOGGER.warning("Failed to list role definitions for roleScope - {}", roleScope, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleDefinitionsPagedResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -226,15 +226,15 @@ Mono> listRoleDefinitionsNextPage(String c return clientImpl.getRoleDefinitions() .listNextSinglePageAsync(continuationToken, vaultUrl, context) .doOnRequest(ignored -> - logger.verbose("Listing next role definitions page - Page {}", continuationToken)) + LOGGER.verbose("Listing next role definitions page - Page {}", continuationToken)) .doOnSuccess(response -> - logger.verbose("Listed next role definitions page - Page {}", continuationToken)) + LOGGER.verbose("Listed next role definitions page - Page {}", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next role definitions page - Page {}", continuationToken, error)) + LOGGER.warning("Failed to list next role definitions page - Page {}", continuationToken, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleDefinitionsPagedResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -380,14 +380,14 @@ Mono> setRoleDefinitionWithResponse(SetRoleDefi options.getRoleDefinitionName(), parameters, context) .doOnRequest(ignored -> - logger.verbose("Creating role definition - {}", options.getRoleDefinitionName())) - .doOnSuccess(response -> logger.verbose("Created role definition - {}", response.getValue().getName())) + LOGGER.verbose("Creating role definition - {}", options.getRoleDefinitionName())) + .doOnSuccess(response -> LOGGER.verbose("Created role definition - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to create role definition - {}", options.getRoleDefinitionName(), error)) + LOGGER.warning("Failed to create role definition - {}", options.getRoleDefinitionName(), error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleDefinitionResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -481,15 +481,15 @@ Mono> getRoleDefinitionWithResponse(KeyVaultRol return clientImpl.getRoleDefinitions() .getWithResponseAsync(vaultUrl, roleScope.toString(), roleDefinitionName, context) - .doOnRequest(ignored -> logger.verbose("Retrieving role definition - {}", roleDefinitionName)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving role definition - {}", roleDefinitionName)) .doOnSuccess(response -> - logger.verbose("Retrieved role definition - {}", response.getValue().getName())) + LOGGER.verbose("Retrieved role definition - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to retrieved role definition - {}", roleDefinitionName, error)) + LOGGER.warning("Failed to retrieved role definition - {}", roleDefinitionName, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleDefinitionResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -576,15 +576,15 @@ Mono> deleteRoleDefinitionWithResponse(KeyVaultRoleScope roleScop return clientImpl.getRoleDefinitions() .deleteWithResponseAsync(vaultUrl, roleScope.toString(), roleDefinitionName, context) - .doOnRequest(ignored -> logger.verbose("Deleting role definition - {}", roleDefinitionName)) - .doOnSuccess(response -> logger.verbose("Deleted role definition - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to delete role definition - {}", roleDefinitionName, error)) + .doOnRequest(ignored -> LOGGER.verbose("Deleting role definition - {}", roleDefinitionName)) + .doOnSuccess(response -> LOGGER.verbose("Deleted role definition - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete role definition - {}", roleDefinitionName, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(response -> (Response) new SimpleResponse(response, null)) .onErrorResume(KeyVaultAdministrationException.class, e -> - swallowExceptionForStatusCodeAsync(404, e, logger)); + swallowExceptionForStatusCodeAsync(404, e, LOGGER)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -651,14 +651,14 @@ Mono> listRoleAssignmentsFirstPage(String return clientImpl.getRoleAssignments() .listForScopeSinglePageAsync(vaultUrl, roleScope.toString(), null, context) - .doOnRequest(ignored -> logger.verbose("Listing role assignments for roleScope - {}", roleScope)) - .doOnSuccess(response -> logger.verbose("Listed role assignments for roleScope - {}", roleScope)) - .doOnError(error -> logger.warning("Failed to list role assignments for roleScope - {}", roleScope, + .doOnRequest(ignored -> LOGGER.verbose("Listing role assignments for roleScope - {}", roleScope)) + .doOnSuccess(response -> LOGGER.verbose("Listed role assignments for roleScope - {}", roleScope)) + .doOnError(error -> LOGGER.warning("Failed to list role assignments for roleScope - {}", roleScope, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleAssignmentsPagedResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -681,15 +681,15 @@ Mono> listRoleAssignmentsNextPage(String c .listForScopeNextSinglePageAsync(continuationToken, vaultUrl, context) .doOnRequest(ignored -> - logger.verbose("Listing next role assignments page - Page {}", continuationToken)) + LOGGER.verbose("Listing next role assignments page - Page {}", continuationToken)) .doOnSuccess(response -> - logger.verbose("Listed next role assignments page - Page {}", continuationToken)) - .doOnError(error -> logger.warning("Failed to list next role assignments page - Page {}", + LOGGER.verbose("Listed next role assignments page - Page {}", continuationToken)) + .doOnError(error -> LOGGER.warning("Failed to list next role assignments page - Page {}", continuationToken, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleAssignmentsPagedResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -845,13 +845,13 @@ Mono> createRoleAssignmentWithResponse(KeyVault return clientImpl.getRoleAssignments() .createWithResponseAsync(vaultUrl, roleScope.toString(), roleAssignmentName, parameters, context) - .doOnRequest(ignored -> logger.verbose("Creating role assignment - {}", roleAssignmentName)) - .doOnSuccess(response -> logger.verbose("Created role assignment - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to create role assignment - {}", roleAssignmentName, error)) + .doOnRequest(ignored -> LOGGER.verbose("Creating role assignment - {}", roleAssignmentName)) + .doOnSuccess(response -> LOGGER.verbose("Created role assignment - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to create role assignment - {}", roleAssignmentName, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleAssignmentResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -942,15 +942,15 @@ Mono> getRoleAssignmentWithResponse(KeyVaultRol return clientImpl.getRoleAssignments() .getWithResponseAsync(vaultUrl, roleScope.toString(), roleAssignmentName, context) - .doOnRequest(ignored -> logger.verbose("Retrieving role assignment - {}", roleAssignmentName)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving role assignment - {}", roleAssignmentName)) .doOnSuccess(response -> - logger.verbose("Retrieved role assignment - {}", response.getValue().getName())) + LOGGER.verbose("Retrieved role assignment - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to retrieve role assignment - {}", roleAssignmentName, error)) + LOGGER.warning("Failed to retrieve role assignment - {}", roleAssignmentName, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultAdministrationUtil::transformRoleAssignmentResponse); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1036,15 +1036,15 @@ Mono> deleteRoleAssignmentWithResponse(KeyVaultRoleScope roleScop return clientImpl.getRoleAssignments() .deleteWithResponseAsync(vaultUrl, roleScope.toString(), roleAssignmentName, context) - .doOnRequest(ignored -> logger.verbose("Deleting role assignment - {}", roleAssignmentName)) - .doOnSuccess(response -> logger.verbose("Deleted role assignment - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to delete role assignment - {}", roleAssignmentName, error)) + .doOnRequest(ignored -> LOGGER.verbose("Deleting role assignment - {}", roleAssignmentName)) + .doOnSuccess(response -> LOGGER.verbose("Deleted role assignment - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete role assignment - {}", roleAssignmentName, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(response -> (Response) new SimpleResponse(response, null)) .onErrorResume(KeyVaultAdministrationException.class, e -> - swallowExceptionForStatusCodeAsync(404, e, logger)); + swallowExceptionForStatusCodeAsync(404, e, LOGGER)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClient.java index f6daa894fe303..3bd1e7ed8b7b6 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClient.java @@ -62,13 +62,10 @@ */ @ServiceClient(builder = KeyVaultAccessControlClientBuilder.class) public final class KeyVaultAccessControlClient { - // Please see here - // for more information on Azure resource provider namespaces. - /** * The logger to be used. */ - private final ClientLogger logger = new ClientLogger(KeyVaultAccessControlClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultAccessControlClient.class); /** * The underlying AutoRest client used to interact with the Key Vault service. @@ -208,9 +205,9 @@ PagedResponse listRoleDefinitionsFirstPage(String vaultU context); return KeyVaultAdministrationUtil.transformRoleDefinitionsPagedResponse(roleDefinitionPagedResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -234,9 +231,9 @@ PagedResponse listRoleDefinitionsNextPage(String continu .listNextSinglePage(continuationToken, vaultUrl, context); return KeyVaultAdministrationUtil.transformRoleDefinitionsPagedResponse(roleDefinitionPagedResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -367,9 +364,9 @@ public Response setRoleDefinitionWithResponse(SetRoleDef context); return KeyVaultAdministrationUtil.transformRoleDefinitionResponse(roleDefinitionResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -447,9 +444,9 @@ public Response getRoleDefinitionWithResponse(KeyVaultRo context); return KeyVaultAdministrationUtil.transformRoleDefinitionResponse(roleDefinitionResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -524,9 +521,9 @@ public Response deleteRoleDefinitionWithResponse(KeyVaultRoleScope roleSco } catch (KeyVaultErrorException e) { KeyVaultAdministrationException mappedException = KeyVaultAdministrationUtils .toKeyVaultAdministrationException(e); - return swallowExceptionForStatusCodeSync(404, mappedException, logger); + return swallowExceptionForStatusCodeSync(404, mappedException, LOGGER); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -620,9 +617,9 @@ PagedResponse listRoleAssignmentsFirstPage(String vaultU context); return KeyVaultAdministrationUtil.transformRoleAssignmentsPagedResponse(roleAssignmentPagedResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -646,9 +643,9 @@ PagedResponse listRoleAssignmentsNextPage(String continu context); return KeyVaultAdministrationUtil.transformRoleAssignmentsPagedResponse(roleAssignmentPagedResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -785,9 +782,9 @@ public Response createRoleAssignmentWithResponse(KeyVaul context); return KeyVaultAdministrationUtil.transformRoleAssignmentResponse(roleAssignmentResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -862,9 +859,9 @@ public Response getRoleAssignmentWithResponse(KeyVaultRo context); return KeyVaultAdministrationUtil.transformRoleAssignmentResponse(roleAssignmentResponse); } catch (KeyVaultErrorException e) { - throw logger.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); + throw LOGGER.logExceptionAsError(KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -935,9 +932,9 @@ public Response deleteRoleAssignmentWithResponse(KeyVaultRoleScope roleSco return new SimpleResponse<>(roleAssignmentResponse, null); } catch (KeyVaultErrorException e) { KeyVaultAdministrationException mappedException = KeyVaultAdministrationUtils.toKeyVaultAdministrationException(e); - return swallowExceptionForStatusCodeSync(404, mappedException, logger); + return swallowExceptionForStatusCodeSync(404, mappedException, LOGGER); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilder.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilder.java index 34eeb6fffeebe..a52a9ba73fac0 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilder.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilder.java @@ -80,11 +80,11 @@ public final class KeyVaultAccessControlClientBuilder implements HttpTrait, ConfigurationTrait { // This is the properties file name. + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultAccessControlClientBuilder.class); private static final String AZURE_KEY_VAULT_RBAC = "azure-key-vault-administration.properties"; private static final String SDK_NAME = "name"; private static final String SDK_VERSION = "version"; - private final ClientLogger logger = new ClientLogger(KeyVaultAccessControlClientBuilder.class); private final List perCallPolicies; private final List perRetryPolicies; private final Map properties; @@ -173,7 +173,7 @@ private Configuration validateEndpointAndGetConfiguration() { URL buildEndpoint = getBuildEndpoint(buildConfiguration); if (buildEndpoint == null) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalStateException( KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.VAULT_END_POINT_REQUIRED))); } @@ -244,13 +244,13 @@ private HttpPipeline getPipeline(Configuration buildConfiguration, ServiceVersio */ public KeyVaultAccessControlClientBuilder vaultUrl(String vaultUrl) { if (vaultUrl == null) { - throw logger.logExceptionAsError(new NullPointerException("'vaultUrl' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'vaultUrl' cannot be null.")); } try { this.vaultUrl = new URL(vaultUrl); } catch (MalformedURLException e) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("The Azure Key Vault URL is malformed.", e)); } @@ -271,7 +271,7 @@ public KeyVaultAccessControlClientBuilder vaultUrl(String vaultUrl) { @Override public KeyVaultAccessControlClientBuilder credential(TokenCredential credential) { if (credential == null) { - throw logger.logExceptionAsError(new NullPointerException("'credential' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'credential' cannot be null.")); } this.credential = credential; @@ -319,7 +319,7 @@ public KeyVaultAccessControlClientBuilder httpLogOptions(HttpLogOptions logOptio @Override public KeyVaultAccessControlClientBuilder addPolicy(HttpPipelinePolicy policy) { if (policy == null) { - throw logger.logExceptionAsError(new NullPointerException("'policy' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'policy' cannot be null.")); } if (policy.getPipelinePosition() == HttpPipelinePosition.PER_CALL) { diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClient.java index e416320ee4460..d028d36cd5132 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClient.java @@ -67,15 +67,12 @@ */ @ServiceClient(builder = KeyVaultBackupClientBuilder.class, isAsync = true) public final class KeyVaultBackupAsyncClient { - // Please see here - // for more information on Azure resource provider namespaces. - - private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); - /** * The logger to be used. */ - private final ClientLogger logger = new ClientLogger(KeyVaultBackupAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultBackupAsyncClient.class); + + private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); /** * The underlying AutoRest client used to interact with the Key Vault service. @@ -173,13 +170,13 @@ HttpPipeline getHttpPipeline() { @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux beginBackup(String blobStorageUrl, String sasToken) { if (blobStorageUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'blobStorageUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -188,7 +185,7 @@ public PollerFlux beginBackup(String blobStorag backupActivationOperation(blobStorageUrl, sasToken), backupPollOperation(), (pollingContext, firstResponse) -> - Mono.error(logger.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), + Mono.error(LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), backupFetchOperation()); } @@ -212,16 +209,16 @@ Mono> backupWithResponse(String blobStorageUrl try { return clientImpl.fullBackupWithResponseAsync(vaultUrl, sasTokenParameter, context) - .doOnRequest(ignored -> logger.verbose("Backing up at URL - {}", blobStorageUrl)) - .doOnSuccess(response -> logger.verbose("Backed up at URL - {}", + .doOnRequest(ignored -> LOGGER.verbose("Backing up at URL - {}", blobStorageUrl)) + .doOnSuccess(response -> LOGGER.verbose("Backed up at URL - {}", response.getValue().getAzureStorageBlobContainerUri())) - .doOnError(error -> logger.warning("Failed to backup at URL - {}", blobStorageUrl, error)) + .doOnError(error -> LOGGER.warning("Failed to backup at URL - {}", blobStorageUrl, error)) .map(backupOperationResponse -> new SimpleResponse<>(backupOperationResponse.getRequest(), backupOperationResponse.getStatusCode(), backupOperationResponse.getHeaders(), (KeyVaultBackupOperation) transformToLongRunningOperation(backupOperationResponse.getValue()))); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -233,7 +230,7 @@ private Function, Mono backupWithResponse(blobStorageUrl, sasToken, context)) .flatMap(backupResponse -> Mono.just(backupResponse.getValue())); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -251,7 +248,7 @@ private Function, Mono( LongRunningOperationStatus.fromString("BACKUP_START_FAILED", true), null)); @@ -267,11 +264,11 @@ private Function, Mono(LongRunningOperationStatus.FAILED, null)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -288,7 +285,7 @@ private Function, Mono> backupFe return Mono.just(blobContainerUri); } } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -339,13 +336,13 @@ private static Mono> processBackupOperatio @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux beginRestore(String folderUrl, String sasToken) { if (folderUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'folderUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -354,7 +351,7 @@ public PollerFlux beginRestore( restoreActivationOperation(folderUrl, sasToken), restorePollOperation(), (pollingContext, firstResponse) -> - Mono.error(logger.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), + Mono.error(LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), (pollingContext) -> Mono.just(new KeyVaultRestoreResult())); } @@ -388,10 +385,10 @@ Mono> restoreWithResponse(String folderUrl, S try { return clientImpl.fullRestoreOperationWithResponseAsync(vaultUrl, restoreOperationParameters, context) - .doOnRequest(ignored -> logger.verbose("Restoring from location - {}", folderUrl)) - .doOnSuccess(response -> logger.verbose("Restored from location - {}", folderUrl)) + .doOnRequest(ignored -> LOGGER.verbose("Restoring from location - {}", folderUrl)) + .doOnSuccess(response -> LOGGER.verbose("Restored from location - {}", folderUrl)) .doOnError(error -> - logger.warning("Failed to restore from location - {}", folderUrl, error)) + LOGGER.warning("Failed to restore from location - {}", folderUrl, error)) .map(restoreOperationResponse -> new SimpleResponse<>(restoreOperationResponse.getRequest(), restoreOperationResponse.getStatusCode(), @@ -399,7 +396,7 @@ Mono> restoreWithResponse(String folderUrl, S (KeyVaultRestoreOperation) transformToLongRunningOperation( restoreOperationResponse.getValue()))); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -409,7 +406,7 @@ private Function, Mono restoreWithResponse(folderUrl, sasToken, context)) .flatMap(restoreResponse -> Mono.just(restoreResponse.getValue())); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -428,7 +425,7 @@ private Function, Mono( LongRunningOperationStatus.fromString("RESTORE_START_FAILED", true), null)); @@ -444,11 +441,11 @@ private Function, Mono(LongRunningOperationStatus.FAILED, null)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -504,19 +501,19 @@ static Mono> processRestoreOperationRespo @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux beginSelectiveKeyRestore(String keyName, String folderUrl, String sasToken) { if (keyName == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'keyName'"))); } if (folderUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'folderUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -524,7 +521,7 @@ public PollerFlux(getDefaultPollingInterval(), selectiveKeyRestoreActivationOperation(keyName, folderUrl, sasToken), selectiveKeyRestorePollOperation(), - (pollingContext, firstResponse) -> Mono.error(logger.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), + (pollingContext, firstResponse) -> Mono.error(LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported"))), (pollingContext) -> Mono.just(new KeyVaultSelectiveKeyRestoreResult())); } @@ -563,11 +560,11 @@ Mono> selectiveKeyRestoreWithResp return clientImpl.selectiveKeyRestoreOperationWithResponseAsync(vaultUrl, keyName, selectiveKeyRestoreOperationParameters, context) .doOnRequest(ignored -> - logger.verbose("Restoring key \"{}\" from location - {}", keyName, folderUrl)) + LOGGER.verbose("Restoring key \"{}\" from location - {}", keyName, folderUrl)) .doOnSuccess(response -> - logger.verbose("Restored key \"{}\" from location - {}", keyName, folderUrl)) + LOGGER.verbose("Restored key \"{}\" from location - {}", keyName, folderUrl)) .doOnError(error -> - logger.warning("Failed to restore key \"{}\" from location - {}", keyName, folderUrl, error)) + LOGGER.warning("Failed to restore key \"{}\" from location - {}", keyName, folderUrl, error)) .map(restoreOperationResponse -> new SimpleResponse<>(restoreOperationResponse.getRequest(), restoreOperationResponse.getStatusCode(), @@ -575,7 +572,7 @@ Mono> selectiveKeyRestoreWithResp (KeyVaultSelectiveKeyRestoreOperation) transformToLongRunningOperation( restoreOperationResponse.getValue()))); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -585,7 +582,7 @@ private Function, Mono selectiveKeyRestoreWithResponse(keyName, folderUrl, sasToken, context)) .flatMap(selectiveKeyRestoreResponse -> Mono.just(selectiveKeyRestoreResponse.getValue())); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } @@ -604,7 +601,7 @@ private Function, Mono( LongRunningOperationStatus.fromString("SELECTIVE_RESTORE_START_FAILED", true), null)); @@ -619,11 +616,11 @@ private Function, Mono(LongRunningOperationStatus.FAILED, null)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } }; } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClient.java index 4dd4899fff17f..afd05f3bb714d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClient.java @@ -66,14 +66,14 @@ */ @ServiceClient(builder = KeyVaultBackupClientBuilder.class) public final class KeyVaultBackupClient { - private final KeyVaultBackupAsyncClient asyncClient; - - private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); - /** * The logger to be used. */ - private final ClientLogger logger = new ClientLogger(KeyVaultBackupClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultBackupClient.class); + + private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); + + private final KeyVaultBackupAsyncClient asyncClient; /** * The underlying AutoRest client used to interact with the Key Vault service. @@ -172,13 +172,13 @@ public String getVaultUrl() { @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller beginBackup(String blobStorageUrl, String sasToken) { if (blobStorageUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'blobStorageUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -189,7 +189,7 @@ public SyncPoller beginBackup(String blobStorag cxt -> new PollResponse<>(LongRunningOperationStatus.NOT_STARTED, backupActivationOperation(blobStorageUrl, sasToken, context).apply(cxt)), backupPollOperation(context), (pollingContext, firstResponse) -> { - throw logger.logExceptionAsError(new RuntimeException("Cancellation is not supported")); + throw LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported")); }, backupFetchOperation()); } @@ -219,7 +219,7 @@ Response backupWithResponse(String blobStorageUrl, Stri backupOperationResponse.getHeaders(), (KeyVaultBackupOperation) transformToLongRunningOperation(backupOperationResponse.getValue())); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -229,7 +229,7 @@ private Function, KeyVaultBackupOperatio try { return backupWithResponse(blobStorageUrl, sasToken, context).getValue(); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -247,7 +247,7 @@ private Function, PollResponse( LongRunningOperationStatus.fromString("BACKUP_START_FAILED", true), null); } @@ -261,10 +261,10 @@ private Function, PollResponse(LongRunningOperationStatus.FAILED, null); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -274,7 +274,7 @@ private Function, String> backupFetchOpe try { return pollingContext.getLatestResponse().getValue().getAzureStorageBlobContainerUrl(); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -332,12 +332,12 @@ private static PollResponse processBackupOperationRespo @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller beginRestore(String folderUrl, String sasToken) { if (folderUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'folderUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -346,7 +346,7 @@ public SyncPoller beginRestore( cxt -> new PollResponse<>(LongRunningOperationStatus.NOT_STARTED, restoreActivationOperation(folderUrl, sasToken, context).apply(cxt)), restorePollOperation(context), (pollingContext, firstResponse) -> { - throw logger.logExceptionAsError(new RuntimeException("Cancellation is not supported")); + throw LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported")); }, (pollingContext) -> new KeyVaultRestoreResult()); } @@ -387,7 +387,7 @@ Response restoreWithResponse(String folderUrl, String restoreOperationResponse.getHeaders(), (KeyVaultRestoreOperation) transformToLongRunningOperation(restoreOperationResponse.getValue())); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -396,7 +396,7 @@ private Function, KeyVaultRestoreOperat try { return restoreWithResponse(folderUrl, sasToken, context).getValue(); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -415,7 +415,7 @@ private Function, PollResponse(LongRunningOperationStatus.fromString("RESTORE_START_FAILED", true), null); } @@ -430,10 +430,10 @@ private Function, PollResponse(LongRunningOperationStatus.FAILED, null); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -494,19 +494,19 @@ private static PollResponse processRestoreOperationRes @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller beginSelectiveKeyRestore(String keyName, String folderUrl, String sasToken) { if (keyName == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'keyName'"))); } if (folderUrl == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'folderUrl'"))); } if (sasToken == null) { - throw logger.logExceptionAsError(new NullPointerException( + throw LOGGER.logExceptionAsError(new NullPointerException( String.format(KeyVaultErrorCodeStrings.getErrorString(KeyVaultErrorCodeStrings.PARAMETER_REQUIRED), "'sasToken'"))); } @@ -516,7 +516,7 @@ public SyncPoller new PollResponse<>(LongRunningOperationStatus.NOT_STARTED, selectiveKeyRestoreActivationOperation(keyName, folderUrl, sasToken, context).apply(cxt)), selectiveKeyRestorePollOperation(context), (pollingContext, firstResponse) -> { - throw logger.logExceptionAsError(new RuntimeException("Cancellation is not supported")); + throw LOGGER.logExceptionAsError(new RuntimeException("Cancellation is not supported")); }, (pollingContext) -> new KeyVaultSelectiveKeyRestoreResult()); } @@ -562,7 +562,7 @@ Response selectiveKeyRestoreWithResponse(S (KeyVaultSelectiveKeyRestoreOperation) transformToLongRunningOperation( restoreOperationResponse.getValue())); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -571,7 +571,7 @@ private Function, KeyVaultS try { return selectiveKeyRestoreWithResponse(keyName, folderUrl, sasToken, context).getValue(); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } @@ -589,7 +589,7 @@ private Function, PollRespo final KeyVaultSelectiveKeyRestoreOperation keyVaultSelectiveKeyRestoreOperation = pollResponse.getValue(); if (keyVaultSelectiveKeyRestoreOperation == null) { - logger.warning("Restore operation does not exist. Activation operation failed."); + LOGGER.warning("Restore operation does not exist. Activation operation failed."); return new PollResponse<>(LongRunningOperationStatus.fromString("SELECTIVE_RESTORE_START_FAILED", true), null); } @@ -601,11 +601,11 @@ private Function, PollRespo (KeyVaultSelectiveKeyRestoreOperation) restoreOperationToSelectiveKeyRestoreOperation(response.getValue()))); } catch (HttpResponseException e) { //noinspection ThrowableNotThrown - logger.logExceptionAsError(e); + LOGGER.logExceptionAsError(e); return new PollResponse<>(LongRunningOperationStatus.FAILED, null); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } }; } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilder.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilder.java index c6cee079fa618..d870deb0a446f 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilder.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilder.java @@ -78,10 +78,10 @@ public final class KeyVaultBackupClientBuilder implements HttpTrait, ConfigurationTrait { // This is the properties file name. + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultBackupClientBuilder.class); private static final String AZURE_KEY_VAULT_RBAC = "azure-key-vault-administration.properties"; private static final String SDK_NAME = "name"; private static final String SDK_VERSION = "version"; - private static final ClientLogger LOGGER = new ClientLogger(KeyVaultBackupClientBuilder.class); // Please see here // for more information on Azure resource provider namespaces. diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClient.java index 43cfe73f9dc6f..a708408ea0636 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClient.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.HttpPipeline; import com.azure.core.http.rest.Response; import com.azure.core.http.rest.SimpleResponse; import com.azure.core.util.logging.ClientLogger; @@ -38,9 +39,9 @@ @ServiceClient(builder = KeyVaultSettingsClientBuilder.class, isAsync = true, serviceInterfaces = KeyVaultSettingsClientImpl.KeyVaultSettingsClientService.class) public final class KeyVaultSettingsAsyncClient { + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSettingsAsyncClient.class); private final String vaultUrl; private final KeyVaultSettingsClientImpl implClient; - private final ClientLogger logger = new ClientLogger(KeyVaultSettingsAsyncClient.class); /** * Creates a {@link KeyVaultSettingsAsyncClient} that uses a {@link KeyVaultSettingsClientImpl} to service requests. @@ -53,6 +54,15 @@ public final class KeyVaultSettingsAsyncClient { this.implClient = implClient; } + /** + * Gets the {@link HttpPipeline} powering this client. + * + * @return The pipeline. + */ + HttpPipeline getHttpPipeline() { + return this.implClient.getHttpPipeline(); + } + /** * Updates a given {@link KeyVaultSetting account setting}. * @@ -91,13 +101,13 @@ public Mono updateSetting(KeyVaultSetting setting) { } return implClient.updateSettingAsync(vaultUrl, setting.getName(), settingValue) - .doOnRequest(ignored -> logger.verbose("Updating account setting - {}", setting.getName())) - .doOnSuccess(response -> logger.verbose("Updated account setting - {}", setting.getName())) - .doOnError(error -> logger.warning("Failed updating account setting - {}", setting.getName(), error)) + .doOnRequest(ignored -> LOGGER.verbose("Updating account setting - {}", setting.getName())) + .doOnSuccess(response -> LOGGER.verbose("Updated account setting - {}", setting.getName())) + .doOnError(error -> LOGGER.warning("Failed updating account setting - {}", setting.getName(), error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultSettingsAsyncClient::transformToKeyVaultSetting); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -140,13 +150,13 @@ public Mono> updateSettingWithResponse(KeyVaultSetting } return implClient.updateSettingWithResponseAsync(vaultUrl, setting.getName(), settingValue) - .doOnRequest(ignored -> logger.verbose("Updating account setting - {}", setting.getName())) - .doOnSuccess(response -> logger.verbose("Updated account setting - {}", setting.getName())) - .doOnError(error -> logger.warning("Failed updating account setting - {}", setting.getName(), error)) + .doOnRequest(ignored -> LOGGER.verbose("Updating account setting - {}", setting.getName())) + .doOnSuccess(response -> LOGGER.verbose("Updated account setting - {}", setting.getName())) + .doOnError(error -> LOGGER.warning("Failed updating account setting - {}", setting.getName(), error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(response -> new SimpleResponse<>(response, transformToKeyVaultSetting(response.getValue()))); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -175,13 +185,13 @@ public Mono> updateSettingWithResponse(KeyVaultSetting public Mono getSetting(String name) { try { return implClient.getSettingAsync(vaultUrl, name) - .doOnRequest(ignored -> logger.verbose("Retrieving account setting - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved account setting - {}", name)) - .doOnError(error -> logger.warning("Failed retrieving account setting - {}", name, error)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving account setting - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved account setting - {}", name)) + .doOnError(error -> LOGGER.warning("Failed retrieving account setting - {}", name, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(KeyVaultSettingsAsyncClient::transformToKeyVaultSetting); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -212,13 +222,13 @@ public Mono getSetting(String name) { public Mono> getSettingWithResponse(String name) { try { return implClient.getSettingWithResponseAsync(vaultUrl, name) - .doOnRequest(ignored -> logger.verbose("Retrieving account setting - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved account setting - {}", name)) - .doOnError(error -> logger.warning("Failed retrieving account setting - {}", name, error)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving account setting - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved account setting - {}", name)) + .doOnError(error -> LOGGER.warning("Failed retrieving account setting - {}", name, error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(response -> new SimpleResponse<>(response, transformToKeyVaultSetting(response.getValue()))); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -247,9 +257,9 @@ public Mono> getSettingWithResponse(String name) { public Mono getSettings() { try { return implClient.getSettingsAsync(vaultUrl) - .doOnRequest(ignored -> logger.verbose("Listing account settings")) - .doOnSuccess(response -> logger.verbose("Listed account settings successfully")) - .doOnError(error -> logger.warning("Failed retrieving account settings", error)) + .doOnRequest(ignored -> LOGGER.verbose("Listing account settings")) + .doOnSuccess(response -> LOGGER.verbose("Listed account settings successfully")) + .doOnError(error -> LOGGER.warning("Failed retrieving account settings", error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(settingsListResult -> { List keyVaultSettings = new ArrayList<>(); @@ -260,7 +270,7 @@ public Mono getSettings() { return new KeyVaultGetSettingsResult(keyVaultSettings); }); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -296,9 +306,9 @@ public Mono getSettings() { public Mono> getSettingsWithResponse() { try { return implClient.getSettingsWithResponseAsync(vaultUrl) - .doOnRequest(ignored -> logger.verbose("Listing account settings")) - .doOnSuccess(response -> logger.verbose("Listed account settings successfully")) - .doOnError(error -> logger.warning("Failed retrieving account settings", error)) + .doOnRequest(ignored -> LOGGER.verbose("Listing account settings")) + .doOnSuccess(response -> LOGGER.verbose("Listed account settings successfully")) + .doOnError(error -> LOGGER.warning("Failed retrieving account settings", error)) .onErrorMap(KeyVaultAdministrationUtils::mapThrowableToKeyVaultAdministrationException) .map(response -> { List keyVaultSettings = new ArrayList<>(); @@ -309,7 +319,7 @@ public Mono> getSettingsWithResponse() { return new SimpleResponse<>(response, new KeyVaultGetSettingsResult(keyVaultSettings)); }); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClient.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClient.java index 56603303ccf41..647dce24f227a 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClient.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClient.java @@ -35,9 +35,9 @@ */ @ServiceClient(builder = KeyVaultSettingsClientBuilder.class) public final class KeyVaultSettingsClient { + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSettingsClient.class); private final String vaultUrl; private final KeyVaultSettingsClientImpl implClient; - private final ClientLogger logger = new ClientLogger(KeyVaultSettingsClient.class); /** * Initializes an instance of {@link KeyVaultSettingsClient} class. @@ -88,7 +88,7 @@ public KeyVaultSetting updateSetting(KeyVaultSetting setting) { return KeyVaultSettingsAsyncClient.transformToKeyVaultSetting( implClient.updateSetting(vaultUrl, setting.getName(), settingValue)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -137,7 +137,7 @@ public Response updateSettingWithResponse(KeyVaultSetting setti return new SimpleResponse<>(response, KeyVaultSettingsAsyncClient.transformToKeyVaultSetting(response.getValue())); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -167,7 +167,7 @@ public KeyVaultSetting getSetting(String name) { try { return KeyVaultSettingsAsyncClient.transformToKeyVaultSetting(this.implClient.getSetting(vaultUrl, name)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -204,7 +204,7 @@ public Response getSettingWithResponse(String name, Context con return new SimpleResponse<>(response, KeyVaultSettingsAsyncClient.transformToKeyVaultSetting(response.getValue())); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -241,7 +241,7 @@ public KeyVaultGetSettingsResult getSettings() { return new KeyVaultGetSettingsResult(keyVaultSettings); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -287,7 +287,7 @@ public Response getSettingsWithResponse(Context conte return new SimpleResponse<>(response, new KeyVaultGetSettingsResult(keyVaultSettings)); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilder.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilder.java index ace5212ae25a1..16aec92bfa726 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilder.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilder.java @@ -65,10 +65,10 @@ public final class KeyVaultSettingsClientBuilder implements HttpTrait, ConfigurationTrait { + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSettingsClientBuilder.class); private static final String AZURE_KEY_VAULT_RBAC = "azure-key-vault-administration.properties"; private static final String SDK_NAME = "name"; private static final String SDK_VERSION = "version"; - private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSettingsClientBuilder.class); // Please see here // for more information on Azure resource provider namespaces. diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/models/KeyVaultSetting.java b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/models/KeyVaultSetting.java index c3c83b05e7a48..44d30db07f04e 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/models/KeyVaultSetting.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/main/java/com/azure/security/keyvault/administration/models/KeyVaultSetting.java @@ -12,10 +12,11 @@ */ @Immutable public final class KeyVaultSetting { + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSetting.class); + private final String name; private final Object value; private final KeyVaultSettingType type; - private final ClientLogger logger = new ClientLogger(KeyVaultSetting.class); /** * Creates a new {@link KeyVaultSetting setting} with the with the specified details. @@ -25,7 +26,7 @@ public final class KeyVaultSetting { */ public KeyVaultSetting(String name, boolean value) { if (CoreUtils.isNullOrEmpty(name)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("The 'name' parameter cannot be null or empty")); } @@ -50,7 +51,7 @@ public String getName() { */ public boolean asBoolean() { if (type != KeyVaultSettingType.BOOLEAN) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new UnsupportedOperationException(String.format("Cannot get setting value as %s from setting value of " + "type %s", KeyVaultSettingType.BOOLEAN, this.getType()))); } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClientTest.java index 65d4653e53566..877b9ff93f579 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlAsyncClientTest.java @@ -26,8 +26,9 @@ public class KeyVaultAccessControlAsyncClientTest extends KeyVaultAccessControlC private KeyVaultAccessControlAsyncClient asyncClient; private void getClient(HttpClient httpClient, boolean forCleanup) { - asyncClient = getClientBuilder(buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildAsyncClient(); + asyncClient = getClientBuilder(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildAsyncClient(); } private HttpClient buildAsyncAssertingClient(HttpClient httpClient) { diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilderTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilderTest.java index 3d0fb953b011e..595a017fb66c8 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilderTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientBuilderTest.java @@ -34,7 +34,7 @@ public void setUp() { vaultUrl = "https://key-vault-url.vault.azure.net/"; roleDefinitionId = "RoleDefinitionId"; principalId = "PrincipalId"; - serviceVersion = KeyVaultAdministrationServiceVersion.V7_3; + serviceVersion = KeyVaultAdministrationServiceVersion.getLatest(); } @Test diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTest.java index 8b2eb79b439fa..fec28341d7085 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTest.java @@ -17,7 +17,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; - import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -27,8 +26,9 @@ public class KeyVaultAccessControlClientTest extends KeyVaultAccessControlClient private KeyVaultAccessControlClient client; private void getClient(HttpClient httpClient, boolean forCleanup) { - client = getClientBuilder(buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildClient(); + client = getClientBuilder(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildClient(); } private HttpClient buildSyncAssertingClient(HttpClient httpClient) { diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTestBase.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTestBase.java index ce468a1be1216..b49845b3dfb24 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAccessControlClientTestBase.java @@ -4,10 +4,6 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.HttpPipelinePolicy; -import com.azure.core.test.TestMode; import com.azure.core.util.Configuration; import com.azure.core.util.logging.ClientLogger; import com.azure.security.keyvault.administration.models.KeyVaultPermission; @@ -24,25 +20,15 @@ import static org.junit.jupiter.api.Assertions.assertTrue; public abstract class KeyVaultAccessControlClientTestBase extends KeyVaultAdministrationClientTestBase { - protected final String servicePrincipalId = - Configuration.getGlobalConfiguration().get("CLIENT_OBJECTID", "aed295e0-2ae7-4c2a-9abc-813f0ca233d3"); private static final ClientLogger LOGGER = new ClientLogger(KeyVaultAccessControlClientTestBase.class); - protected KeyVaultAccessControlClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { - List policies = getPolicies(); - - if (getTestMode() == TestMode.RECORD && !forCleanup) { - policies.add(interceptorManager.getRecordPolicy()); - } - - HttpPipeline httpPipeline = new HttpPipelineBuilder() - .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) - .build(); + protected final String servicePrincipalId = + Configuration.getGlobalConfiguration().get("CLIENT_OBJECTID", "aed295e0-2ae7-4c2a-9abc-813f0ca233d3"); + KeyVaultAccessControlClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { return new KeyVaultAccessControlClientBuilder() .vaultUrl(getEndpoint()) - .pipeline(httpPipeline); + .pipeline(getPipeline(httpClient, forCleanup)); } @Test diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAdministrationClientTestBase.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAdministrationClientTestBase.java index ac80ebfcb0426..825a221bc146f 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAdministrationClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultAdministrationClientTestBase.java @@ -4,6 +4,8 @@ import com.azure.core.credential.TokenCredential; import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; import com.azure.core.http.policy.ExponentialBackoff; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; @@ -15,6 +17,13 @@ import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.test.TestBase; import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.models.TestProxySanitizer; +import com.azure.core.test.models.TestProxySanitizerType; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.ClientSecretCredentialBuilder; import com.azure.security.keyvault.administration.implementation.KeyVaultCredentialPolicy; @@ -23,11 +32,12 @@ import java.time.Duration; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.stream.Stream; -public abstract class KeyVaultAdministrationClientTestBase extends TestBase { +public abstract class KeyVaultAdministrationClientTestBase extends TestProxyTestBase { private static final String SDK_NAME = "client_name"; private static final String SDK_VERSION = "client_version"; protected static final boolean IS_MANAGED_HSM_DEPLOYED = @@ -38,6 +48,7 @@ public abstract class KeyVaultAdministrationClientTestBase extends TestBase { protected void beforeTest() { super.beforeTest(); Assumptions.assumeTrue(IS_MANAGED_HSM_DEPLOYED || getTestMode() == TestMode.PLAYBACK); + KeyVaultCredentialPolicy.clearCache(); } @Override @@ -45,8 +56,8 @@ protected String getTestName() { return ""; } - protected List getPolicies() { - TokenCredential credential = null; + HttpPipeline getPipeline(HttpClient httpClient, boolean forCleanup) { + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -63,6 +74,19 @@ protected List getPolicies() { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + + if (interceptorManager.isRecordMode()) { + List customSanitizers = new ArrayList<>(); + customSanitizers.add(new TestProxySanitizer("token", null, "REDACTED", TestProxySanitizerType.BODY_KEY)); + interceptorManager.addSanitizers(customSanitizers); + } + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -75,17 +99,25 @@ protected List getPolicies() { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - return policies; + if (interceptorManager.isRecordMode() && !forCleanup) { + policies.add(interceptorManager.getRecordPolicy()); + } + + return new HttpPipelineBuilder() + .policies(policies.toArray(new HttpPipelinePolicy[0])) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) + .build(); } public String getEndpoint() { - final String endpoint = interceptorManager.isPlaybackMode() ? "http://localhost:8080" + final String endpoint = interceptorManager.isPlaybackMode() ? "https://localhost:8080" : Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT"); Objects.requireNonNull(endpoint); diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClientTest.java index bdb4e9690a377..d3f3b80e7bb98 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupAsyncClientTest.java @@ -32,8 +32,9 @@ public class KeyVaultBackupAsyncClientTest extends KeyVaultBackupClientTestBase private KeyVaultBackupAsyncClient asyncClient; private void getAsyncClient(HttpClient httpClient, boolean forCleanup) { - asyncClient = spy(getClientBuilder(buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildAsyncClient()); + asyncClient = spy(getClientBuilder(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildAsyncClient()); if (interceptorManager.isPlaybackMode()) { when(asyncClient.getDefaultPollingInterval()).thenReturn(Duration.ofMillis(10)); } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilderTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilderTest.java index 820cbf3e1cb82..69896337ea19d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilderTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientBuilderTest.java @@ -33,7 +33,7 @@ public void setUp() { vaultUrl = "https://key-vault-url.vault.azure.net/"; blobStorageUrl = "https://testaccount.blob.core.windows.net/backup"; sasToken = "someSasToken"; - serviceVersion = KeyVaultAdministrationServiceVersion.V7_3; + serviceVersion = KeyVaultAdministrationServiceVersion.getLatest(); } @Test diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTest.java index 69fcdcd309d16..357fde0891ec6 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTest.java @@ -34,8 +34,9 @@ public class KeyVaultBackupClientTest extends KeyVaultBackupClientTestBase { private KeyVaultBackupClient client; private void getClient(HttpClient httpClient, boolean forCleanup) { - client = spy(getClientBuilder(buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildClient()); + client = spy(getClientBuilder(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildClient()); if (interceptorManager.isPlaybackMode()) { when(client.getDefaultPollingInterval()).thenReturn(Duration.ofMillis(10)); } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTestBase.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTestBase.java index 3a21c42cf5921..42a4dcc3b70ab 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultBackupClientTestBase.java @@ -3,10 +3,6 @@ package com.azure.security.keyvault.administration; import com.azure.core.http.HttpClient; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.HttpPipelinePolicy; -import com.azure.core.test.TestMode; import com.azure.core.util.Configuration; import com.azure.storage.blob.BlobServiceClient; import com.azure.storage.blob.BlobServiceClientBuilder; @@ -19,28 +15,14 @@ import java.time.OffsetDateTime; import java.time.ZoneOffset; -import java.util.List; public abstract class KeyVaultBackupClientTestBase extends KeyVaultAdministrationClientTestBase { protected final String blobStorageUrl = IS_MANAGED_HSM_DEPLOYED ? getStorageEndpoint() + Configuration.getGlobalConfiguration().get("BLOB_CONTAINER_NAME") - : "https://azsdktests.blob.core.windows.net/backup"; - protected final String sasToken = IS_MANAGED_HSM_DEPLOYED ? generateSasToken() : "someSasToken"; + : "https://azkvrecordtestsprim.blob.core.windows.net/backup"; + protected final String sasToken = IS_MANAGED_HSM_DEPLOYED ? generateSasToken() : "REDACTED"; - protected HttpPipeline getPipeline(HttpClient httpClient, boolean forCleanup) { - List policies = getPolicies(); - - if (getTestMode() == TestMode.RECORD && !forCleanup) { - policies.add(interceptorManager.getRecordPolicy()); - } - - return new HttpPipelineBuilder() - .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) - .build(); - } - - protected KeyVaultBackupClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { + KeyVaultBackupClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { return new KeyVaultBackupClientBuilder() .vaultUrl(getEndpoint()) .pipeline(getPipeline(httpClient, forCleanup)); diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClientTest.java index 865a7adb77908..31631f4f9cdfb 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsAsyncClientTest.java @@ -24,8 +24,9 @@ private HttpClient buildAsyncAssertingClient(HttpClient httpClient) { } private void getClient(HttpClient httpClient, boolean forCleanup) { - asyncClient = getClientBuilder(buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildAsyncClient(); + asyncClient = getClientBuilder(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildAsyncClient(); } @ParameterizedTest(name = DISPLAY_NAME) diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilderTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilderTest.java new file mode 100644 index 0000000000000..8b6db5370ed10 --- /dev/null +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientBuilderTest.java @@ -0,0 +1,183 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.security.keyvault.administration; + +import com.azure.core.exception.HttpResponseException; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.policy.ExponentialBackoffOptions; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.RetryOptions; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.core.util.ClientOptions; +import com.azure.core.util.Header; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +import java.util.Collections; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class KeyVaultSettingsClientBuilderTest { + private String vaultUrl; + private KeyVaultAdministrationServiceVersion serviceVersion; + + @BeforeEach + public void setUp() { + vaultUrl = "https://key-vault-url.vault.azure.net/"; + serviceVersion = KeyVaultAdministrationServiceVersion.getLatest(); + } + + @Test + public void buildSyncClientTest() { + KeyVaultSettingsClient keyVaultSettingsClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .serviceVersion(serviceVersion) + .credential(new TestUtils.TestCredential()) + .buildClient(); + + assertNotNull(keyVaultSettingsClient); + assertEquals(KeyVaultSettingsClient.class.getSimpleName(), keyVaultSettingsClient.getClass().getSimpleName()); + } + + @Test + public void buildSyncClientUsingDefaultApiVersionTest() { + KeyVaultSettingsClient keyVaultSettingsClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .buildClient(); + + assertNotNull(keyVaultSettingsClient); + assertEquals(KeyVaultSettingsClient.class.getSimpleName(), keyVaultSettingsClient.getClass().getSimpleName()); + } + + @Test + public void buildAsyncClientTest() { + KeyVaultSettingsAsyncClient keyVaultAccessControlAsyncClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .serviceVersion(serviceVersion) + .credential(new TestUtils.TestCredential()) + .buildAsyncClient(); + + assertNotNull(keyVaultAccessControlAsyncClient); + assertEquals(KeyVaultSettingsAsyncClient.class.getSimpleName(), keyVaultAccessControlAsyncClient.getClass().getSimpleName()); + } + + @Test + public void buildAsyncClientUsingDefaultApiVersionTest() { + KeyVaultSettingsAsyncClient keyVaultAccessControlAsyncClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .buildAsyncClient(); + + assertNotNull(keyVaultAccessControlAsyncClient); + assertEquals(KeyVaultSettingsAsyncClient.class.getSimpleName(), keyVaultAccessControlAsyncClient.getClass().getSimpleName()); + } + + @Test + public void emptyVaultUrlThrowsIllegalArgumentException() { + assertThrows(IllegalArgumentException.class, () -> new KeyVaultSettingsClientBuilder().vaultUrl("")); + } + + @Test + public void nullCredentialThrowsNullPointerException() { + assertThrows(NullPointerException.class, () -> new KeyVaultSettingsClientBuilder().credential(null)); + } + + @Test + public void clientOptionsIsPreferredOverLogOptions() { + KeyVaultSettingsClient keyVaultSettingsClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .httpLogOptions(new HttpLogOptions().setApplicationId("anOldApplication")) + .clientOptions(new ClientOptions().setApplicationId("aNewApplication")) + .httpClient(httpRequest -> { + assertTrue(httpRequest.getHeaders().getValue("User-Agent").contains("aNewApplication")); + return Mono.error(new HttpResponseException(new MockHttpResponse(httpRequest, 400))); + }) + .buildClient(); + + assertThrows(RuntimeException.class, keyVaultSettingsClient::getSettings); + } + + @Test + public void applicationIdFallsBackToLogOptions() { + KeyVaultSettingsClient keyVaultSettingsClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .httpLogOptions(new HttpLogOptions().setApplicationId("anOldApplication")) + .httpClient(httpRequest -> { + assertTrue(httpRequest.getHeaders().getValue("User-Agent").contains("anOldApplication")); + return Mono.error(new HttpResponseException(new MockHttpResponse(httpRequest, 400))); + }) + .buildClient(); + + assertThrows(RuntimeException.class, keyVaultSettingsClient::getSettings); + } + + @Test + public void clientOptionHeadersAreAddedLast() { + KeyVaultSettingsClient keyVaultSettingsClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .clientOptions(new ClientOptions() + .setHeaders(Collections.singletonList(new Header("User-Agent", "custom")))) + .httpClient(httpRequest -> { + assertEquals("custom", httpRequest.getHeaders().getValue("User-Agent")); + return Mono.error(new HttpResponseException(new MockHttpResponse(httpRequest, 400))); + }) + .buildClient(); + + assertThrows(RuntimeException.class, keyVaultSettingsClient::getSettings); + } + + @Test + public void bothRetryOptionsAndRetryPolicySpecified() { + assertThrows(RuntimeException.class, () -> + new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .serviceVersion(serviceVersion) + .retryOptions(new RetryOptions(new ExponentialBackoffOptions())) + .retryPolicy(new RetryPolicy()) + .credential(new TestUtils.TestCredential()) + .buildClient()); + } + + // This tests the policy is in the right place because if it were added per retry, it would be after the credentials + // and auth would fail because we changed a signed header. + @Test + public void addPerCallPolicy() { + KeyVaultSettingsAsyncClient keyVaultAccessControlAsyncClient = new KeyVaultSettingsClientBuilder() + .vaultUrl(vaultUrl) + .credential(new TestUtils.TestCredential()) + .addPolicy(new TestUtils.PerCallPolicy()) + .addPolicy(new TestUtils.PerRetryPolicy()) + .buildAsyncClient(); + + HttpPipeline pipeline = keyVaultAccessControlAsyncClient.getHttpPipeline(); + + int retryPolicyPosition = -1, perCallPolicyPosition = -1, perRetryPolicyPosition = -1; + + for (int i = 0; i < pipeline.getPolicyCount(); i++) { + if (pipeline.getPolicy(i).getClass() == RetryPolicy.class) { + retryPolicyPosition = i; + } + + if (pipeline.getPolicy(i).getClass() == TestUtils.PerCallPolicy.class) { + perCallPolicyPosition = i; + } + + if (pipeline.getPolicy(i).getClass() == TestUtils.PerRetryPolicy.class) { + perRetryPolicyPosition = i; + } + } + + assertTrue(perCallPolicyPosition != -1); + assertTrue(perCallPolicyPosition < retryPolicyPosition); + assertTrue(retryPolicyPosition < perRetryPolicyPosition); + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTest.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTest.java index 05cf084a233f5..2bc3c925da6d8 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTest.java @@ -23,8 +23,9 @@ private HttpClient buildSyncAssertingClient(HttpClient httpClient) { } private void getClient(HttpClient httpClient, boolean forCleanup) { - client = getClientBuilder(buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient() - : httpClient), forCleanup).buildClient(); + client = getClientBuilder(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), forCleanup) + .buildClient(); } @ParameterizedTest(name = DISPLAY_NAME) diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTestBase.java b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTestBase.java index 14f1858e6c48e..c820cec442709 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/java/com/azure/security/keyvault/administration/KeyVaultSettingsClientTestBase.java @@ -3,37 +3,20 @@ package com.azure.security.keyvault.administration; import com.azure.core.http.HttpClient; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.HttpPipelinePolicy; -import com.azure.core.test.TestMode; import com.azure.core.util.logging.ClientLogger; import com.azure.security.keyvault.administration.models.KeyVaultSetting; import com.azure.security.keyvault.administration.models.KeyVaultSettingType; import org.junit.jupiter.api.Test; -import java.util.List; - import static org.junit.jupiter.api.Assertions.assertEquals; public abstract class KeyVaultSettingsClientTestBase extends KeyVaultAdministrationClientTestBase { private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSettingsClientTestBase.class); - protected KeyVaultSettingsClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { - List policies = getPolicies(); - - if (getTestMode() == TestMode.RECORD && !forCleanup) { - policies.add(interceptorManager.getRecordPolicy()); - } - - HttpPipeline httpPipeline = new HttpPipelineBuilder() - .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) - .build(); - + KeyVaultSettingsClientBuilder getClientBuilder(HttpClient httpClient, boolean forCleanup) { return new KeyVaultSettingsClientBuilder() .vaultUrl(getEndpoint()) - .pipeline(httpPipeline); + .pipeline(getPipeline(httpClient, forCleanup)); } @Test diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createExistingRoleAssignmentThrows[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createExistingRoleAssignmentThrows[1].json index 7d36625360d31..40ce57cad26b2 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createExistingRoleAssignmentThrows[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createExistingRoleAssignmentThrows[1].json @@ -1,74 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/5506a46f-c62b-49af-9f03-3fc36c366e53?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "31fcf1f6-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "38", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "006f261c-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5506a46f-c62b-49af-9f03-3fc36c366e53\",\"name\":\"5506a46f-c62b-49af-9f03-3fc36c366e53\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"5506a46f-c62b-49af-9f03-3fc36c366e53\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "da9d9b4f-9248-4458-b103-45238f1c1ae5" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "321434c4-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "39" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5", + "name": "da9d9b4f-9248-4458-b103-45238f1c1ae5", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "da9d9b4f-9248-4458-b103-45238f1c1ae5", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/c346007a-4692-4bd8-858b-0b7eff82b049?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/5d0e3e66-bac8-484e-9221-8045540c9093?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "35223daa-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "36" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/5d0e3e66-bac8-484e-9221-8045540c9093", + "name": "5d0e3e66-bac8-484e-9221-8045540c9093", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "39", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "037c0640-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/c346007a-4692-4bd8-858b-0b7eff82b049\",\"name\":\"c346007a-4692-4bd8-858b-0b7eff82b049\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5506a46f-c62b-49af-9f03-3fc36c366e53\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/c346007a-4692-4bd8-858b-0b7eff82b049?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "141", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "400", - "x-ms-request-id" : "06876668-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleAssignmentExists\",\"message\":\"The role assignment already exists. (Activity ID: 06876668-c3d2-11ed-8971-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "2" - }, - "Exception" : null - } ], - "variables" : [ "5506a46f-c62b-49af-9f03-3fc36c366e53", "c346007a-4692-4bd8-858b-0b7eff82b049" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/5d0e3e66-bac8-484e-9221-8045540c9093?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/da9d9b4f-9248-4458-b103-45238f1c1ae5", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "141", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "382e26e4-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "2" + }, + "ResponseBody": { + "error": { + "code": "RoleAssignmentExists", + "message": "The role assignment already exists. (Activity ID: 382e26e4-d8df-11ed-9bda-0022488d0014)" + } + } + } + ], + "Variables": { + "0": "da9d9b4f-9248-4458-b103-45238f1c1ae5", + "1": "5d0e3e66-bac8-484e-9221-8045540c9093" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createRoleAssignment[1].json index 6c7ac38a5db88..a7fcb6dae277b 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.createRoleAssignment[1].json @@ -1,52 +1,118 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/dda7d908-8b08-41c9-ac1b-cc255694851e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5ceea5a4-a02b-449f-84b3-3242e1e05927?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "38b499c2-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0703f958-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/dda7d908-8b08-41c9-ac1b-cc255694851e\",\"name\":\"dda7d908-8b08-41c9-ac1b-cc255694851e\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"dda7d908-8b08-41c9-ac1b-cc255694851e\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5ceea5a4-a02b-449f-84b3-3242e1e05927?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "5ceea5a4-a02b-449f-84b3-3242e1e05927" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "38df52ca-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "35" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5ceea5a4-a02b-449f-84b3-3242e1e05927", + "name": "5ceea5a4-a02b-449f-84b3-3242e1e05927", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "5ceea5a4-a02b-449f-84b3-3242e1e05927", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/e2e57ce5-fd1b-43d9-987a-1c431b1437fd?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "39", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0a10f4ac-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/e2e57ce5-fd1b-43d9-987a-1c431b1437fd\",\"name\":\"e2e57ce5-fd1b-43d9-987a-1c431b1437fd\",\"properties\":{\"principalId\":\"aed295e0-2ae7-4c2a-9abc-813f0ca233d3\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/dda7d908-8b08-41c9-ac1b-cc255694851e\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "dda7d908-8b08-41c9-ac1b-cc255694851e", "e2e57ce5-fd1b-43d9-987a-1c431b1437fd" ] + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/1c43ec80-6288-4a2f-bcaf-f860da5dd7d3?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5ceea5a4-a02b-449f-84b3-3242e1e05927", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "3becadf0-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "52" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/1c43ec80-6288-4a2f-bcaf-f860da5dd7d3", + "name": "1c43ec80-6288-4a2f-bcaf-f860da5dd7d3", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5ceea5a4-a02b-449f-84b3-3242e1e05927", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "5ceea5a4-a02b-449f-84b3-3242e1e05927", + "1": "1c43ec80-6288-4a2f-bcaf-f860da5dd7d3" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json index cb1ae1c69997b..28bc4cef7c697 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json @@ -1,25 +1,60 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/9be2712f-6a1b-458a-a96d-6781757d1be5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/3c7ad3a4-6b16-4798-914a-1a98e5d1930a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "278099e4-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "143", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "404", - "x-ms-request-id" : "f65a183a-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleAssignmentNotFound\",\"message\":\"Requested role assignment not found (Activity ID: f65a183a-c3d1-11ed-8971-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "1" - }, - "Exception" : null - } ], - "variables" : [ "9be2712f-6a1b-458a-a96d-6781757d1be5" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/3c7ad3a4-6b16-4798-914a-1a98e5d1930a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "279aace4-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "error": { + "code": "RoleAssignmentNotFound", + "message": "Requested role assignment not found (Activity ID: 279aace4-d8df-11ed-9bda-0022488d0014)" + } + } + } + ], + "Variables": { + "0": "3c7ad3a4-6b16-4798-914a-1a98e5d1930a" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json index 7f84ba9249591..72199df5dfbdb 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json @@ -1,25 +1,60 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/3b026fc1-4383-4075-b550-f76d85bc8932?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/ca345a1b-89d2-4f30-a9ec-3888d0707bb7?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "1fb9a822-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "143", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "404", - "x-ms-request-id" : "efa5417c-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleDefinitionNotFound\",\"message\":\"Requested role definition not found (Activity ID: efa5417c-c3d1-11ed-8971-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "3" - }, - "Exception" : null - } ], - "variables" : [ "3b026fc1-4383-4075-b550-f76d85bc8932" ] + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/ca345a1b-89d2-4f30-a9ec-3888d0707bb7?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "1fe7e9b2-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "error": { + "code": "RoleDefinitionNotFound", + "message": "Requested role definition not found (Activity ID: 1fe7e9b2-d8df-11ed-9bda-0022488d0014)" + } + } + } + ], + "Variables": { + "0": "ca345a1b-89d2-4f30-a9ec-3888d0707bb7" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleAssignment[1].json index ee1a52e296429..2e7312a0e9807 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleAssignment[1].json @@ -1,75 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/6a07ed2c-3d81-41c5-b911-fe9dadc08b85?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "3f410f96-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0d58630c-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/6a07ed2c-3d81-41c5-b911-fe9dadc08b85\",\"name\":\"6a07ed2c-3d81-41c5-b911-fe9dadc08b85\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"6a07ed2c-3d81-41c5-b911-fe9dadc08b85\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "cae7afb5-e456-47e6-aee2-384da674cc7c" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "3f5a79b8-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "44" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c", + "name": "cae7afb5-e456-47e6-aee2-384da674cc7c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "cae7afb5-e456-47e6-aee2-384da674cc7c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/9b1ee2c0-407c-4f02-a2e2-ddffe8901928?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/6d781287-2716-4cc5-8a0f-de6bf0338178?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "42680d00-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "38" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/6d781287-2716-4cc5-8a0f-de6bf0338178", + "name": "6d781287-2716-4cc5-8a0f-de6bf0338178", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "35", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "10656c7a-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/9b1ee2c0-407c-4f02-a2e2-ddffe8901928\",\"name\":\"9b1ee2c0-407c-4f02-a2e2-ddffe8901928\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/6a07ed2c-3d81-41c5-b911-fe9dadc08b85\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/9b1ee2c0-407c-4f02-a2e2-ddffe8901928?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "39", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1371da2a-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/9b1ee2c0-407c-4f02-a2e2-ddffe8901928\",\"name\":\"9b1ee2c0-407c-4f02-a2e2-ddffe8901928\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/6a07ed2c-3d81-41c5-b911-fe9dadc08b85\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "6a07ed2c-3d81-41c5-b911-fe9dadc08b85", "9b1ee2c0-407c-4f02-a2e2-ddffe8901928" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/6d781287-2716-4cc5-8a0f-de6bf0338178?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "45742448-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "79" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/6d781287-2716-4cc5-8a0f-de6bf0338178", + "name": "6d781287-2716-4cc5-8a0f-de6bf0338178", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/cae7afb5-e456-47e6-aee2-384da674cc7c", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "cae7afb5-e456-47e6-aee2-384da674cc7c", + "1": "6d781287-2716-4cc5-8a0f-de6bf0338178" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleDefinition[1].json index 68f99c11e4fbe..3e195fdedaec1 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.deleteRoleDefinition[1].json @@ -1,51 +1,115 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/91dbe94f-73f6-4aa8-a257-64664f28184e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/e76d73b6-18da-48a3-8ebc-1f646cd8bf69?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "2b4a7bbc-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "38", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f9e69f78-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/91dbe94f-73f6-4aa8-a257-64664f28184e\",\"name\":\"91dbe94f-73f6-4aa8-a257-64664f28184e\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"91dbe94f-73f6-4aa8-a257-64664f28184e\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/e76d73b6-18da-48a3-8ebc-1f646cd8bf69?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "2b6b3a78-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "41" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "name": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/91dbe94f-73f6-4aa8-a257-64664f28184e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "37", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fcf2fbc6-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/91dbe94f-73f6-4aa8-a257-64664f28184e\",\"name\":\"91dbe94f-73f6-4aa8-a257-64664f28184e\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"91dbe94f-73f6-4aa8-a257-64664f28184e\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "91dbe94f-73f6-4aa8-a257-64664f28184e" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/e76d73b6-18da-48a3-8ebc-1f646cd8bf69?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "2e7710b6-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "39" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "name": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "e76d73b6-18da-48a3-8ebc-1f646cd8bf69" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleAssignment[1].json index e211494418950..81bddfc06e405 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleAssignment[1].json @@ -1,76 +1,154 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/c6867c68-a86c-44e8-b50d-11a6e1c5e787?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "200e6cfe-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "77", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "efd66b62-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/c6867c68-a86c-44e8-b50d-11a6e1c5e787\",\"name\":\"c6867c68-a86c-44e8-b50d-11a6e1c5e787\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"c6867c68-a86c-44e8-b50d-11a6e1c5e787\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "eae47faa-356b-4856-a390-9134685ab49c" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "202b64a8-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "80" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c", + "name": "eae47faa-356b-4856-a390-9134685ab49c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "eae47faa-356b-4856-a390-9134685ab49c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/0b69323d-2ce6-4c52-b99d-d34c4c909a12?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/d263f753-38c0-49b7-814c-be8814af800f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "234580b0-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "42" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/d263f753-38c0-49b7-814c-be8814af800f", + "name": "d263f753-38c0-49b7-814c-be8814af800f", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "40", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f2f113b0-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/0b69323d-2ce6-4c52-b99d-d34c4c909a12\",\"name\":\"0b69323d-2ce6-4c52-b99d-d34c4c909a12\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/c6867c68-a86c-44e8-b50d-11a6e1c5e787\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/0b69323d-2ce6-4c52-b99d-d34c4c909a12?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f5fe0004-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/0b69323d-2ce6-4c52-b99d-d34c4c909a12\",\"name\":\"0b69323d-2ce6-4c52-b99d-d34c4c909a12\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/c6867c68-a86c-44e8-b50d-11a6e1c5e787\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "c6867c68-a86c-44e8-b50d-11a6e1c5e787", "0b69323d-2ce6-4c52-b99d-d34c4c909a12" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/d263f753-38c0-49b7-814c-be8814af800f?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "2654f420-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/d263f753-38c0-49b7-814c-be8814af800f", + "name": "d263f753-38c0-49b7-814c-be8814af800f", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/eae47faa-356b-4856-a390-9134685ab49c", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "eae47faa-356b-4856-a390-9134685ab49c", + "1": "d263f753-38c0-49b7-814c-be8814af800f" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleDefinition[1].json index e7622eeb61795..66a7b73707275 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.getRoleDefinition[1].json @@ -1,52 +1,116 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/26deced8-e995-4549-a1a4-79e1494570f6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b4778775-edb1-4208-b717-d16e925a1077?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "2e8d5e5c-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "38", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd232b3e-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/26deced8-e995-4549-a1a4-79e1494570f6\",\"name\":\"26deced8-e995-4549-a1a4-79e1494570f6\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"26deced8-e995-4549-a1a4-79e1494570f6\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b4778775-edb1-4208-b717-d16e925a1077?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "b4778775-edb1-4208-b717-d16e925a1077" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "2eb2c6f6-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "38" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b4778775-edb1-4208-b717-d16e925a1077", + "name": "b4778775-edb1-4208-b717-d16e925a1077", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "b4778775-edb1-4208-b717-d16e925a1077", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/26deced8-e995-4549-a1a4-79e1494570f6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "002f8e30-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/26deced8-e995-4549-a1a4-79e1494570f6\",\"name\":\"26deced8-e995-4549-a1a4-79e1494570f6\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"26deced8-e995-4549-a1a4-79e1494570f6\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "26deced8-e995-4549-a1a4-79e1494570f6" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b4778775-edb1-4208-b717-d16e925a1077?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "31bfcf38-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b4778775-edb1-4208-b717-d16e925a1077", + "name": "b4778775-edb1-4208-b717-d16e925a1077", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "b4778775-edb1-4208-b717-d16e925a1077", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "b4778775-edb1-4208-b717-d16e925a1077" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleAssignments[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleAssignments[1].json index 7da030fb7cfc5..224525e2dfccf 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleAssignments[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleAssignments[1].json @@ -1,28 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "2b118c6c-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "1607", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f9c5825c-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/f9b097f9-c708-4220-263f-eb273bf334aa\",\"name\":\"f9b097f9-c708-4220-263f-eb273bf334aa\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/8654e177-2a84-4f66-391a-75048677b260\",\"name\":\"8654e177-2a84-4f66-391a-75048677b260\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"name\":\"6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"name\":\"4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1607", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "2b384c80-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "value": [ + { + "id": "/providers/Microsoft.Authorization/roleAssignments/e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "name": "e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "properties": { + "principalId": "f84ae8f9-c979-4750-a2fe-b350a00bebff", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/6d82eec1-bfa7-4958-90e2-da219874938e", + "name": "6d82eec1-bfa7-4958-90e2-da219874938e", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "name": "fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/03041c0b-b225-4ea7-8f34-3153b8dd188d", + "name": "03041c0b-b225-4ea7-8f34-3153b8dd188d", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleDefinitions[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleDefinitions[1].json index 04f34bc5aa564..29f5a7e1f307d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleDefinitions[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.listRoleDefinitions[1].json @@ -1,28 +1,299 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "388a974e-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "6857", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "06d55b48-c3d2-11ed-8971-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"name\":\"7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Backup User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17\",\"name\":\"33413926-3206-4cdd-b39a-83574fe37a17\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Encryption User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625c\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/release/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Release User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"name\":\"2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Auditor\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"name\":\"4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Policy Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625b\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/write/action\",\"Microsoft.KeyVault/managedHsm/keys/delete\",\"Microsoft.KeyVault/managedHsm/keys/create\",\"Microsoft.KeyVault/managedHsm/keys/rotate/action\",\"Microsoft.KeyVault/managedHsm/keys/import/action\",\"Microsoft.KeyVault/managedHsm/keys/release/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\",\"Microsoft.KeyVault/managedHsm/keys/restore/action\",\"Microsoft.KeyVault/managedHsm/keys/encrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/decrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\",\"Microsoft.KeyVault/managedHsm/keys/sign/action\",\"Microsoft.KeyVault/managedHsm/keys/verify/action\",\"Microsoft.KeyVault/managedHsm/keys/derive/action\",\"Microsoft.KeyVault/managedHsm/rng/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"name\":\"515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action\",\"Microsoft.KeyVault/managedHsm/keys/export/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Officer\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"name\":\"a290e904-7015-4bba-90c8-60543313cdb4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read\",\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/restore/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/restore/status/action\",\"Microsoft.KeyVault/managedHsm/settings/read/action\",\"Microsoft.KeyVault/managedHsm/settings/write/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "6857", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "38a1ea02-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "value": [ + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "name": "7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Backup User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17", + "name": "33413926-3206-4cdd-b39a-83574fe37a17", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Encryption User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c", + "name": "21dbd100-6940-42c2-9190-5d6cb909625c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/release/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Release User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "name": "2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Auditor", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "name": "4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Policy Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "name": "21dbd100-6940-42c2-9190-5d6cb909625b", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/write/action", + "Microsoft.KeyVault/managedHsm/keys/delete", + "Microsoft.KeyVault/managedHsm/keys/create", + "Microsoft.KeyVault/managedHsm/keys/rotate/action", + "Microsoft.KeyVault/managedHsm/keys/import/action", + "Microsoft.KeyVault/managedHsm/keys/release/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action", + "Microsoft.KeyVault/managedHsm/keys/restore/action", + "Microsoft.KeyVault/managedHsm/keys/encrypt/action", + "Microsoft.KeyVault/managedHsm/keys/decrypt/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action", + "Microsoft.KeyVault/managedHsm/keys/sign/action", + "Microsoft.KeyVault/managedHsm/keys/verify/action", + "Microsoft.KeyVault/managedHsm/keys/derive/action", + "Microsoft.KeyVault/managedHsm/rng/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "name": "515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action", + "Microsoft.KeyVault/managedHsm/keys/export/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Officer", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "name": "a290e904-7015-4bba-90c8-60543313cdb4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/read", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/action", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/read", + "Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read", + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/restore/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/restore/status/action", + "Microsoft.KeyVault/managedHsm/settings/read/action", + "Microsoft.KeyVault/managedHsm/settings/write/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.setRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.setRoleDefinition[1].json index 27ac06dc5aff0..0066a1500834a 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.setRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlAsyncClientTest.setRoleDefinition[1].json @@ -1,28 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/42cbfb96-0251-4e65-a3c5-963cbb64e824?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/1955f2fa-a00d-46bc-aa43-ea56c9766ea2?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "27acab06-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "38", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f67f035c-c3d1-11ed-8971-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/42cbfb96-0251-4e65-a3c5-963cbb64e824\",\"name\":\"42cbfb96-0251-4e65-a3c5-963cbb64e824\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"42cbfb96-0251-4e65-a3c5-963cbb64e824\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "42cbfb96-0251-4e65-a3c5-963cbb64e824" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/1955f2fa-a00d-46bc-aa43-ea56c9766ea2?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "1955f2fa-a00d-46bc-aa43-ea56c9766ea2" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "27cb7fcc-d8df-11ed-9bda-0022488d0014", + "x-ms-server-latency": "64" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/1955f2fa-a00d-46bc-aa43-ea56c9766ea2", + "name": "1955f2fa-a00d-46bc-aa43-ea56c9766ea2", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "1955f2fa-a00d-46bc-aa43-ea56c9766ea2", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "1955f2fa-a00d-46bc-aa43-ea56c9766ea2" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createExistingRoleAssignmentThrows[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createExistingRoleAssignmentThrows[1].json index c30de58256961..ad394316aacef 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createExistingRoleAssignmentThrows[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createExistingRoleAssignmentThrows[1].json @@ -1,74 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/96e709d5-324d-42b2-a0c9-499920c04e96?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "4931a902-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "34", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "25298bdc-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/96e709d5-324d-42b2-a0c9-499920c04e96\",\"name\":\"96e709d5-324d-42b2-a0c9-499920c04e96\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"96e709d5-324d-42b2-a0c9-499920c04e96\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "494cec58-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "36" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "name": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/a1901695-1f76-4be1-803d-e73d7bdac3a1?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/1d8822ec-28c6-4e0c-881d-14e4ea4730e5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "495c5a94-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "41" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/1d8822ec-28c6-4e0c-881d-14e4ea4730e5", + "name": "1d8822ec-28c6-4e0c-881d-14e4ea4730e5", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2538dc5e-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/a1901695-1f76-4be1-803d-e73d7bdac3a1\",\"name\":\"a1901695-1f76-4be1-803d-e73d7bdac3a1\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/96e709d5-324d-42b2-a0c9-499920c04e96\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/a1901695-1f76-4be1-803d-e73d7bdac3a1?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "141", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "400", - "x-ms-request-id" : "25486ade-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleAssignmentExists\",\"message\":\"The role assignment already exists. (Activity ID: 25486ade-c3d2-11ed-9dd8-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "1" - }, - "Exception" : null - } ], - "variables" : [ "96e709d5-324d-42b2-a0c9-499920c04e96", "a1901695-1f76-4be1-803d-e73d7bdac3a1" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/1d8822ec-28c6-4e0c-881d-14e4ea4730e5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "141", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "496cc744-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "error": { + "code": "RoleAssignmentExists", + "message": "The role assignment already exists. (Activity ID: 496cc744-d8df-11ed-bed5-000d3a602e9a)" + } + } + } + ], + "Variables": { + "0": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "1": "1d8822ec-28c6-4e0c-881d-14e4ea4730e5" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createRoleAssignment[1].json index 29cf9aea58660..a2556af9b7912 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.createRoleAssignment[1].json @@ -1,52 +1,118 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/b1da1732-64cf-4f95-bb20-f741f9d63cde?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5b22a0a7-208a-4d50-b670-17112551f4ca?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "4a0ec33c-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "25bc47ba-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b1da1732-64cf-4f95-bb20-f741f9d63cde\",\"name\":\"b1da1732-64cf-4f95-bb20-f741f9d63cde\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"b1da1732-64cf-4f95-bb20-f741f9d63cde\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5b22a0a7-208a-4d50-b670-17112551f4ca?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "5b22a0a7-208a-4d50-b670-17112551f4ca" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4a2af26e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "43" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5b22a0a7-208a-4d50-b670-17112551f4ca", + "name": "5b22a0a7-208a-4d50-b670-17112551f4ca", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "5b22a0a7-208a-4d50-b670-17112551f4ca", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/6e76b383-c263-4531-8314-96fce707a13f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "25cb840a-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/6e76b383-c263-4531-8314-96fce707a13f\",\"name\":\"6e76b383-c263-4531-8314-96fce707a13f\",\"properties\":{\"principalId\":\"aed295e0-2ae7-4c2a-9abc-813f0ca233d3\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b1da1732-64cf-4f95-bb20-f741f9d63cde\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "b1da1732-64cf-4f95-bb20-f741f9d63cde", "6e76b383-c263-4531-8314-96fce707a13f" ] + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/910dac10-d55f-4d9c-a95a-4af5a3279511?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5b22a0a7-208a-4d50-b670-17112551f4ca", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4a3f32ce-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "38" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/910dac10-d55f-4d9c-a95a-4af5a3279511", + "name": "910dac10-d55f-4d9c-a95a-4af5a3279511", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5b22a0a7-208a-4d50-b670-17112551f4ca", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "5b22a0a7-208a-4d50-b670-17112551f4ca", + "1": "910dac10-d55f-4d9c-a95a-4af5a3279511" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json index 0b1f58a54bb2e..91f4fff0a8e41 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleAssignmentDoesNotThrow[1].json @@ -1,25 +1,60 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/89431d93-fbf2-4b97-ac7d-aacd8c0745a8?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/d0003e1a-2609-476b-9517-18a590b3919d?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "47b9530e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "143", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "404", - "x-ms-request-id" : "24064a06-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleAssignmentNotFound\",\"message\":\"Requested role assignment not found (Activity ID: 24064a06-c3d2-11ed-9dd8-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "1" - }, - "Exception" : null - } ], - "variables" : [ "89431d93-fbf2-4b97-ac7d-aacd8c0745a8" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/d0003e1a-2609-476b-9517-18a590b3919d?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "47dcbfd8-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "2" + }, + "ResponseBody": { + "error": { + "code": "RoleAssignmentNotFound", + "message": "Requested role assignment not found (Activity ID: 47dcbfd8-d8df-11ed-bed5-000d3a602e9a)" + } + } + } + ], + "Variables": { + "0": "d0003e1a-2609-476b-9517-18a590b3919d" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json index 196b94019e2de..9a2c50c367d55 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteNonExistingRoleDefinitionDoesNotThrow[1].json @@ -1,25 +1,60 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/dacff36d-7cb1-43d1-b185-02300b2bd9b2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/9323b36a-ccb7-46ab-83ab-9c86a7688d13?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "46b52e1a-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "2" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "143", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "404", - "x-ms-request-id" : "2351a2f4-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"error\":{\"code\":\"RoleDefinitionNotFound\",\"message\":\"Requested role definition not found (Activity ID: 2351a2f4-c3d2-11ed-9dd8-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "1" - }, - "Exception" : null - } ], - "variables" : [ "dacff36d-7cb1-43d1-b185-02300b2bd9b2" ] + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/9323b36a-ccb7-46ab-83ab-9c86a7688d13?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "46e41d88-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "55" + }, + "ResponseBody": { + "error": { + "code": "RoleDefinitionNotFound", + "message": "Requested role definition not found (Activity ID: 46e41d88-d8df-11ed-bed5-000d3a602e9a)" + } + } + } + ], + "Variables": { + "0": "9323b36a-ccb7-46ab-83ab-9c86a7688d13" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleAssignment[1].json index 1f4a668c6b183..31e0d503da298 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleAssignment[1].json @@ -1,75 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/0611d81e-7f36-42aa-bc7e-2a0684c5c2c7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "4a7d40f0-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "35", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2616c51e-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/0611d81e-7f36-42aa-bc7e-2a0684c5c2c7\",\"name\":\"0611d81e-7f36-42aa-bc7e-2a0684c5c2c7\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"0611d81e-7f36-42aa-bc7e-2a0684c5c2c7\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "2d962b8a-16b6-49cd-bcc8-d44ff277e324" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4aa46d7e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "40" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "name": "2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/17400220-299a-4ac5-9c29-01e4710a9c45?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4ab83994-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "43" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/17400220-299a-4ac5-9c29-01e4710a9c45", + "name": "17400220-299a-4ac5-9c29-01e4710a9c45", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "35", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "262608a8-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b\",\"name\":\"d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/0611d81e-7f36-42aa-bc7e-2a0684c5c2c7\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "36", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "26353de6-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b\",\"name\":\"d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/0611d81e-7f36-42aa-bc7e-2a0684c5c2c7\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "0611d81e-7f36-42aa-bc7e-2a0684c5c2c7", "d3c74b0d-6e2e-4442-ad8d-dcc9e0bec93b" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/17400220-299a-4ac5-9c29-01e4710a9c45?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4acc5e38-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "34" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/17400220-299a-4ac5-9c29-01e4710a9c45", + "name": "17400220-299a-4ac5-9c29-01e4710a9c45", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "2d962b8a-16b6-49cd-bcc8-d44ff277e324", + "1": "17400220-299a-4ac5-9c29-01e4710a9c45" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleDefinition[1].json index 9649f974465b2..78b819e7db830 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.deleteRoleDefinition[1].json @@ -1,51 +1,115 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/d082d18b-94bf-43ad-a46b-e9d8fdc25af7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b8da4a7f-c047-4098-b3a9-771acc8fd935?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "48873760-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "37", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "249cb34c-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"name\":\"d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b8da4a7f-c047-4098-b3a9-771acc8fd935?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "b8da4a7f-c047-4098-b3a9-771acc8fd935" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "48a2408c-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "37" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b8da4a7f-c047-4098-b3a9-771acc8fd935", + "name": "b8da4a7f-c047-4098-b3a9-771acc8fd935", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "b8da4a7f-c047-4098-b3a9-771acc8fd935", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/d082d18b-94bf-43ad-a46b-e9d8fdc25af7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "39", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "24ac3ed4-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"name\":\"d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"d082d18b-94bf-43ad-a46b-e9d8fdc25af7\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "d082d18b-94bf-43ad-a46b-e9d8fdc25af7" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/b8da4a7f-c047-4098-b3a9-771acc8fd935?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "48b5c5c6-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "36" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/b8da4a7f-c047-4098-b3a9-771acc8fd935", + "name": "b8da4a7f-c047-4098-b3a9-771acc8fd935", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "b8da4a7f-c047-4098-b3a9-771acc8fd935", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "b8da4a7f-c047-4098-b3a9-771acc8fd935" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleAssignment[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleAssignment[1].json index 7270b9b8f636a..75d8cec3932e4 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleAssignment[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleAssignment[1].json @@ -1,76 +1,154 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/627c4ab5-8d60-4aa0-ad90-0822d50a6be5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "47109f5c-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "39", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2388e9b2-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/627c4ab5-8d60-4aa0-ad90-0822d50a6be5\",\"name\":\"627c4ab5-8d60-4aa0-ad90-0822d50a6be5\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"627c4ab5-8d60-4aa0-ad90-0822d50a6be5\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "5f9e580e-e079-4220-a89a-fcd4c2dbc268" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4738439a-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "81" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "name": "5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/a9edf5b7-b959-4217-bd77-45a4233975d6?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "196", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4752a42e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "33" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/a9edf5b7-b959-4217-bd77-45a4233975d6", + "name": "a9edf5b7-b959-4217-bd77-45a4233975d6", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "35", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "239fb1ba-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2\",\"name\":\"2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/627c4ab5-8d60-4aa0-ad90-0822d50a6be5\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments/2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "398", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "23b07612-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2\",\"name\":\"2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/627c4ab5-8d60-4aa0-ad90-0822d50a6be5\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}" - }, - "Exception" : null - } ], - "variables" : [ "627c4ab5-8d60-4aa0-ad90-0822d50a6be5", "2fcb2b6c-8290-4de6-974f-b8d7d6ecdce2" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments/a9edf5b7-b959-4217-bd77-45a4233975d6?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "398", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "476598c2-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Authorization/roleAssignments/a9edf5b7-b959-4217-bd77-45a4233975d6", + "name": "a9edf5b7-b959-4217-bd77-45a4233975d6", + "properties": { + "principalId": "aed295e0-2ae7-4c2a-9abc-813f0ca233d3", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + } + ], + "Variables": { + "0": "5f9e580e-e079-4220-a89a-fcd4c2dbc268", + "1": "a9edf5b7-b959-4217-bd77-45a4233975d6" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleDefinition[1].json index 2786992164fbe..3d56e1b3ab4e0 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.getRoleDefinition[1].json @@ -1,52 +1,116 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/c66d9f62-45f1-4248-9eef-54da55ae6683?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "48ce75e4-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "37", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "24d3aabe-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/c66d9f62-45f1-4248-9eef-54da55ae6683\",\"name\":\"c66d9f62-45f1-4248-9eef-54da55ae6683\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"c66d9f62-45f1-4248-9eef-54da55ae6683\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "48eb0d80-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "35" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "name": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/c66d9f62-45f1-4248-9eef-54da55ae6683?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "24e3da60-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/c66d9f62-45f1-4248-9eef-54da55ae6683\",\"name\":\"c66d9f62-45f1-4248-9eef-54da55ae6683\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"c66d9f62-45f1-4248-9eef-54da55ae6683\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "c66d9f62-45f1-4248-9eef-54da55ae6683" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "48fe53e0-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "name": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleAssignments[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleAssignments[1].json index 81bc8a55e79b4..f64cdc3a1ca0b 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleAssignments[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleAssignments[1].json @@ -1,52 +1,170 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "484271d4-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "1607", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "247613a4-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/f9b097f9-c708-4220-263f-eb273bf334aa\",\"name\":\"f9b097f9-c708-4220-263f-eb273bf334aa\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/8654e177-2a84-4f66-391a-75048677b260\",\"name\":\"8654e177-2a84-4f66-391a-75048677b260\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"name\":\"6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"name\":\"4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}]}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1607", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "4865df16-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "value": [ + { + "id": "/providers/Microsoft.Authorization/roleAssignments/e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "name": "e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "properties": { + "principalId": "f84ae8f9-c979-4750-a2fe-b350a00bebff", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/6d82eec1-bfa7-4958-90e2-da219874938e", + "name": "6d82eec1-bfa7-4958-90e2-da219874938e", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "name": "fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/03041c0b-b225-4ea7-8f34-3153b8dd188d", + "name": "03041c0b-b225-4ea7-8f34-3153b8dd188d", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "1607", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "24811e8e-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/f9b097f9-c708-4220-263f-eb273bf334aa\",\"name\":\"f9b097f9-c708-4220-263f-eb273bf334aa\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/8654e177-2a84-4f66-391a-75048677b260\",\"name\":\"8654e177-2a84-4f66-391a-75048677b260\",\"properties\":{\"principalId\":\"f84ae8f9-c979-4750-a2fe-b350a00bebff\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"name\":\"6f108758-0e95-4937-ae78-b9bc9abcf59b\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"},{\"id\":\"/providers/Microsoft.Authorization/roleAssignments/4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"name\":\"4eed4a61-c62a-4b95-83bb-642aa912b1b0\",\"properties\":{\"principalId\":\"b9b44eef-e9a0-4cda-8bcc-adb2d6a4011c\",\"roleDefinitionId\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"scope\":\"/\"},\"type\":\"Microsoft.Authorization/roleAssignments\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleAssignments?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1607", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "48739d04-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "value": [ + { + "id": "/providers/Microsoft.Authorization/roleAssignments/e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "name": "e0c78b90-ecb6-0a6e-99ca-4778e5cad0aa", + "properties": { + "principalId": "f84ae8f9-c979-4750-a2fe-b350a00bebff", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/6d82eec1-bfa7-4958-90e2-da219874938e", + "name": "6d82eec1-bfa7-4958-90e2-da219874938e", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "name": "fea49c00-4aad-0c85-1e5c-be79d2e63f67", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + }, + { + "id": "/providers/Microsoft.Authorization/roleAssignments/03041c0b-b225-4ea7-8f34-3153b8dd188d", + "name": "03041c0b-b225-4ea7-8f34-3153b8dd188d", + "properties": { + "principalId": "361e6952-7ae0-4197-971f-20d2ef1b0ca9", + "roleDefinitionId": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "scope": "/" + }, + "type": "Microsoft.Authorization/roleAssignments" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleDefinitions[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleDefinitions[1].json index c49d6fd59c143..d0b64f68d49b9 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleDefinitions[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.listRoleDefinitions[1].json @@ -1,52 +1,624 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "49a67c1e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "6857", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2592cd18-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"name\":\"7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Backup User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17\",\"name\":\"33413926-3206-4cdd-b39a-83574fe37a17\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Encryption User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625c\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/release/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Release User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"name\":\"2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Auditor\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"name\":\"4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Policy Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625b\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/write/action\",\"Microsoft.KeyVault/managedHsm/keys/delete\",\"Microsoft.KeyVault/managedHsm/keys/create\",\"Microsoft.KeyVault/managedHsm/keys/rotate/action\",\"Microsoft.KeyVault/managedHsm/keys/import/action\",\"Microsoft.KeyVault/managedHsm/keys/release/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\",\"Microsoft.KeyVault/managedHsm/keys/restore/action\",\"Microsoft.KeyVault/managedHsm/keys/encrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/decrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\",\"Microsoft.KeyVault/managedHsm/keys/sign/action\",\"Microsoft.KeyVault/managedHsm/keys/verify/action\",\"Microsoft.KeyVault/managedHsm/keys/derive/action\",\"Microsoft.KeyVault/managedHsm/rng/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"name\":\"515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action\",\"Microsoft.KeyVault/managedHsm/keys/export/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Officer\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"name\":\"a290e904-7015-4bba-90c8-60543313cdb4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read\",\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/restore/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/restore/status/action\",\"Microsoft.KeyVault/managedHsm/settings/read/action\",\"Microsoft.KeyVault/managedHsm/settings/write/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}]}" + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7565", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "49eba41a-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "value": [ + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "name": "7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Backup User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17", + "name": "33413926-3206-4cdd-b39a-83574fe37a17", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Encryption User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c", + "name": "21dbd100-6940-42c2-9190-5d6cb909625c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/release/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Release User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "name": "2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Auditor", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "name": "4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Policy Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "name": "21dbd100-6940-42c2-9190-5d6cb909625b", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/write/action", + "Microsoft.KeyVault/managedHsm/keys/delete", + "Microsoft.KeyVault/managedHsm/keys/create", + "Microsoft.KeyVault/managedHsm/keys/rotate/action", + "Microsoft.KeyVault/managedHsm/keys/import/action", + "Microsoft.KeyVault/managedHsm/keys/release/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action", + "Microsoft.KeyVault/managedHsm/keys/restore/action", + "Microsoft.KeyVault/managedHsm/keys/encrypt/action", + "Microsoft.KeyVault/managedHsm/keys/decrypt/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action", + "Microsoft.KeyVault/managedHsm/keys/sign/action", + "Microsoft.KeyVault/managedHsm/keys/verify/action", + "Microsoft.KeyVault/managedHsm/keys/derive/action", + "Microsoft.KeyVault/managedHsm/rng/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "name": "515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action", + "Microsoft.KeyVault/managedHsm/keys/export/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Officer", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "name": "a290e904-7015-4bba-90c8-60543313cdb4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/read", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/action", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/read", + "Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read", + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/restore/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/restore/status/action", + "Microsoft.KeyVault/managedHsm/settings/read/action", + "Microsoft.KeyVault/managedHsm/settings/write/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "name": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "name": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "content-length" : "6857", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "259ded10-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"value\":[{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"name\":\"7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Backup User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17\",\"name\":\"33413926-3206-4cdd-b39a-83574fe37a17\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Encryption User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625c\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/keys/release/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Service Release User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"name\":\"2c18b078-7c48-4d3a-af88-5a3a1b3f82b3\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Auditor\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"name\":\"4bd23610-cdcf-4971-bdee-bdc562cc28e4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Policy Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b\",\"name\":\"21dbd100-6940-42c2-9190-5d6cb909625b\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/keys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/write/action\",\"Microsoft.KeyVault/managedHsm/keys/delete\",\"Microsoft.KeyVault/managedHsm/keys/create\",\"Microsoft.KeyVault/managedHsm/keys/rotate/action\",\"Microsoft.KeyVault/managedHsm/keys/import/action\",\"Microsoft.KeyVault/managedHsm/keys/release/action\",\"Microsoft.KeyVault/managedHsm/keys/backup/action\",\"Microsoft.KeyVault/managedHsm/keys/restore/action\",\"Microsoft.KeyVault/managedHsm/keys/encrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/decrypt/action\",\"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\"Microsoft.KeyVault/managedHsm/keys/unwrap/action\",\"Microsoft.KeyVault/managedHsm/keys/sign/action\",\"Microsoft.KeyVault/managedHsm/keys/verify/action\",\"Microsoft.KeyVault/managedHsm/keys/derive/action\",\"Microsoft.KeyVault/managedHsm/rng/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto User\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"name\":\"515eb02d-2335-4d2d-92f2-b1cbdf9c3778\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete\",\"Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action\",\"Microsoft.KeyVault/managedHsm/keys/export/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Crypto Officer\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"},{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4\",\"name\":\"a290e904-7015-4bba-90c8-60543313cdb4\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[{\"actions\":[],\"dataActions\":[\"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/download/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/action\",\"Microsoft.KeyVault/managedHsm/securitydomain/upload/read\",\"Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read\",\"Microsoft.KeyVault/managedHsm/backup/start/action\",\"Microsoft.KeyVault/managedHsm/restore/start/action\",\"Microsoft.KeyVault/managedHsm/backup/status/action\",\"Microsoft.KeyVault/managedHsm/restore/status/action\",\"Microsoft.KeyVault/managedHsm/settings/read/action\",\"Microsoft.KeyVault/managedHsm/settings/write/action\"],\"notActions\":[],\"notDataActions\":[]}],\"roleName\":\"Managed HSM Administrator\",\"type\":\"AKVBuiltInRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7565", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "49fa4506-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "value": [ + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "name": "7b127d3c-77bd-4e3e-bbe0-dbb8971fa7f8", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Backup User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/33413926-3206-4cdd-b39a-83574fe37a17", + "name": "33413926-3206-4cdd-b39a-83574fe37a17", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Encryption User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625c", + "name": "21dbd100-6940-42c2-9190-5d6cb909625c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/keys/release/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Service Release User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "name": "2c18b078-7c48-4d3a-af88-5a3a1b3f82b3", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Auditor", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "name": "4bd23610-cdcf-4971-bdee-bdc562cc28e4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Policy Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/21dbd100-6940-42c2-9190-5d6cb909625b", + "name": "21dbd100-6940-42c2-9190-5d6cb909625b", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/keys/read/action", + "Microsoft.KeyVault/managedHsm/keys/write/action", + "Microsoft.KeyVault/managedHsm/keys/delete", + "Microsoft.KeyVault/managedHsm/keys/create", + "Microsoft.KeyVault/managedHsm/keys/rotate/action", + "Microsoft.KeyVault/managedHsm/keys/import/action", + "Microsoft.KeyVault/managedHsm/keys/release/action", + "Microsoft.KeyVault/managedHsm/keys/backup/action", + "Microsoft.KeyVault/managedHsm/keys/restore/action", + "Microsoft.KeyVault/managedHsm/keys/encrypt/action", + "Microsoft.KeyVault/managedHsm/keys/decrypt/action", + "Microsoft.KeyVault/managedHsm/keys/wrap/action", + "Microsoft.KeyVault/managedHsm/keys/unwrap/action", + "Microsoft.KeyVault/managedHsm/keys/sign/action", + "Microsoft.KeyVault/managedHsm/keys/verify/action", + "Microsoft.KeyVault/managedHsm/keys/derive/action", + "Microsoft.KeyVault/managedHsm/rng/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto User", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "name": "515eb02d-2335-4d2d-92f2-b1cbdf9c3778", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete", + "Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action", + "Microsoft.KeyVault/managedHsm/keys/export/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Crypto Officer", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/a290e904-7015-4bba-90c8-60543313cdb4", + "name": "a290e904-7015-4bba-90c8-60543313cdb4", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [ + { + "actions": [], + "dataActions": [ + "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/write/action", + "Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/action", + "Microsoft.KeyVault/managedHsm/securitydomain/download/read", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/action", + "Microsoft.KeyVault/managedHsm/securitydomain/upload/read", + "Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read", + "Microsoft.KeyVault/managedHsm/backup/start/action", + "Microsoft.KeyVault/managedHsm/restore/start/action", + "Microsoft.KeyVault/managedHsm/backup/status/action", + "Microsoft.KeyVault/managedHsm/restore/status/action", + "Microsoft.KeyVault/managedHsm/settings/read/action", + "Microsoft.KeyVault/managedHsm/settings/write/action" + ], + "notActions": [], + "notDataActions": [] + } + ], + "roleName": "Managed HSM Administrator", + "type": "AKVBuiltInRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "name": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "4137d863-7bd4-43a7-bf0a-33e9a91d5e5c", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + }, + { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "name": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "8bcb4a14-6bd5-4e0f-8ea4-f7f4e49eea02", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + ] + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.setRoleDefinition[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.setRoleDefinition[1].json index 721a75119d2a0..ddd47aceca61d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.setRoleDefinition[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultAccessControlClientTest.setRoleDefinition[1].json @@ -1,28 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net///providers/Microsoft.Authorization/roleDefinitions/703f68fe-9b17-43e3-8602-9d48898cadb2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/4e731c75-aa69-4370-84c1-ef59e272bd8f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "6afcd84e-d8e0-11ed-b0bb-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "353", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-server-latency" : "29", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "242a6ce2-c3d2-11ed-9dd8-0022488d0014", - "Body" : "{\"id\":\"Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/703f68fe-9b17-43e3-8602-9d48898cadb2\",\"name\":\"703f68fe-9b17-43e3-8602-9d48898cadb2\",\"properties\":{\"assignableScopes\":[\"/\"],\"description\":\"\",\"permissions\":[],\"roleName\":\"703f68fe-9b17-43e3-8602-9d48898cadb2\",\"type\":\"CustomRole\"},\"type\":\"Microsoft.Authorization/roleDefinitions\"}" - }, - "Exception" : null - } ], - "variables" : [ "703f68fe-9b17-43e3-8602-9d48898cadb2" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED///providers/Microsoft.Authorization/roleDefinitions/4e731c75-aa69-4370-84c1-ef59e272bd8f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "properties": { + "roleName": "4e731c75-aa69-4370-84c1-ef59e272bd8f" + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "353", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6bb86c08-d8e0-11ed-b0bb-000d3a612dea", + "x-ms-server-latency": "72" + }, + "ResponseBody": { + "id": "Microsoft.KeyVault/providers/Microsoft.Authorization/roleDefinitions/4e731c75-aa69-4370-84c1-ef59e272bd8f", + "name": "4e731c75-aa69-4370-84c1-ef59e272bd8f", + "properties": { + "assignableScopes": [ + "/" + ], + "description": "", + "permissions": [], + "roleName": "4e731c75-aa69-4370-84c1-ef59e272bd8f", + "type": "CustomRole" + }, + "type": "Microsoft.Authorization/roleDefinitions" + } + } + ], + "Variables": { + "0": "4e731c75-aa69-4370-84c1-ef59e272bd8f" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginBackup[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginBackup[1].json index e4c794ba4ac97..251288e42787d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginBackup[1].json @@ -1,842 +1,339 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:43 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "465", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "54140d1e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954364,\"endTime\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:45 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "296", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5505c6e0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:47 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "234", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "55d8d30a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:48 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "56a06dfc-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:49 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "377", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "575efdda-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:50 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "245", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "583d9a90-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "162", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "59077c0c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:52 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "229", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "59c38104-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:54 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a8a3c36-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:55 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "210", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5b494fea-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:57 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "218", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c0dcdf2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:58 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5cd28336-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:12:59 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "238", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5d99a100-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:01 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "239", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5e62aaf0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:02 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "197", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5f2c047c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:03 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5fee6af8-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:05 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "192", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "60ad508a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:06 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "190", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "616dd210-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:07 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "232", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "622fd036-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:08 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "266", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "62f6ab3e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:10 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "166", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "63c31318-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:10 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "224", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "64810f62-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:12 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "254", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "654821ce-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:14 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "196", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6612b678-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:15 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "194", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "66d51538-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:16 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "193", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "67960c16-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:17 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "188", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6856780c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:19 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "194", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6917f3c4-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:20 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "198", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "69d9cd32-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:24 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "3173", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6a9b623a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cfba9a38a7674527b883219db5a753b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:25 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "264", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d231818-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktests.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608124426\",\"endTime\":1678954405,\"error\":null,\"jobId\":\"cfba9a38a7674527b883219db5a753b3\",\"startTime\":1678954364,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - } ], - "variables" : [ ] + "Entries": [ + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "64715834-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/4efb3fb7dc844be29015ad40866fdb8c/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:09 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "649b13c2-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "438" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681268949, + "endTime": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:11 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "65829f6c-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "219" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:12 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "66483966-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "216" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:13 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "670d6da8-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "239" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:14 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "67d547b0-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "229" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:16 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "689be3b6-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "210" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:17 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "695e9230-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "203" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/4efb3fb7dc844be29015ad40866fdb8c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:18 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6a229cfc-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "245" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203090984", + "endTime": 1681268958, + "error": null, + "jobId": "4efb3fb7dc844be29015ad40866fdb8c", + "startTime": 1681268949, + "status": "Succeeded", + "statusDetails": null + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginRestore[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginRestore[1].json index 5bd38b70caf01..2c7b74c434c4b 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginRestore[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginRestore[1].json @@ -1,1680 +1,754 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:00 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "1222", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a52715e8-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954501,\"endTime\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:01 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "373", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "a6866d3a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:03 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "a7631528-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:04 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "204", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "a8239d3e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:06 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "218", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "a8e64c08-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:07 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "241", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "a9abba9c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:08 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "203", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "aa73c5dc-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:09 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "189", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "ab35fada-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:10 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "182", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "abf69510-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:13 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "885", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "acb78be4-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:14 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "199", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "ade3147a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:15 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "205", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "aea55c4c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:16 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "220", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "af680ed6-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:18 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b02db01e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:19 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "175", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b0ed8268-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:20 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "222", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1ad1330-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:21 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "205", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b273d268-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:23 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "181", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b33654a0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:24 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "219", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b3f67c62-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:25 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "193", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b4bbb8ce-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:27 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "207", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b57c22d0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:28 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "206", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b63f2316-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:29 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "742", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b7033558-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:31 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "203", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b819125a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:32 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "189", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b8dc2d80-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:34 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "396", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "b99cbfa0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "191", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "ba7c8680-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:36 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "176", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "bb3db3d2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:37 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "170", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "bbfdb858-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:39 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "bcbbb2ae-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:40 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "bd7a0dbc-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:41 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "199", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "be39963c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:43 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "231", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "befc871e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:43 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "238", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "bfc48804-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:45 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "171", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c08cad48-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:47 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "203", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c14b4f96-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:48 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "190", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c20e3ef2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:49 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "195", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c2cefa84-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:50 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "202", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c390376c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "200", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c453404a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:52 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "197", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c515b83c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:54 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "250", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c5d87de0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:56 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "195", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c6a238f6-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:56 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "223", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c765721c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/47e952e5208f4b8b9b1e7278935a86c5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:58 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "200", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c82afe10-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktestsprim.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608150105\",\"endTime\":1678954558,\"error\":null,\"jobId\":\"47e952e5208f4b8b9b1e7278935a86c5\",\"startTime\":1678954501,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:15:59 GMT", - "server" : "Kestrel", - "content-length" : "138", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "410", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c8553446-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:00 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "239", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c9375650-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:01 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "226", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "c9ff0fce-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:03 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "189", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cac63c3e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:03 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "210", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cb86f064-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:04 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "251", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cc4a4ece-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:07 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "187", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cd14eefe-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:08 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cdd64b6c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:09 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "ce962a5e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:10 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "191", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "cf537c4e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:12 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "212", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d014f43c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:13 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "781", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d0d83a14-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:14 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "224", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d1f492f8-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:16 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "244", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2b991b6-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:17 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "249", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d383aa64-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:18 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "232", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d44e20d2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/ad705150088a4145833f972d9f72b86f/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:16:19 GMT", - "content-length" : "143", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "187", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "d5157164-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":1678954579,\"error\":null,\"jobId\":\"ad705150088a4145833f972d9f72b86f\",\"startTime\":1678954559,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - } ], - "variables" : [ ] + "Entries": [ + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "86045604-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/03b7e8c9edf947ae8118fe4008bd94da/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:06 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8625f5de-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "463" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681269006, + "endTime": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:07 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "87111654-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "220" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:08 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "87d62872-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "342" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:09 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "88aeaa08-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "284" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:11 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "897e966e-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "191" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:12 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8a3f652e-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "242" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:13 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8b08a862-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "209" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/03b7e8c9edf947ae8118fe4008bd94da/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:15 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8bcd3ace-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "268" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203100611", + "endTime": 1681269014, + "error": null, + "jobId": "03b7e8c9edf947ae8118fe4008bd94da", + "startTime": 1681269006, + "status": "Succeeded", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "301", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "sasTokenParameters": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/", + "token": "REDACTED" + }, + "folderToRestore": "mhsm-azkvrecordtestshsm-2023041203100611" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/restore/9f696a2423df4142a08afbc0104f405d/pending", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:15 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8c01ad9a-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "386" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:16 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8ce07c3c-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "213" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:17 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8da5dcca-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "217" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:19 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8e6abb44-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "202" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:20 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8f2c7ab8-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "216" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:22 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "8ff47e32-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "211" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:23 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "90b909dc-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "187" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:24 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "9178e72a-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "221" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:25 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "923dd7e2-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "207" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:27 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "9300f7c2-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "200" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/9f696a2423df4142a08afbc0104f405d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:10:28 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "93c340c0-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "212" + }, + "ResponseBody": { + "endTime": 1681269027, + "error": null, + "jobId": "9f696a2423df4142a08afbc0104f405d", + "startTime": 1681269015, + "status": "Succeeded", + "statusDetails": null + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginSelectiveKeyRestore[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginSelectiveKeyRestore[1].json index b8475b701d09f..7415e4832f49b 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginSelectiveKeyRestore[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupAsyncClientTest.beginSelectiveKeyRestore[1].json @@ -1,1380 +1,594 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/backupkey17218e6f/create?api-version=7.2", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "763", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "296", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d827682-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678954406,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678954406},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/backupkey17218e6f/1a0602468d364e2db1e84e7e057c4192\",\"kty\":\"RSA-HSM\",\"n\":\"henQeNbqZBd5zJRqsQAihtcMaeN2NxUfO4_yHs-40lSzX_F80v9s2_Bp-t6KCjqGoO1Isv-rhAGaf3uwCLl5iFEloiejG_Zo6L3NUrpbBopcKV5nZ6CDqfH8eC_-aCq18iQvJJMohNFkC6Iur5MNUWgH7QTBjJDvKMngzdjGq9rIS3LGCaJpIW64XamO-lxHxQo9S-v8E_33jQUyANuICfwGgGGoOnKU1QxFBmwVlHUxdSP8Gtl-RNmzbO7JokJkCJszX7AgFu8_i3bqNvmHLIwau6tZu9Go6Wz9cvzRFmHBGNfvH63IJQswg5JbyH9eFoQ2yWEY4Dec1J216zcyhw\"}}" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:26 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "525", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6dd7a288-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954407,\"endTime\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:28 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "213", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6ecc4fea-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:29 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6f91e688-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:30 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "211", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7050670c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:32 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "184", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7113afc8-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:34 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "71d4afb6-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:34 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "182", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "729c0da4-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:36 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "214", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "735c9e66-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:37 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "236", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7421bd54-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:38 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "176", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "74e9f03a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:40 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "187", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "75a9e412-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:40 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "766aa116-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:42 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "77316ee0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:43 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "77f11a60-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:45 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "214", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "78af7334-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:46 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7973241e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:47 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "240", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7a3b29be-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:48 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "167", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b04620c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:50 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "221", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7bc12608-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "213", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7c861f8a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:52 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "181", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7d4b4508-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:54 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "194", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7e0c15da-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:55 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "351", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7ecdc838-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:56 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "186", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "7fa8369e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:58 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "806948b6-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:13:59 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "204", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "81295052-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:00 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "189", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "81ecac78-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:01 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "246", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "82ad1850-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:03 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "182", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8376f44a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:03 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "203", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8437100e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:05 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "218", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "84fab432-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:06 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "205", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "85c09c38-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:07 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "239", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "868306ec-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/cd1db445371e43718a8102a39aa1a720/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:09 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "216", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "874a612e-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktestsprim.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608132758\",\"endTime\":1678954449,\"error\":null,\"jobId\":\"cd1db445371e43718a8102a39aa1a720\",\"startTime\":1678954407,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/backupkey17218e6f/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:10 GMT", - "server" : "Kestrel", - "content-length" : "138", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "353", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8777837a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:11 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8852536a-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:12 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "181", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "89105734-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:14 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "357", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "89cfeffe-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:15 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "194", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8aa8f18c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:16 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "201", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8b69b5ca-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:17 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "254", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8c2c8410-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:19 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "164", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8cf802a2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:20 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "184", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8db54844-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:22 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "232", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8e75e25c-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:23 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "171", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f3f4bb0-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:24 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "174", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "8ffd90a2-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:25 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "258", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "90bbc162-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:26 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "173", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "91881744-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:28 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "237", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "9245fa16-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/b7189bd99048406784d0b04ad49822fc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:14:29 GMT", - "content-length" : "233", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "174", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "930da688-c3d2-11ed-9c63-000d3a6149b5", - "Body" : "{\"endTime\":1678954469,\"error\":null,\"jobId\":\"b7189bd99048406784d0b04ad49822fc\",\"startTime\":1678954450,\"status\":\"Succeeded\",\"statusDetails\":\"Number of successful key versions restored: 0, Number of key versions could not overwrite: 2\"}" - }, - "Exception" : null - } ], - "variables" : [ "backupkey17218e6f" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/backupkey63076420/create?api-version=7.2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "6a69e8fa-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/keys/backupkey63076420/create?api-version=7.2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "81", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "761", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6a7d43be-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "244" + }, + "ResponseBody": { + "attributes": { + "created": 1681268959, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681268959 + }, + "key": { + "e": "AQAB", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/backupkey63076420/c4d45a71be9500860128b1c5802b1bab", + "kty": "RSA-HSM", + "n": "iLxa4eDKrAA_mtwpx65n7ywUA1hANcfnd1kdhXUPnreE5kJgbkqsD5lBAsaGFL3fI0B1azFEaIrJPP826sf8h11ANe9XZxQjdh7Ezj_H8TaiqtX-yZ_8XBVP9n0kj6ipGHNWabl_j_LENQQm1IhTg5IAqF1uv44Q9v9BxRxQUpM24YfBD5z1AP7Ra8y8i5fmX7wls6F9CQ-IBkDH6fBUCLdwXXo_Nc5cXo_SWS6XBoMLFlYaG-wO3zB6Kl-jBbii0F_3-Tk6urZbe_LUQFIo10Zd1vCZUR0f3CBCufeg1OOZ2hs57wHG5qR89NBjJKx087bFDvxtkR-oq_xhQQnnOw" + } + } + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/a6027c96cb734c599dd6f0ea9284efd0/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:19 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6abc79da-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "417" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681268960, + "endTime": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:21 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6b9f5714-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "171" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:21 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6c5d3d6a-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "234" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:23 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6d2533b0-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "174" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:25 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6de31e52-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "210" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:26 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6ea6640c-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "733" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/a6027c96cb734c599dd6f0ea9284efd0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:27 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6fb9963e-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "232" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203092010", + "endTime": 1681268968, + "error": null, + "jobId": "a6027c96cb734c599dd6f0ea9284efd0", + "startTime": 1681268960, + "status": "Succeeded", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/keys/backupkey63076420/restore?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "292", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "sasTokenParameters": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/", + "token": "REDACTED" + }, + "folder": "mhsm-azkvrecordtestshsm-2023041203092010" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:28 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6fe7a538-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "440" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:29 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "70cf5450-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "244" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:30 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "719957f0-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "256" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:32 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "7263c8a0-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "179" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:33 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "73239e28-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "213" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/c4a2958847494a7c8ba357c1efe4d0d4/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "233", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:09:34 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "73e9021c-d8df-11ed-a916-0022488d0014", + "x-ms-server-latency": "251" + }, + "ResponseBody": { + "endTime": 1681268974, + "error": null, + "jobId": "c4a2958847494a7c8ba357c1efe4d0d4", + "startTime": 1681268968, + "status": "Succeeded", + "statusDetails": "Number of successful key versions restored: 0, Number of key versions could not overwrite: 2" + } + } + ], + "Variables": { + "0": "backupkey63076420" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginBackup[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginBackup[1].json index 550fbd5786891..b24c612cf66d4 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginBackup[1].json @@ -1,761 +1,339 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:29 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "390", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fe766464-c3d2-11ed-8793-0022488d0014", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954649,\"endTime\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:29 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "209", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "fec05966-c3d2-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:30 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "ff849330-c3d2-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:32 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "248", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "004480aa-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:34 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "010e651e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "327", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "01ce5950-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:36 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "189", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "02a424ae-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:38 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "192", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "03649888-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:39 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "042506fe-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:40 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "182", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "04e43772-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:41 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "176", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "05a436bc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:42 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "285", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "06617bf0-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:44 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "218", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "07306f46-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:45 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "211", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "07f63208-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:46 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "237", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "08b8f978-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:47 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "232", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0981ca74-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:49 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "304", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0a49c4fc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0b1b44a0-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0bd9b5e8-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:52 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0c9917c6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:54 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "190", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0d55932e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:55 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "245", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0e1699f2-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:57 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "205", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0edfa3a6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:58 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "198", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "0fa13174-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:17:59 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "211", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "106224a6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:00 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "197", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1126994e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:01 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "11e7f38c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/36fc8667037b411b9f9f02b163129bb4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:03 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "233", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "12a62d16-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktests.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608173003\",\"endTime\":1678954682,\"error\":null,\"jobId\":\"36fc8667037b411b9f9f02b163129bb4\",\"startTime\":1678954649,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - } ], - "variables" : [ ] + "Entries": [ + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "d8619552-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "2" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/8ac663ae16304631ba0237e5e3ea87d7/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:15 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "d9188c9e-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "884" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681268716, + "endTime": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:15 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "d9b2a28e-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "247" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:17 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "da7f6f76-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "642" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:19 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "db891a7a-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "233" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:20 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "dc55ac8e-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "229" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:21 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "dd1f62a4-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "326" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:23 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "ddf840ec-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "262" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/8ac663ae16304631ba0237e5e3ea87d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:24 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "dec8efb2-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "275" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203051622", + "endTime": 1681268724, + "error": null, + "jobId": "8ac663ae16304631ba0237e5e3ea87d7", + "startTime": 1681268716, + "status": "Succeeded", + "statusDetails": null + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginRestore[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginRestore[1].json index ed1d859510e52..01ac358898f58 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginRestore[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginRestore[1].json @@ -1,1275 +1,529 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:33 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "384", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "482730ac-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954773,\"endTime\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:33 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "486b5aa2-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "190", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4929785c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "165", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "49e91e78-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:36 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "228", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4aa77512-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:38 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "164", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4b6e9af2-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:39 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "207", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4c2a710a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:40 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "183", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4ced1fde-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:41 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "167", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4dad7cac-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:43 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "188", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4e69526a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:44 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "179", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4f29e32c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:46 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "176", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "4fe896c8-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:47 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "201", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "50a6e9ac-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:48 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "206", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5169fbc2-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:50 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "220", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "522d4406-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:51 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "52f2e15c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:52 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "219", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "53b11a5a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:53 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5475edd0-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:54 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "192", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5533b14e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:55 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "55f3cc5e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:57 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "56b2511a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:58 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "225", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "577091d4-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:00 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "287", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "58361a94-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:01 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "232", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "59050fac-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:02 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "299", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "59cb61b6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:04 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "195", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a9c9e48-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:05 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "208", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5b60e35c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/91708601dc8b4441bd795908d022d959/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:06 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "200", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c25a50c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktestsprim.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608193368\",\"endTime\":1678954806,\"error\":null,\"jobId\":\"91708601dc8b4441bd795908d022d959\",\"startTime\":1678954773,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:07 GMT", - "server" : "Kestrel", - "content-length" : "138", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "384", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c4ec5cc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:07 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "923", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c939c7e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:09 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "167", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5dc44e0e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:10 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "157", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5e8219fc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:12 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5f3c568c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:13 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "195", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "5ffa39d6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:14 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "179", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "60bbd578-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:15 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "222", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "617b3828-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:16 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6240ca52-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:17 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "183", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "630605d8-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:19 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "220", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "63c60c7a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:20 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "199", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "648be314-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:21 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "159", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "654d2042-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:22 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "213", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6608982c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:24 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "223", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "66cbd3e6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:25 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "208", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "679147d4-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:26 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "194", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "6853a4be-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:28 GMT", - "content-length" : "143", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "179", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "69138f72-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":1678954828,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/39d00b038c5c4c68b815a86f3fdb7154/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:20:29 GMT", - "content-length" : "143", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "199", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "69389fce-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":1678954828,\"error\":null,\"jobId\":\"39d00b038c5c4c68b815a86f3fdb7154\",\"startTime\":1678954807,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - } ], - "variables" : [ ] + "Entries": [ + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "fd3ddcc8-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/b218196019b04001a2fbc86316f8ba70/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:18 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "fd68fd86-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "2763" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681268777, + "endTime": null, + "jobId": "b218196019b04001a2fbc86316f8ba70", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/b218196019b04001a2fbc86316f8ba70/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:20 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "ff1d7652-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "1567" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "b218196019b04001a2fbc86316f8ba70", + "startTime": 1681268777, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/b218196019b04001a2fbc86316f8ba70/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:23 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "00b43f96-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "1951" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "b218196019b04001a2fbc86316f8ba70", + "startTime": 1681268777, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/b218196019b04001a2fbc86316f8ba70/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:26 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "02859676-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "2163" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "b218196019b04001a2fbc86316f8ba70", + "startTime": 1681268777, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/b218196019b04001a2fbc86316f8ba70/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:28 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "04784942-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "1258" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203062042", + "endTime": 1681268789, + "error": null, + "jobId": "b218196019b04001a2fbc86316f8ba70", + "startTime": 1681268777, + "status": "Succeeded", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "301", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "sasTokenParameters": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/", + "token": "REDACTED" + }, + "folderToRestore": "mhsm-azkvrecordtestshsm-2023041203062042" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/restore/0a28d8356e6e47de8d18628870485243/pending", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:31 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0546fc7e-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "2797" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:33 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "06ffaac0-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "1562" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:34 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0895e17e-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "172" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:36 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "09585894-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "194" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:37 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0a1d90dc-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "174" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:38 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0ade764e-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "230" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:40 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0baa5c3c-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "176" + }, + "ResponseBody": { + "endTime": 1681268800, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "Succeeded", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/0a28d8356e6e47de8d18628870485243/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "143", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:06:40 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "0bd2f034-d8df-11ed-a717-0022488d0014", + "x-ms-server-latency": "639" + }, + "ResponseBody": { + "endTime": 1681268800, + "error": null, + "jobId": "0a28d8356e6e47de8d18628870485243", + "startTime": 1681268790, + "status": "Succeeded", + "statusDetails": null + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginSelectiveKeyRestore[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginSelectiveKeyRestore[1].json index 86bf95546db38..fae6ca3eb7df5 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginSelectiveKeyRestore[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultBackupClientTest.beginSelectiveKeyRestore[1].json @@ -1,1299 +1,592 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/backupkey1202399f/create?api-version=7.2", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "763", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "301", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1303720a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"attributes\":{\"created\":1678954684,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678954684},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/backupkey1202399f/2b9613f9f857407210b18883bc762e00\",\"kty\":\"RSA-HSM\",\"n\":\"h6rWgurgYokenkNVY2I0IK4FzUUlnanxTUkd2pR31OcUnV-SiwKUUlrMhaIC8ZafrJFccVz8bPlGQjOswjJP-l-TzFKhnv0qmg-H0POelCTQj_gjEYRWTkGwZEHKk83bpsc8PhefaDAI6mtMg5n7rTThwuvsn5uQ8m5nMZBtyMFnES3q1DNiOjhNz47O0gtY8aQ_vzUBVjys1PBUg0TLS3Sn3bMzrfTCjNl1c5Qwk4vgOT5L5EdDJIvRAYZQ_Nktuh7fS9xnYA1IVjd6scpmKJExWG0iI9YZhIef5r4Dl4R3yWLa4nzW13KokgtP0aWVa9riHomnUpufrHWJxFW-fw\"}}" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:04 GMT", - "server" : "Kestrel", - "content-length" : "174", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "372", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1357d6d8-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"status\":\"InProgress\",\"statusDetails\":null,\"error\":null,\"startTime\":1678954684,\"endTime\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"azureStorageBlobContainerUri\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:05 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "237", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "139a5648-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:06 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "160", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1464eb60-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:07 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "169", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "15206822-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:08 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "164", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "15dd766a-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:10 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "238", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "169a2de6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:11 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "247", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1761c64e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:12 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "174", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "182bc19c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:13 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "192", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "18ea0850-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:14 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "180", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "19aa4430-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:18 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "2809", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1a6827b6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:20 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "196", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1cb7e6b4-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:21 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "177", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d78baba-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:23 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "380", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1e375d44-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:24 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1f151404-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:25 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "239", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "1fd5f76e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:26 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "174", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "209d01ec-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:27 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "192", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "215b79d8-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:28 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "234", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "221c16f2-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:30 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "769", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "22e3c29c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:31 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "176", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "23fd58aa-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:34 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "188", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "24bb7452-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "210", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "257d7b56-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:35 GMT", - "content-length" : "174", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "237", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2640980c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":null,\"endTime\":null,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/backup/f208be467a4240258ab3c681b9d4b26d/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:37 GMT", - "content-length" : "278", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "27071d10-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"azureStorageBlobContainerUri\":\"https://azsdktestsprim.blob.core.windows.net/backup/mhsm-azsdktestshsm-2023031608180503\",\"endTime\":1678954717,\"error\":null,\"jobId\":\"f208be467a4240258ab3c681b9d4b26d\",\"startTime\":1678954684,\"status\":\"Succeeded\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/backupkey1202399f/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:37 GMT", - "server" : "Kestrel", - "content-length" : "138", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-server-latency" : "415", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "272d6542-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}", - "azure-asyncoperation" : "https://azsdktestshsm.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:38 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "185", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2776bef4-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:40 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "217", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "283739cc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:40 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "28fcd326-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:42 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "163", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "29bb3f82-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:43 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "244", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2a7791dc-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:44 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "193", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2b40118e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:46 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "204", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2c01013c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:47 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "207", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2cc36b1e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:48 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "174", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2d866b46-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:49 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "196", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2e44ad04-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:51 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "178", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2f05f89c-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:52 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "167", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "2fc5cf28-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:53 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "172", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "30819776-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:54 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "182", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "31400648-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:55 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "165", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "320057f4-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:57 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "170", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "32bdb5a6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:58 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "193", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "337bb48e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:18:59 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "216", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "343c92c6-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:01 GMT", - "content-length" : "138", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "288", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "3501328e-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":null,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"InProgress\",\"statusDetails\":null}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:02 GMT", - "content-length" : "233", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "180", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "35d02788-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":1678954741,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"Succeeded\",\"statusDetails\":\"Number of successful key versions restored: 0, Number of key versions could not overwrite: 2\"}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/restore/baab7b55b1ae48a8ba69e7aef7e49e01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "date" : "Thu, 16 Mar 2023 08:19:02 GMT", - "content-length" : "233", - "server" : "Kestrel", - "api-supported-versions" : "20180927, 20211111", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "227", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-region" : "northcentralus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "cache-control" : "no-cache", - "x-ms-request-id" : "35f53e60-c3d3-11ed-8793-0022488d0014", - "Body" : "{\"endTime\":1678954741,\"error\":null,\"jobId\":\"baab7b55b1ae48a8ba69e7aef7e49e01\",\"startTime\":1678954718,\"status\":\"Succeeded\",\"statusDetails\":\"Number of successful key versions restored: 0, Number of key versions could not overwrite: 2\"}" - }, - "Exception" : null - } ], - "variables" : [ "backupkey1202399f" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/backupkey71923735/create?api-version=7.2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "df2ec314-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://REDACTED/keys/backupkey71923735/create?api-version=7.2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "81", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "761", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "df58aa9e-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "236" + }, + "ResponseBody": { + "attributes": { + "created": 1681268725, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681268725 + }, + "key": { + "e": "AQAB", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/backupkey71923735/d80a183fce6441b887baa8fdd6f56eed", + "kty": "RSA-HSM", + "n": "wj-1gqtxlbhjUXOkSWpfc60SMIPjoK5D52RxpmldikVJYRw1Nxf5x21A2cljni2Ua-ZPC9mwYyVh1JtAGmX74Z0XSgmPvezJT5GsobHWmWejxKBP1MY7K7FjapUB9y--nPDKkaxDU9mXg0zox8IhHWeE-0NnXpK3tb8gCcq9PMBHwN9mClyjHQa0tkNBk6ul_6iFai0tcxrXfmFF-JYGVet8HUaV4ssvnpHbYij6R6x6wOOlXEqV4fzjSH5XpW7Y0JDckJFfk4T6rVvXf315JOH5ouysUKCVlbWab81NxSII9Q8McTN4RQWtbK0as_R2fSoIcSl7io3uAo5OlWqPbw" + } + } + }, + { + "RequestUri": "https://REDACTED/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup", + "token": "REDACTED" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/backup/1761020a750f488e9ecc50d5aac7f1d7/pending", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:27 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "dfa957fa-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "1375" + }, + "ResponseBody": { + "status": "InProgress", + "statusDetails": null, + "error": null, + "startTime": 1681268727, + "endTime": null, + "jobId": "1761020a750f488e9ecc50d5aac7f1d7", + "azureStorageBlobContainerUri": null + } + }, + { + "RequestUri": "https://REDACTED/backup/1761020a750f488e9ecc50d5aac7f1d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:27 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e08904f4-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "333" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "1761020a750f488e9ecc50d5aac7f1d7", + "startTime": 1681268727, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/1761020a750f488e9ecc50d5aac7f1d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:29 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e16357d0-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "250" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "1761020a750f488e9ecc50d5aac7f1d7", + "startTime": 1681268727, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/1761020a750f488e9ecc50d5aac7f1d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "174", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:30 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e2316828-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "220" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": null, + "endTime": null, + "error": null, + "jobId": "1761020a750f488e9ecc50d5aac7f1d7", + "startTime": 1681268727, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/backup/1761020a750f488e9ecc50d5aac7f1d7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:36 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e2fbca46-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "4795" + }, + "ResponseBody": { + "azureStorageBlobContainerUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/mhsm-azkvrecordtestshsm-2023041203052768", + "endTime": 1681268735, + "error": null, + "jobId": "1761020a750f488e9ecc50d5aac7f1d7", + "startTime": 1681268727, + "status": "Succeeded", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/keys/backupkey71923735/restore?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "292", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "sasTokenParameters": { + "storageResourceUri": "https://azkvrecordtestsprim.blob.core.windows.net/backup/", + "token": "REDACTED" + }, + "folder": "mhsm-azkvrecordtestshsm-2023041203052768" + }, + "StatusCode": 202, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "azure-asyncoperation": "https://azkvrecordtestshsm.managedhsm.azure.net/restore/840b9ad304c443e78d4604cee8668fc1/pending", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:37 GMT", + "Retry-After": "10", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e5e6875a-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "1459" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:37 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e6d38280-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "322" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:39 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e7ad79b8-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "426" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:41 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e896ea30-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "195" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:42 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "e95bc7f6-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "235" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "138", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:44 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "ea27dc24-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "268" + }, + "ResponseBody": { + "endTime": null, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "InProgress", + "statusDetails": null + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "233", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:45 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "eaf997f0-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "195" + }, + "ResponseBody": { + "endTime": 1681268744, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "Succeeded", + "statusDetails": "Number of successful key versions restored: 0, Number of key versions could not overwrite: 2" + } + }, + { + "RequestUri": "https://REDACTED/restore/840b9ad304c443e78d4604cee8668fc1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "20180927, 20211111", + "Cache-Control": "no-cache", + "Content-Length": "233", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:05:45 GMT", + "Server": "Kestrel", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "eb2511fa-d8de-11ed-a717-0022488d0014", + "x-ms-server-latency": "192" + }, + "ResponseBody": { + "endTime": 1681268744, + "error": null, + "jobId": "840b9ad304c443e78d4604cee8668fc1", + "startTime": 1681268738, + "status": "Succeeded", + "statusDetails": "Number of successful key versions restored: 0, Number of key versions could not overwrite: 2" + } + } + ], + "Variables": { + "0": "backupkey71923735" + } } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSetting[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSetting[1].json index 0ed9519e3ed13..d77ecaa4211ee 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSetting[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSetting[1].json @@ -1,28 +1,61 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "6293a710-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "14399b8c-c3d2-11ed-9aa5-000d3a6149b5", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "62bc9fd0-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSettings[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSettings[1].json index e96507f614ce0..252f322953a5d 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSettings[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.getSettings[1].json @@ -1,28 +1,65 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "62dc00be-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "97", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "140cf348-c3d2-11ed-9aa5-000d3a6149b5", - "Body" : "{\"settings\":[{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/settings?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "62f498cc-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "settings": [ + { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.updateSetting[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.updateSetting[1].json index f7e4c5705376f..b0b5afb3ffac0 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.updateSetting[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsAsyncClientTest.updateSetting[1].json @@ -1,76 +1,127 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "6303ae8e-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "145a16dc-c3d2-11ed-9aa5-000d3a6149b5", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "631d0942-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "16", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "true" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "81", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "6327da7a-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "67" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "true" + } }, - "Response" : { - "content-length" : "81", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "72", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "148594ce-c3d2-11ed-9ad4-000d3a6149b5", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"true\"}" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "37", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "14a17306-c3d2-11ed-9aa5-000d3a6149b5", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "false" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "633c82e0-d8df-11ed-9768-000d3a612dea", + "x-ms-server-latency": "32" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSetting[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSetting[1].json index 1e14664e0a3d4..bc08bdb60fc27 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSetting[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSetting[1].json @@ -1,28 +1,61 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "5628753c-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b15f84c-c3d2-11ed-86db-0022488d0014", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "564d825a-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSettings[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSettings[1].json index bf8ee42802625..3dc816ebb53e2 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSettings[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.getSettings[1].json @@ -1,28 +1,65 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "5670731e-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "97", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ae84d02-c3d2-11ed-86db-0022488d0014", - "Body" : "{\"settings\":[{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}]}" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/settings?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "56b26242-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "settings": [ + { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.updateSetting[1].json b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.updateSetting[1].json index 5fbc934c8991e..4b22e4d23a73f 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.updateSetting[1].json +++ b/sdk/keyvault/azure-security-keyvault-administration/src/test/resources/session-records/KeyVaultSettingsClientTest.updateSetting[1].json @@ -1,76 +1,127 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-request-id": "56c24324-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": "OK" }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b3b6744-c3d2-11ed-86db-0022488d0014", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "56e07038-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "16", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "true" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "81", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "56eb12f4-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "70" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "true" + } }, - "Response" : { - "content-length" : "81", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "82", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b47e5b4-c3d2-11ed-86db-0022488d0014", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"true\"}" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.managedhsm.azure.net/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "82", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "37", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b5ec66c-c3d2-11ed-86db-0022488d0014", - "Body" : "{\"name\":\"AllowKeyManagementOperationsThroughARM\",\"type\":\"boolean\",\"value\":\"false\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/settings/AllowKeyManagementOperationsThroughARM?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "false" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "82", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "56ffa700-d8df-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "41" + }, + "ResponseBody": { + "name": "AllowKeyManagementOperationsThroughARM", + "type": "boolean", + "value": "false" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java index 8349c0b45ade7..64d0e8d180939 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java @@ -66,7 +66,8 @@ */ @ServiceClient(builder = CertificateClientBuilder.class, isAsync = true, serviceInterfaces = CertificateClientImpl.CertificateService.class) public final class CertificateAsyncClient { - private final ClientLogger logger = new ClientLogger(CertificateAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(CertificateAsyncClient.class); + private final CertificateClientImpl implClient; /** @@ -218,7 +219,7 @@ public Mono getCertificate(String certificateName return withContext(context -> implClient.getCertificateWithResponseAsync(certificateName, "", context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -250,7 +251,7 @@ public Mono> getCertificateWithResponse( try { return withContext(context -> implClient.getCertificateWithResponseAsync(certificateName, "", context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -285,7 +286,7 @@ public Mono> getCertificateVersionWithResponse(Str return withContext(context -> implClient.getCertificateVersionWithResponseAsync(certificateName, version == null ? "" : version, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -318,7 +319,7 @@ public Mono getCertificateVersion(String certificateName, S return withContext(context -> implClient.getCertificateVersionWithResponseAsync(certificateName, version == null ? "" : version, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -357,7 +358,7 @@ public Mono updateCertificateProperties(CertificateProperti try { return withContext(context -> implClient.updateCertificatePropertiesWithResponseAsync(properties, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -397,7 +398,7 @@ public Mono> updateCertificatePropertiesWithRespon return withContext(context -> implClient.updateCertificatePropertiesWithResponseAsync(properties, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -460,7 +461,7 @@ public Mono getDeletedCertificate(String certificateName) { return withContext(context -> implClient.getDeletedCertificateWithResponseAsync(certificateName, context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -493,7 +494,7 @@ public Mono> getDeletedCertificateWithResponse(Stri try { return withContext(context -> implClient.getDeletedCertificateWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -524,7 +525,7 @@ public Mono purgeDeletedCertificate(String certificateName) { try { return purgeDeletedCertificateWithResponse(certificateName).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -555,7 +556,7 @@ public Mono> purgeDeletedCertificateWithResponse(String certifica try { return withContext(context -> implClient.purgeDeletedCertificateWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -616,7 +617,7 @@ public Mono backupCertificate(String certificateName) { try { return withContext(context -> implClient.backupCertificateWithResponseAsync(certificateName, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -648,7 +649,7 @@ public Mono> backupCertificateWithResponse(String certificateNa try { return withContext(context -> implClient.backupCertificateWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -679,7 +680,7 @@ public Mono restoreCertificateBackup(byte[] backu try { return withContext(context -> implClient.restoreCertificateBackupWithResponseAsync(backup, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -710,7 +711,7 @@ public Mono> restoreCertificateBackupWit try { return withContext(context -> implClient.restoreCertificateBackupWithResponseAsync(backup, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -892,7 +893,7 @@ public Mono mergeCertificate(MergeCertificateOptions mergeC try { return withContext(context -> implClient.mergeCertificateWithResponseAsync(mergeCertificateOptions, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -925,7 +926,7 @@ public Mono> mergeCertificateWithRespons try { return withContext(context -> implClient.mergeCertificateWithResponseAsync(mergeCertificateOptions, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -957,7 +958,7 @@ public Mono getCertificatePolicy(String certificateName) { try { return withContext(context -> implClient.getCertificatePolicyWithResponseAsync(certificateName, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -988,7 +989,7 @@ public Mono> getCertificatePolicyWithResponse(String try { return withContext(context -> implClient.getCertificatePolicyWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1028,7 +1029,7 @@ public Mono updateCertificatePolicy(String certificateName, C try { return withContext(context -> implClient.updateCertificatePolicyWithResponseAsync(certificateName, policy, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1069,7 +1070,7 @@ public Mono> updateCertificatePolicyWithResponse(Str try { return withContext(context -> implClient.updateCertificatePolicyWithResponseAsync(certificateName, policy, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1106,7 +1107,7 @@ public Mono createIssuer(CertificateIssuer issuer) { return withContext(context -> implClient.createIssuerWithResponseAsync(issuer, context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1143,7 +1144,7 @@ public Mono> createIssuerWithResponse(CertificateIss try { return withContext(context -> implClient.createIssuerWithResponseAsync(issuer, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1175,7 +1176,7 @@ public Mono> getIssuerWithResponse(String issuerName try { return withContext(context -> implClient.getIssuerWithResponseAsync(issuerName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1208,7 +1209,7 @@ public Mono getIssuer(String issuerName) { return withContext(context -> implClient.getIssuerWithResponseAsync(issuerName, context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1239,7 +1240,7 @@ public Mono> deleteIssuerWithResponse(String issuerN try { return withContext(context -> implClient.deleteIssuerWithResponseAsync(issuerName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1271,7 +1272,7 @@ public Mono deleteIssuer(String issuerName) { return withContext(context -> implClient.deleteIssuerWithResponseAsync(issuerName, context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1338,7 +1339,7 @@ public Mono updateIssuer(CertificateIssuer issuer) { return withContext(context -> implClient.updateIssuerWithResponseAsync(issuer, context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1377,7 +1378,7 @@ public Mono> updateIssuerWithResponse(CertificateIss try { return withContext(context -> implClient.updateIssuerWithResponseAsync(issuer, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1479,7 +1480,7 @@ public Mono deleteCertificateOperation(String certificateN try { return withContext(context -> implClient.deleteCertificateOperationWithResponseAsync(certificateName, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1509,7 +1510,7 @@ public Mono> deleteCertificateOperationWithRespon try { return withContext(context -> implClient.deleteCertificateOperationWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1538,7 +1539,7 @@ public Mono cancelCertificateOperation(String certificateN try { return withContext(context -> implClient.cancelCertificateOperationWithResponseAsync(certificateName, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1567,7 +1568,7 @@ public Mono> cancelCertificateOperationWithRespon try { return withContext(context -> implClient.cancelCertificateOperationWithResponseAsync(certificateName, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1600,7 +1601,7 @@ public Mono importCertificate(ImportCertificateOp try { return withContext(context -> implClient.importCertificateWithResponseAsync(importCertificateOptions, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1631,7 +1632,7 @@ public Mono> importCertificateWithRespon try { return withContext(context -> implClient.importCertificateWithResponseAsync(importCertificateOptions, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/CertificateClientImpl.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/CertificateClientImpl.java index 357aef95686ae..eec82b620feb6 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/CertificateClientImpl.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/CertificateClientImpl.java @@ -64,22 +64,18 @@ import static com.azure.core.util.FluxUtil.withContext; public class CertificateClientImpl { - private final String apiVersion; - static final String ACCEPT_LANGUAGE = "en-US"; - static final int DEFAULT_MAX_PAGE_RESULTS = 25; - static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; - - // Please see here - // for more information on Azure resource provider namespaces. - private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; - + private static final ClientLogger LOGGER = new ClientLogger(CertificateAsyncClient.class); private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); + private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; - private final String vaultUrl; private final CertificateService service; - private final ClientLogger logger = new ClientLogger(CertificateAsyncClient.class); - private final HttpPipeline pipeline; + private final String apiVersion; + private final String vaultUrl; + + static final int DEFAULT_MAX_PAGE_RESULTS = 25; + static final String ACCEPT_LANGUAGE = "en-US"; + static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; /** * Creates a CertificateClientImpl instance that uses {@code pipeline} to service requests @@ -939,7 +935,7 @@ private Function, Mono(LongRunningOperationStatus.FAILED, null)); } @@ -980,11 +976,11 @@ public Mono> cancelCertificateOperationWithRespon return service.updateCertificateOperationAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, parameter, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Cancelling certificate operation - {}", certificateName)) + .doOnRequest(ignored -> LOGGER.verbose("Cancelling certificate operation - {}", certificateName)) .doOnSuccess(response -> - logger.verbose("Cancelled the certificate operation - {}", response.getValue().getStatus())) + LOGGER.verbose("Cancelled the certificate operation - {}", response.getValue().getStatus())) .doOnError(error -> - logger.warning("Failed to cancel the certificate operation - {}", certificateName, error)); + LOGGER.warning("Failed to cancel the certificate operation - {}", certificateName, error)); } public Response cancelCertificateOperationWithResponse(String certificateName, @@ -1010,9 +1006,9 @@ private Mono> createCertificateWithResponseAsync( return service.createCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, certificateRequestParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Starting creation of certificate - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Started creation of certificate - {}", certificateName)) - .doOnError(error -> logger.warning("Failed to create the certificate - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Starting creation of certificate - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Started creation of certificate - {}", certificateName)) + .doOnError(error -> LOGGER.warning("Failed to create the certificate - {}", certificateName, error)); } public PollerFlux getCertificateOperation(String certificateName) { @@ -1030,10 +1026,10 @@ public Mono> getCertificateWithResponseA return service.getCertificateWithPolicyAsync(vaultUrl, certificateName, version, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving certificate - {}", certificateName)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving certificate - {}", certificateName)) .doOnSuccess(response -> - logger.verbose("Retrieved the certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to Retrieve the certificate - {}", certificateName, error)); + LOGGER.verbose("Retrieved the certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to Retrieve the certificate - {}", certificateName, error)); } public Response getCertificateWithResponse(String certificateName, String version, @@ -1052,10 +1048,10 @@ public Mono> getCertificateVersionWithResponseAsyn return service.getCertificateAsync(vaultUrl, certificateName, version, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving certificate - {}", certificateName)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving certificate - {}", certificateName)) .doOnSuccess(response -> - logger.verbose("Retrieved the certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to Retrieve the certificate - {}", certificateName, error)); + LOGGER.verbose("Retrieved the certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to Retrieve the certificate - {}", certificateName, error)); } public Response getCertificateVersionWithResponse(String certificateName, String version, @@ -1080,9 +1076,9 @@ public Mono> updateCertificatePropertiesWithRespon return service.updateCertificateAsync(vaultUrl, properties.getName(), properties.getVersion(), apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating certificate - {}", properties.getName())) - .doOnSuccess(response -> logger.verbose("Updated the certificate - {}", properties.getName())) - .doOnError(error -> logger.warning("Failed to update the certificate - {}", properties.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Updating certificate - {}", properties.getName())) + .doOnSuccess(response -> LOGGER.verbose("Updated the certificate - {}", properties.getName())) + .doOnError(error -> LOGGER.warning("Failed to update the certificate - {}", properties.getName(), error)); } public Response updateCertificatePropertiesWithResponse(CertificateProperties properties, @@ -1149,9 +1145,9 @@ private Mono> deleteCertificateWithResponseAsync(St Context context) { return service.deleteCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting certificate - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Deleted the certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to delete the certificate - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Deleting certificate - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Deleted the certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete the certificate - {}", certificateName, error)); } public Mono> getDeletedCertificateWithResponseAsync(String certificateName, Context context) { @@ -1159,9 +1155,9 @@ public Mono> getDeletedCertificateWithResponseAsync return service.getDeletedCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving deleted certificate - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Retrieved the deleted certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to Retrieve the deleted certificate - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving deleted certificate - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved the deleted certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to Retrieve the deleted certificate - {}", certificateName, error)); } public Response getDeletedCertificateWithResponse(String certificateName, Context context) { @@ -1177,9 +1173,9 @@ public Mono> purgeDeletedCertificateWithResponseAsync(String cert return service.purgeDeletedCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Purging certificate - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Purged the certificate - {}", response.getStatusCode())) - .doOnError(error -> logger.warning("Failed to purge the certificate - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Purging certificate - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Purged the certificate - {}", response.getStatusCode())) + .doOnError(error -> LOGGER.warning("Failed to purge the certificate - {}", certificateName, error)); } public Response purgeDeletedCertificateWithResponse(String certificateName, Context context) { @@ -1239,10 +1235,10 @@ private Mono> recoverDeletedCertificateW Context context) { return service.recoverDeletedCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Recovering deleted certificate - {}", certificateName)) + .doOnRequest(ignored -> LOGGER.verbose("Recovering deleted certificate - {}", certificateName)) .doOnSuccess(response -> - logger.verbose("Recovered the deleted certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to recover the deleted certificate - {}", certificateName, error)); + LOGGER.verbose("Recovered the deleted certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to recover the deleted certificate - {}", certificateName, error)); } public Mono> backupCertificateWithResponseAsync(String certificateName, Context context) { @@ -1250,9 +1246,9 @@ public Mono> backupCertificateWithResponseAsync(String certific return service.backupCertificateAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Backing up certificate - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Backed up the certificate - {}", response.getStatusCode())) - .doOnError(error -> logger.warning("Failed to back up the certificate - {}", certificateName, error)) + .doOnRequest(ignored -> LOGGER.verbose("Backing up certificate - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Backed up the certificate - {}", response.getStatusCode())) + .doOnError(error -> LOGGER.warning("Failed to back up the certificate - {}", certificateName, error)) .flatMap(certificateBackupResponse -> Mono.just(new SimpleResponse<>(certificateBackupResponse.getRequest(), certificateBackupResponse.getStatusCode(), certificateBackupResponse.getHeaders(), @@ -1276,10 +1272,10 @@ public Mono> restoreCertificateBackupWit return service.restoreCertificateAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Restoring the certificate")) + .doOnRequest(ignored -> LOGGER.verbose("Restoring the certificate")) .doOnSuccess(response -> - logger.verbose("Restored the certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to restore the certificate - {}", error)); + LOGGER.verbose("Restored the certificate - {}", response.getValue().getProperties().getName())) + .doOnError(error -> LOGGER.warning("Failed to restore the certificate - {}", error)); } public Response restoreCertificateBackupWithResponse(byte[] backup, @@ -1298,7 +1294,7 @@ public PagedFlux listPropertiesOfCertificates() { () -> withContext(context -> listCertificatesFirstPage(false, context)), continuationToken -> withContext(context -> listCertificatesNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1314,7 +1310,7 @@ public PagedFlux listPropertiesOfCertificates(boolean inc () -> withContext(context -> listCertificatesFirstPage(includePending, context)), continuationToken -> withContext(context -> listCertificatesNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1332,12 +1328,12 @@ private Mono> listCertificatesNextPage(Stri try { return service.getCertificatesAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing next certificates page - Page {} ", continuationToken)) - .doOnSuccess(response -> logger.verbose("Listed next certificates page - Page {} ", continuationToken)) + .doOnRequest(ignored -> LOGGER.verbose("Listing next certificates page - Page {} ", continuationToken)) + .doOnSuccess(response -> LOGGER.verbose("Listed next certificates page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next certificates page - Page {} ", continuationToken, error)); + LOGGER.warning("Failed to list next certificates page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1351,11 +1347,11 @@ private Mono> listCertificatesFirstPage(boo return service .getCertificatesAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, includePending, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing certificates")) - .doOnSuccess(response -> logger.verbose("Listed certificates")) - .doOnError(error -> logger.warning("Failed to list certificates", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing certificates")) + .doOnSuccess(response -> LOGGER.verbose("Listed certificates")) + .doOnError(error -> LOGGER.warning("Failed to list certificates", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1366,7 +1362,7 @@ public PagedFlux listDeletedCertificates(boolean includePend continuationToken -> withContext(context -> listDeletedCertificatesNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1390,14 +1386,14 @@ private Mono> listDeletedCertificatesNextPage( return service.getDeletedCertificatesAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> - logger.verbose("Listing next deleted certificates page - Page {} ", continuationToken)) + LOGGER.verbose("Listing next deleted certificates page - Page {} ", continuationToken)) .doOnSuccess(response -> - logger.verbose("Listed next deleted certificates page - Page {} ", continuationToken)) + LOGGER.verbose("Listed next deleted certificates page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next deleted certificates page - Page {} ", continuationToken, + LOGGER.warning("Failed to list next deleted certificates page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1410,11 +1406,11 @@ private Mono> listDeletedCertificatesFirstPage try { return service.getDeletedCertificatesAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, includePending, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing deleted certificates")) - .doOnSuccess(response -> logger.verbose("Listed deleted certificates")) - .doOnError(error -> logger.warning("Failed to list deleted certificates", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing deleted certificates")) + .doOnSuccess(response -> LOGGER.verbose("Listed deleted certificates")) + .doOnError(error -> LOGGER.warning("Failed to list deleted certificates", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1425,7 +1421,7 @@ public PagedFlux listDeletedCertificates() { continuationToken -> withContext(context -> listDeletedCertificatesNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1436,7 +1432,7 @@ public PagedFlux listPropertiesOfCertificateVersions(Stri continuationToken -> withContext(context -> listCertificateVersionsNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1452,11 +1448,11 @@ private Mono> listCertificateVersionsFirstP try { return service.getCertificateVersionsAsync(vaultUrl, certificateName, DEFAULT_MAX_PAGE_RESULTS, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing certificate versions - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Listed certificate versions - {}", certificateName)) - .doOnError(error -> logger.warning("Failed to list certificate versions - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing certificate versions - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Listed certificate versions - {}", certificateName)) + .doOnError(error -> LOGGER.warning("Failed to list certificate versions - {}", certificateName, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1469,14 +1465,14 @@ private Mono> listCertificateVersionsNextPa return service.getCertificatesAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> - logger.verbose("Listing next certificate versions page - Page {} ", continuationToken)) + LOGGER.verbose("Listing next certificate versions page - Page {} ", continuationToken)) .doOnSuccess(response -> - logger.verbose("Listed next certificate versions page - Page {} ", continuationToken)) + LOGGER.verbose("Listed next certificate versions page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next certificate versions page - Page {} ", continuationToken, + LOGGER.warning("Failed to list next certificate versions page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1491,11 +1487,11 @@ public Mono> mergeCertificateWithRespons return service.mergeCertificateAsync(vaultUrl, mergeCertificateOptions.getName(), apiVersion, ACCEPT_LANGUAGE, mergeParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Merging certificate - {}", mergeCertificateOptions.getName())) + .doOnRequest(ignored -> LOGGER.verbose("Merging certificate - {}", mergeCertificateOptions.getName())) .doOnSuccess(response -> - logger.verbose("Merged certificate - {}", response.getValue().getProperties().getName())) + LOGGER.verbose("Merged certificate - {}", response.getValue().getProperties().getName())) .doOnError(error -> - logger.warning("Failed to merge certificate - {}", mergeCertificateOptions.getName(), error)); + LOGGER.warning("Failed to merge certificate - {}", mergeCertificateOptions.getName(), error)); } public Response mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateOptions, @@ -1518,9 +1514,9 @@ public Mono> getCertificatePolicyWithResponseAsync(S return service.getCertificatePolicyAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, certificateName, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving certificate policy - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Retrieved certificate policy - {}", certificateName)) - .doOnError(error -> logger.warning("Failed to retrieve certificate policy - {}", certificateName, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving certificate policy - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved certificate policy - {}", certificateName)) + .doOnError(error -> LOGGER.warning("Failed to retrieve certificate policy - {}", certificateName, error)); } public Response getCertificatePolicyWithResponse(String certificateName, Context context) { @@ -1539,10 +1535,10 @@ public Mono> updateCertificatePolicyWithResponseAsyn return service.updateCertificatePolicyAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, certificateName, policyRequest, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating certificate policy - {}", certificateName)) + .doOnRequest(ignored -> LOGGER.verbose("Updating certificate policy - {}", certificateName)) .doOnSuccess(response -> - logger.verbose("Updated the certificate policy - {}", response.getValue().getUpdatedOn())) - .doOnError(error -> logger.warning("Failed to update the certificate policy - {}", certificateName, error)); + LOGGER.verbose("Updated the certificate policy - {}", response.getValue().getUpdatedOn())) + .doOnError(error -> LOGGER.warning("Failed to update the certificate policy - {}", certificateName, error)); } public Response updateCertificatePolicyWithResponse(String certificateName, CertificatePolicy policy, Context context) { @@ -1570,11 +1566,11 @@ public Mono> createIssuerWithResponseAsync(Certifica return service.setCertificateIssuerAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, issuer.getName(), parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating certificate issuer - {}", issuer.getName())) + .doOnRequest(ignored -> LOGGER.verbose("Creating certificate issuer - {}", issuer.getName())) .doOnSuccess(response -> - logger.verbose("Created the certificate issuer - {}", response.getValue().getName())) + LOGGER.verbose("Created the certificate issuer - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to create the certificate issuer - {}", issuer.getName(), error)); + LOGGER.warning("Failed to create the certificate issuer - {}", issuer.getName(), error)); } public Response createIssuerWithResponse(CertificateIssuer issuer, Context context) { @@ -1600,11 +1596,11 @@ public Mono> getIssuerWithResponseAsync(String issue return service.getCertificateIssuerAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, issuerName, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving certificate issuer - {}", issuerName)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving certificate issuer - {}", issuerName)) .doOnSuccess(response -> - logger.verbose("Retrieved the certificate issuer - {}", response.getValue().getName())) + LOGGER.verbose("Retrieved the certificate issuer - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to retreive the certificate issuer - {}", issuerName, error)); + LOGGER.warning("Failed to retreive the certificate issuer - {}", issuerName, error)); } public Response getIssuerWithResponse(String issuerName, Context context) { @@ -1621,10 +1617,10 @@ public Mono> deleteIssuerWithResponseAsync(String is return service.deleteCertificateIssuerAsync(vaultUrl, issuerName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting certificate issuer - {}", issuerName)) + .doOnRequest(ignored -> LOGGER.verbose("Deleting certificate issuer - {}", issuerName)) .doOnSuccess(response -> - logger.verbose("Deleted the certificate issuer - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to delete the certificate issuer - {}", issuerName, error)); + LOGGER.verbose("Deleted the certificate issuer - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete the certificate issuer - {}", issuerName, error)); } public Response deleteIssuerWithResponse(String issuerName, Context context) { @@ -1642,7 +1638,7 @@ public PagedFlux listPropertiesOfIssuers() { continuationToken -> withContext(context -> listPropertiesOfIssuersNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1656,11 +1652,11 @@ private Mono> listPropertiesOfIssuersFirstPage(C try { return service.getCertificateIssuersAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing certificate issuers - {}")) - .doOnSuccess(response -> logger.verbose("Listed certificate issuers - {}")) - .doOnError(error -> logger.warning("Failed to list certificate issuers - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing certificate issuers - {}")) + .doOnSuccess(response -> LOGGER.verbose("Listed certificate issuers - {}")) + .doOnError(error -> LOGGER.warning("Failed to list certificate issuers - {}", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1679,14 +1675,14 @@ private Mono> listPropertiesOfIssuersNextPage(St return service.getCertificateIssuersAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> - logger.verbose("Listing next certificate issuers page - Page {} ", continuationToken)) + LOGGER.verbose("Listing next certificate issuers page - Page {} ", continuationToken)) .doOnSuccess(response -> - logger.verbose("Listed next certificate issuers page - Page {} ", continuationToken)) + LOGGER.verbose("Listed next certificate issuers page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next certificate issuers page - Page {} ", continuationToken, + LOGGER.warning("Failed to list next certificate issuers page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1705,11 +1701,11 @@ public Mono> updateIssuerWithResponseAsync(Certifica return service.updateCertificateIssuerAsync(vaultUrl, issuer.getName(), apiVersion, ACCEPT_LANGUAGE, updateParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating certificate issuer - {}", issuer.getName())) + .doOnRequest(ignored -> LOGGER.verbose("Updating certificate issuer - {}", issuer.getName())) .doOnSuccess(response -> - logger.verbose("Updated up the certificate issuer - {}", response.getValue().getName())) + LOGGER.verbose("Updated up the certificate issuer - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to updated the certificate issuer - {}", issuer.getName(), error)); + LOGGER.warning("Failed to updated the certificate issuer - {}", issuer.getName(), error)); } public Response updateIssuerWithResponse(CertificateIssuer issuer, Context context) { @@ -1734,7 +1730,7 @@ public PagedFlux setContacts(List contac try { return new PagedFlux<>(() -> withContext(context -> setCertificateContactsWithResponse(contacts, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1747,16 +1743,16 @@ private Mono> setCertificateContactsWithRespon return service.setCertificateContactsAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, contactsParams, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing certificate contacts - {}")) - .doOnSuccess(response -> logger.verbose("Listed certificate contacts - {}")) - .doOnError(error -> logger.warning("Failed to list certificate contacts - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing certificate contacts - {}")) + .doOnSuccess(response -> LOGGER.verbose("Listed certificate contacts - {}")) + .doOnError(error -> LOGGER.warning("Failed to list certificate contacts - {}", error)); } public PagedFlux listContacts() { try { return new PagedFlux<>(() -> withContext(this::listCertificateContactsFirstPage)); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1768,11 +1764,11 @@ private Mono> listCertificateContactsFirstPage try { return service.getCertificateContactsAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing certificate contacts - {}")) - .doOnSuccess(response -> logger.verbose("Listed certificate contacts - {}")) - .doOnError(error -> logger.warning("Failed to list certificate contacts - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing certificate contacts - {}")) + .doOnSuccess(response -> LOGGER.verbose("Listed certificate contacts - {}")) + .doOnError(error -> LOGGER.warning("Failed to list certificate contacts - {}", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1780,7 +1776,7 @@ public PagedFlux deleteContacts() { try { return new PagedFlux<>(() -> withContext(this::deleteCertificateContactsWithResponse)); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1791,19 +1787,19 @@ public PagedFlux deleteContacts(Context context) { private Mono> deleteCertificateContactsWithResponse(Context context) { return service.deleteCertificateContactsAsync(vaultUrl, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting certificate contacts - {}")) - .doOnSuccess(response -> logger.verbose("Deleted certificate contacts - {}")) - .doOnError(error -> logger.warning("Failed to delete certificate contacts - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Deleting certificate contacts - {}")) + .doOnSuccess(response -> LOGGER.verbose("Deleted certificate contacts - {}")) + .doOnError(error -> LOGGER.warning("Failed to delete certificate contacts - {}", error)); } public Mono> deleteCertificateOperationWithResponseAsync(String certificateName, Context context) { return service.deleteCertificateOperationAsync(vaultUrl, certificateName, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting certificate operation - {}", certificateName)) - .doOnSuccess(response -> logger.verbose("Deleted the certificate operation - {}", response.getStatusCode())) + .doOnRequest(ignored -> LOGGER.verbose("Deleting certificate operation - {}", certificateName)) + .doOnSuccess(response -> LOGGER.verbose("Deleted the certificate operation - {}", response.getStatusCode())) .doOnError(error -> - logger.warning("Failed to delete the certificate operation - {}", certificateName, error)); + LOGGER.warning("Failed to delete the certificate operation - {}", certificateName, error)); } public Response deleteCertificateOperationWithResponse(String certificateName, diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java index af04b11a8f9b2..063775144dd76 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java @@ -15,8 +15,7 @@ * A certificate operation is returned in case of long running service requests. */ public final class CertificateOperation { - - private final ClientLogger logger = new ClientLogger(CertificateOperation.class); + private static final ClientLogger LOGGER = new ClientLogger(CertificateOperation.class); /** * URL for the Azure KeyVault service. @@ -228,7 +227,7 @@ void unpackId(String id) { this.vaultUrl = (tokens.length >= 2 ? tokens[1] : null); this.name = (tokens.length >= 3 ? tokens[2] : null); } catch (MalformedURLException e) { - throw logger.logExceptionAsError(new IllegalArgumentException("The Azure Key Vault endpoint url is malformed.", e)); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("The Azure Key Vault endpoint url is malformed.", e)); } } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java index 9ebded99b4067..76591cee5c36a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java @@ -17,8 +17,7 @@ * Represents base properties of a certificate. */ public class CertificateProperties { - - private final ClientLogger logger = new ClientLogger(CertificateProperties.class); + private static final ClientLogger LOGGER = new ClientLogger(CertificateProperties.class); /** * URL for the Azure KeyVault service. @@ -273,7 +272,7 @@ void unpackId(String id) { this.name = (tokens.length >= 3 ? tokens[2] : null); this.version = (tokens.length >= 4 ? tokens[3] : null); } catch (MalformedURLException e) { - throw logger.logExceptionAsError(new IllegalArgumentException("The Azure Key Vault endpoint url is malformed.", e)); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("The Azure Key Vault endpoint url is malformed.", e)); } } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/KeyVaultCertificateIdentifier.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/KeyVaultCertificateIdentifier.java index 22261639a6cd1..8d7ed3bc18958 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/KeyVaultCertificateIdentifier.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/KeyVaultCertificateIdentifier.java @@ -17,7 +17,8 @@ */ @Immutable public final class KeyVaultCertificateIdentifier { - private final ClientLogger logger = new ClientLogger(KeyVaultCertificateIdentifier.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultCertificateIdentifier.class); + private final String sourceId, vaultUrl, name, version; /** @@ -39,7 +40,7 @@ public final class KeyVaultCertificateIdentifier { */ public KeyVaultCertificateIdentifier(String sourceId) { if (sourceId == null) { - throw logger.logExceptionAsError(new NullPointerException("'sourceId' cannot be null")); + throw LOGGER.logExceptionAsError(new NullPointerException("'sourceId' cannot be null")); } try { @@ -49,7 +50,7 @@ public KeyVaultCertificateIdentifier(String sourceId) { // More or less segments in the URI than expected. if (pathSegments.length != 3 && pathSegments.length != 4) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.")); } @@ -58,7 +59,7 @@ public KeyVaultCertificateIdentifier(String sourceId) { this.name = pathSegments[2]; this.version = pathSegments.length == 4 ? pathSegments[3] : null; } catch (MalformedURLException e) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.", e)); } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateAsyncClientTest.java index e7bf758b99024..3b5b88dc552b2 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateAsyncClientTest.java @@ -64,8 +64,8 @@ private void createCertificateAsyncClient(HttpClient httpClient, CertificateServ private void createCertificateAsyncClient(HttpClient httpClient, CertificateServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); CertificateClientImpl implClient = spy(new CertificateClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTest.java b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTest.java index 17becc9a6c7de..cb471d60885f3 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTest.java @@ -66,8 +66,8 @@ private void createCertificateClient(HttpClient httpClient, CertificateServiceVe private void createCertificateClient(HttpClient httpClient, CertificateServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); CertificateClientImpl implClient = spy(new CertificateClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTestBase.java b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTestBase.java index b03e83dc2b068..4664d86163973 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/java/com/azure/security/keyvault/certificates/CertificateClientTestBase.java @@ -17,8 +17,13 @@ import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.RetryStrategy; import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.models.TestProxySanitizer; +import com.azure.core.test.models.TestProxySanitizerType; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import com.azure.identity.ClientSecretCredentialBuilder; @@ -51,6 +56,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Base64; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -64,7 +70,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.fail; -public abstract class CertificateClientTestBase extends TestBase { +public abstract class CertificateClientTestBase extends TestProxyTestBase { static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; private static final String SDK_NAME = "client_name"; private static final String SDK_VERSION = "client_version"; @@ -81,6 +87,7 @@ protected String getTestName() { } void beforeTestSetup() { + KeyVaultCredentialPolicy.clearCache(); } HttpPipeline getHttpPipeline(HttpClient httpClient) { @@ -88,7 +95,7 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { } HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { - TokenCredential credential = null; + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -107,6 +114,19 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + + if (interceptorManager.isRecordMode()) { + List customSanitizers = new ArrayList<>(); + customSanitizers.add(new TestProxySanitizer("value", "-----BEGIN PRIVATE KEY-----\\n(.+\\n)*-----END PRIVATE KEY-----\\n", "-----BEGIN PRIVATE KEY-----\\nREDACTED\\n-----END PRIVATE KEY-----\\n", TestProxySanitizerType.BODY_KEY)); + interceptorManager.addSanitizers(customSanitizers); + } + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -121,19 +141,20 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - if (getTestMode() == TestMode.RECORD) { + if (interceptorManager.isRecordMode()) { policies.add(interceptorManager.getRecordPolicy()); } return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .build(); } @@ -626,7 +647,7 @@ boolean validateCertificate(KeyVaultCertificate expected, KeyVaultCertificate ac public String getEndpoint() { final String endpoint = - Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "http://localhost:8080"); + Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "https://localhost:8080"); Objects.requireNonNull(endpoint); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificateNotFound[1].json index 09901470595fa..ba27964ab27f0 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "258a9fe7-3f05-413c-9380-ed54eff499c4" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3acb3a51-f561-4f63-a099-fa0f8aa776cb", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "34933239-d533-44b3-a0fa-c5a101d61cef" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificate[1].json index 58b275d4dafee..936d43c52b1cc 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.backupCertificate[1].json @@ -1,105 +1,288 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert661444e3f00/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert133557460fc/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b0ac04b6-af38-4631-b11a-1bdc23e415cd" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1a3dcd3-9612-4b8c-b691-20c49c193fd8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETDPw2a3lLaiQvPCBJyZ76uDT75wZkx9k7wjV0SjntPpCHqDENOL+GopDy0Mv6bfQQlRO1ve6VJ+NGjCSbJQ3OIVcRVkkO69elFJc3s1wb49cXogNt+IKe3B6N78emwCIoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAL2SAibOw4ENc53k+oX2zD1tESFYq59Mcs2kqGuM3FfQ3A15MMornLcpZNa5w8jzvgIwANvdiquH66Urx889WSNc8zN3djcn0m+uot9YYCcqRl42OwHOd/mB7Ed0LgTzLlf0\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"b75681e49586406f8ddd79c8a05a4f98\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/pending?api-version=7.4&request_id=b75681e49586406f8ddd79c8a05a4f98", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert133557460fc/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/pending?api-version=7.4\u0026request_id=f075ba89f1634dac9d98d2abedf01d79", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a5f70575-0d33-4aa7-9060-e60cdf6d5b66" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEQNH/NcvXWGg0sJYMExNr9l6Et4uh2yu7kTS7cdkoOAGncVkWgAeq38Sr1mglucE68vOr2ktuqUicf\u002BFDe13bAZy8mQg7ntrIB4uphi3iWfDSJ9O6iLcv0ydESSwnkelooEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwXlM9Ax76uO24CSxduqy2M\u002B5WsQq0pyCnxGS/VLWDIMWCahWfKpqZt\u002BKLooPHHeBdAjEAyfqzdJfLNg84UrtWaVzS3elZgfgNg1tgL2rbWJ8DuZs28BmvcY4WSEsmLrSfidNW", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "f075ba89f1634dac9d98d2abedf01d79" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert661444e3f00/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert133557460fc/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "931e0368-268e-426b-9078-0324d863b77a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEQNH/NcvXWGg0sJYMExNr9l6Et4uh2yu7kTS7cdkoOAGncVkWgAeq38Sr1mglucE68vOr2ktuqUicf\u002BFDe13bAZy8mQg7ntrIB4uphi3iWfDSJ9O6iLcv0ydESSwnkelooEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwXlM9Ax76uO24CSxduqy2M\u002B5WsQq0pyCnxGS/VLWDIMWCahWfKpqZt\u002BKLooPHHeBdAjEAyfqzdJfLNg84UrtWaVzS3elZgfgNg1tgL2rbWJ8DuZs28BmvcY4WSEsmLrSfidNW", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc", + "request_id": "f075ba89f1634dac9d98d2abedf01d79" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9884a95a-3e4c-4b79-97ff-278c901ebb12", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETDPw2a3lLaiQvPCBJyZ76uDT75wZkx9k7wjV0SjntPpCHqDENOL+GopDy0Mv6bfQQlRO1ve6VJ+NGjCSbJQ3OIVcRVkkO69elFJc3s1wb49cXogNt+IKe3B6N78emwCIoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAL2SAibOw4ENc53k+oX2zD1tESFYq59Mcs2kqGuM3FfQ3A15MMornLcpZNa5w8jzvgIwANvdiquH66Urx889WSNc8zN3djcn0m+uot9YYCcqRl42OwHOd/mB7Ed0LgTzLlf0\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00\",\"request_id\":\"b75681e49586406f8ddd79c8a05a4f98\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert133557460fc/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3e993303-0125-491b-980c-4a3e7fe5d86a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/43ed841d3df042a296d9b8f476ccb626", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert133557460fc/43ed841d3df042a296d9b8f476ccb626", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert133557460fc/43ed841d3df042a296d9b8f476ccb626", + "x5t": "gDWghXWmU_2967VBmY1griWD0ls", + "cer": "MIIB2zCCAWGgAwIBAgIQML\u002BsijwZSV\u002B2WdPb1KXeTDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1N1oXDTI1MDQxMjAyNTE1N1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEDR/zXL11hoNLCWDBMTa/ZehLeLodsru5E0u3HZKDgBp3FZFoAHqt/Eq9ZoJbnBOvLzq9pLbqlInH/hQ3td2wGcvJkIO57ayAeLqYYt4lnw0ifTuoi3L9MnREksJ5HpaKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFL8m8tXM/wLCpEe80q4AV6tS9REtMB0GA1UdDgQWBBS/JvLVzP8CwqRHvNKuAFerUvURLTAKBggqhkjOPQQDAwNoADBlAjB/amy2h3Eb7MQ9VxfAwElOuZvdtFNWqD8aA\u002BiEWSj6Mp4VMQu\u002B\u002BIusDoTcpUFiMCcCMQD7ezYwh5BO4TyWcPyT3cqImp06hvxvJ1jg\u002BHlPFQB6q9jDrqwLgZL2oyMl0mjQZHw=", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert661444e3f00/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "78b739f3-11aa-430f-87cc-b428263780f6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/960ad68b833846209b95e1ab861d2187\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert661444e3f00/960ad68b833846209b95e1ab861d2187\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert661444e3f00/960ad68b833846209b95e1ab861d2187\",\"x5t\":\"h-CJtnU02x2a7hsGM_ANDPJCoUo\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQQ2ya+PRvR2m6v8THZNT3NDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMloXDTI1MDMxNjA4MDkxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEwz8Nmt5S2okLzwgScme+rg0++cGZMfZO8I1dEo57T6Qh6gxDTi/hqKQ8tDL+m30EJUTtb3ulSfjRowkmyUNziFXEVZJDuvXpRSXN7NcG+PXF6IDbfiCntweje/HpsAiKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFLIJXuiG7VFejIqqoi+8PWoTsDvCMB0GA1UdDgQWBBSyCV7ohu1RXoyKqqIvvD1qE7A7wjAKBggqhkjOPQQDAwNpADBmAjEA72bpFvii9M7VTnULjgj732mbU/m7clZ3dtCgTXGUVCkzKx1kTfpiv7TIWtzOovDTAjEAmvxDIH/l1OHc7oo37ykL2G8g2RQcBd3Z1zGo4DDA/QAofqpKaUvpQ8RsY/fB5zY/\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert661444e3f00/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "26742", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c91944f9-2dce-4a4d-a21a-be19289d7402", - "Body" : "{\"value\":\"JkF6dXJlS2V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bl9rUnZaWTJKOTZOdEg1czBfbWN3OGtYWUVELWFTaVBCUTdXd1c0d01fOWhoWS1QUXFRaFJSWmVqb09TRk5KLXBRTTI4M2ZidzV0d3JHSElNalZveTd4UklYNnF5ZGtTMXVGNVpHV2oyRlZ6cWNJeWNXQm5wYy0xWE4ya2psek10UnZhNkpPbzRoWjBKYWJUN1JnamFROWd6TC1iWEsybnFxcmIzODZhbEJBdVlsT0tiTnNhc2JvOHY5X1FnZVdVMUVMQmVxa0dCRkppRU1paTZDM09NN3p6R0NUVFN1QmNiV2t3LVZPU0l2bTd4Uk5SZ2hwR2MyRnBTUGNDSHFYVkNlWXZoNmRoMkEuMm40M0wyRXpLUTN6OE1Ea1BDSF9SV2JTVTZnRkptd0IxY3B1X2x6N0xfdw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert661444e3f00" ] + { + "RequestUri": "https://REDACTED/certificates/testcert133557460fc/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "27054", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "14e8f335-1b9b-4a50-bf8e-4ca07eeee7d3" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQ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SXA4NXRGOUZKWHdXSHV1NnI2OHpNZ1JXaXVkWVNkZXRLZkg4cExPNjR1dUZ0UW0xUFliX3dQSjFIcjVIR0swQ3QyNi1BMVFGTGt1VzllVldOQm5yM2VmTkRJWlV2VE1mQzRma0ZYdC1fa202VVhmUjBQcEs4TWZ2eEdzWkJaLTlEa3FBWnVjX1lPMWNRck5SSWZwYl9WSkNNMHhjdkdRNHAya3FiY3JVdU9rRmhrQms2VlExSlJSTFE5WXRySU43MVdoT0ZwcVpSLUUtSGdlQmVKYXB2Y242MUFpcnlTWHV2V3BvQ1NWLUhRcm5RazI4NmpZN0tuY1I2WnlYeldKMGREaHA1N2V6SUh1Ul9jdnRjNUJKQURVc25fS3RFNVhHSHlJQUVxODZyNmR0VmRuME5CeVEtT1oxWjNrcWpJZVdWc2phSUxLU05COVNIWHczSlZ0Y0NGdzVkTXNfaDBvb1dlSG5sUVN5LWVKUE5hbDdwbl8xc1c0WjF5cHhfVmJPQzFOVUZTUkdGNVZoZzZuVDhJWTQtZVd5eTZaRlF5TXcxUGItNUEyS0paUmZrcXF4RXQuZ0JMYWpiNTJyTUxtTk5wUVV0LVZuc0VoQ1lacEdUNW5uQnc3VGtSMjcwMA" + } + } + ], + "Variables": { + "0": "testcert133557460fc" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.cancelCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.cancelCertificateOperation[1].json index 0841250f1a655..78f85fd706283 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.cancelCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.cancelCertificateOperation[1].json @@ -1,130 +1,305 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert153755d51c9/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3d991ca0-bd35-49d7-a223-b2e5cc364b47" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Fri, 07 Apr 2023 21:25:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1300", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "7eb94b7c-1cd6-4217-9cd2-cbeed51b8523", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMnvh91l07zLszoRDJ/XlJWH5ShxoB7lc+0TjSEgqFOLwlDKTId8S2FrjSQvDrR8oCZ3cFJ28ZG1v4bGeF66xzoiNGopfEMNcM7HvScFFaJgSAdFLXvxtefLwKCb/jtUYlSwefv1A+lnniTg/JX6/uBZuPwSts/8HzmcP28XnBUmUDJ8BMiDyY76cK5xy3pJyXsfuraL/cjRQ00cnVYuAEeX8Lvzr2IRmJ5f4+eWSlhavdJYrpDbxJBBzmMc11Wkx5iSVphI60wp8eYQO9t0kb1t5hExIDAv6K5fqw5ihjuePryl4fYIQ8v9PcUdVl5mefHPzULYQf2Lm2jTZYZRBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCMV7HJMQhpkI0UJ2c1uu/0CgNj0295hM+eKkgCY8gvYOVQkTAS/w4/Mz4BFz4hSZa2Gy4vQIp9z9v8kfnjylOAB+fYY+p41k8CXDm5onm00lwjhrrn4bx1werhy0w++bT1E6opbpV0JEVHZdPKbydCZP/S/caO623h4hM/qeD5zNmKoF0q4zYjoAihoymAcP1FygClwZOcqDPMpb5cKBLW/HZsgQJGVeJFst+gnmSBud+3PBvxJUVkg+ubak9gcTzVt9cope+JxfzXyKBdvYaq3m2xXwLGDrrbE3s6eBYE+7ZSbHdAayyGjH/gdspM6N93isV7Z0laXH0nHCalrKTI\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"b99a8e82a48345c29eadf8597df41c13\"}", - "Location" : "https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending?api-version=7.4&request_id=b99a8e82a48345c29eadf8597df41c13", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:08 GMT", + "Expires": "-1", + "Location": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending?api-version=7.4\u0026request_id=7a98701a7694431398be90d56fac2fbe", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "11c098c7-e814-4eea-a064-b77b826d36a4" + }, + "ResponseBody": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL2ZYxYFXXndec8rkCmYfzZHM9\u002BnYdk/larqSknU2iqYpUNJ4qpgjUxelpraoOFa6OfJfld2e30vLiZ0agVytckr\u002B/c1H8TUfN2XOAcyHf08XoPgVv9e8GrKd5hR2pOOPywrnDtjehW36OBakXoj6tGiL7829wpn08YfA6b70nLvBaUrXntC7Yf8vL\u002Bx2O2lpIyPX0cgHOENj9EEwVBMculVWqlNbZt5/2NiHtAQk/hrMIyEKqFLiTrMoJSz9XyohAeubNR7r7GwdzN10Y47PnKUIyUelr9PB\u002BzoSRXbF23Mj9U0Nbcs1hheqm/zPp4\u002BVuKVhjXAWL/UCENePsRqAxkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAt/XTsOZxCUJ/WGOWVV8NAXLlPYo9fkIWYPPV2mIXDl9H9GPsWu6MwdYG\u002BoR\u002BPLxPC\u002BBXy/ylRmJRoz7GM5AxpsttTynYb5\u002Bn39wEuhAEu6kbuHjKqdIaBKRiV81n/ByEm3Fn6ryudxfSpxxya82iVN\u002BbJBJi\u002BBvV2Lk57fOumCrHChQmifK81V11JW/HZXK0fw0DkNa7Rj79T/hQ0/1u1w\u002B0JcVKfDWWN0V0xnEm6jRlzwYb87YOVmEDGR/8gXPRrhk/8\u002BHVWQBKU/yBbtpMDnmswsazbBpeyjJllvpn7SRcAgXWgz3M7yvQcOM20j37tSsIjGhI7KNFNxdgwic8G", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a98701a7694431398be90d56fac2fbe" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert153755d51c9/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1c474912-fb28-4175-b1ac-bf66e0e3a13d" + }, + "ResponseBody": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL2ZYxYFXXndec8rkCmYfzZHM9\u002BnYdk/larqSknU2iqYpUNJ4qpgjUxelpraoOFa6OfJfld2e30vLiZ0agVytckr\u002B/c1H8TUfN2XOAcyHf08XoPgVv9e8GrKd5hR2pOOPywrnDtjehW36OBakXoj6tGiL7829wpn08YfA6b70nLvBaUrXntC7Yf8vL\u002Bx2O2lpIyPX0cgHOENj9EEwVBMculVWqlNbZt5/2NiHtAQk/hrMIyEKqFLiTrMoJSz9XyohAeubNR7r7GwdzN10Y47PnKUIyUelr9PB\u002BzoSRXbF23Mj9U0Nbcs1hheqm/zPp4\u002BVuKVhjXAWL/UCENePsRqAxkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAt/XTsOZxCUJ/WGOWVV8NAXLlPYo9fkIWYPPV2mIXDl9H9GPsWu6MwdYG\u002BoR\u002BPLxPC\u002BBXy/ylRmJRoz7GM5AxpsttTynYb5\u002Bn39wEuhAEu6kbuHjKqdIaBKRiV81n/ByEm3Fn6ryudxfSpxxya82iVN\u002BbJBJi\u002BBvV2Lk57fOumCrHChQmifK81V11JW/HZXK0fw0DkNa7Rj79T/hQ0/1u1w\u002B0JcVKfDWWN0V0xnEm6jRlzwYb87YOVmEDGR/8gXPRrhk/8\u002BHVWQBKU/yBbtpMDnmswsazbBpeyjJllvpn7SRcAgXWgz3M7yvQcOM20j37tSsIjGhI7KNFNxdgwic8G", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a98701a7694431398be90d56fac2fbe" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Fri, 07 Apr 2023 21:25:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1300", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "5b47f330-a54d-4078-98e1-ffe16b255c27", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMnvh91l07zLszoRDJ/XlJWH5ShxoB7lc+0TjSEgqFOLwlDKTId8S2FrjSQvDrR8oCZ3cFJ28ZG1v4bGeF66xzoiNGopfEMNcM7HvScFFaJgSAdFLXvxtefLwKCb/jtUYlSwefv1A+lnniTg/JX6/uBZuPwSts/8HzmcP28XnBUmUDJ8BMiDyY76cK5xy3pJyXsfuraL/cjRQ00cnVYuAEeX8Lvzr2IRmJ5f4+eWSlhavdJYrpDbxJBBzmMc11Wkx5iSVphI60wp8eYQO9t0kb1t5hExIDAv6K5fqw5ihjuePryl4fYIQ8v9PcUdVl5mefHPzULYQf2Lm2jTZYZRBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCMV7HJMQhpkI0UJ2c1uu/0CgNj0295hM+eKkgCY8gvYOVQkTAS/w4/Mz4BFz4hSZa2Gy4vQIp9z9v8kfnjylOAB+fYY+p41k8CXDm5onm00lwjhrrn4bx1werhy0w++bT1E6opbpV0JEVHZdPKbydCZP/S/caO623h4hM/qeD5zNmKoF0q4zYjoAihoymAcP1FygClwZOcqDPMpb5cKBLW/HZsgQJGVeJFst+gnmSBud+3PBvxJUVkg+ubak9gcTzVt9cope+JxfzXyKBdvYaq3m2xXwLGDrrbE3s6eBYE+7ZSbHdAayyGjH/gdspM6N93isV7Z0laXH0nHCalrKTI\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"b99a8e82a48345c29eadf8597df41c13\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/pending?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "cancellation_requested": true + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f5568eb-4eaa-4e57-82e1-fa4baed18e68" + }, + "ResponseBody": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL2ZYxYFXXndec8rkCmYfzZHM9\u002BnYdk/larqSknU2iqYpUNJ4qpgjUxelpraoOFa6OfJfld2e30vLiZ0agVytckr\u002B/c1H8TUfN2XOAcyHf08XoPgVv9e8GrKd5hR2pOOPywrnDtjehW36OBakXoj6tGiL7829wpn08YfA6b70nLvBaUrXntC7Yf8vL\u002Bx2O2lpIyPX0cgHOENj9EEwVBMculVWqlNbZt5/2NiHtAQk/hrMIyEKqFLiTrMoJSz9XyohAeubNR7r7GwdzN10Y47PnKUIyUelr9PB\u002BzoSRXbF23Mj9U0Nbcs1hheqm/zPp4\u002BVuKVhjXAWL/UCENePsRqAxkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAt/XTsOZxCUJ/WGOWVV8NAXLlPYo9fkIWYPPV2mIXDl9H9GPsWu6MwdYG\u002BoR\u002BPLxPC\u002BBXy/ylRmJRoz7GM5AxpsttTynYb5\u002Bn39wEuhAEu6kbuHjKqdIaBKRiV81n/ByEm3Fn6ryudxfSpxxya82iVN\u002BbJBJi\u002BBvV2Lk57fOumCrHChQmifK81V11JW/HZXK0fw0DkNa7Rj79T/hQ0/1u1w\u002B0JcVKfDWWN0V0xnEm6jRlzwYb87YOVmEDGR/8gXPRrhk/8\u002BHVWQBKU/yBbtpMDnmswsazbBpeyjJllvpn7SRcAgXWgz3M7yvQcOM20j37tSsIjGhI7KNFNxdgwic8G", + "cancellation_requested": true, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a98701a7694431398be90d56fac2fbe" + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert153755d51c9/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0a96d3b3-4b7c-474d-ad2a-0ead96db942d" + }, + "ResponseBody": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL2ZYxYFXXndec8rkCmYfzZHM9\u002BnYdk/larqSknU2iqYpUNJ4qpgjUxelpraoOFa6OfJfld2e30vLiZ0agVytckr\u002B/c1H8TUfN2XOAcyHf08XoPgVv9e8GrKd5hR2pOOPywrnDtjehW36OBakXoj6tGiL7829wpn08YfA6b70nLvBaUrXntC7Yf8vL\u002Bx2O2lpIyPX0cgHOENj9EEwVBMculVWqlNbZt5/2NiHtAQk/hrMIyEKqFLiTrMoJSz9XyohAeubNR7r7GwdzN10Y47PnKUIyUelr9PB\u002BzoSRXbF23Mj9U0Nbcs1hheqm/zPp4\u002BVuKVhjXAWL/UCENePsRqAxkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAt/XTsOZxCUJ/WGOWVV8NAXLlPYo9fkIWYPPV2mIXDl9H9GPsWu6MwdYG\u002BoR\u002BPLxPC\u002BBXy/ylRmJRoz7GM5AxpsttTynYb5\u002Bn39wEuhAEu6kbuHjKqdIaBKRiV81n/ByEm3Fn6ryudxfSpxxya82iVN\u002BbJBJi\u002BBvV2Lk57fOumCrHChQmifK81V11JW/HZXK0fw0DkNa7Rj79T/hQ0/1u1w\u002B0JcVKfDWWN0V0xnEm6jRlzwYb87YOVmEDGR/8gXPRrhk/8\u002BHVWQBKU/yBbtpMDnmswsazbBpeyjJllvpn7SRcAgXWgz3M7yvQcOM20j37tSsIjGhI7KNFNxdgwic8G", + "cancellation_requested": true, + "status": "cancelled", + "request_id": "7a98701a7694431398be90d56fac2fbe" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Fri, 07 Apr 2023 21:25:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "ad599d9a-11d5-4b72-a2c1-857c44862319", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMnvh91l07zLszoRDJ/XlJWH5ShxoB7lc+0TjSEgqFOLwlDKTId8S2FrjSQvDrR8oCZ3cFJ28ZG1v4bGeF66xzoiNGopfEMNcM7HvScFFaJgSAdFLXvxtefLwKCb/jtUYlSwefv1A+lnniTg/JX6/uBZuPwSts/8HzmcP28XnBUmUDJ8BMiDyY76cK5xy3pJyXsfuraL/cjRQ00cnVYuAEeX8Lvzr2IRmJ5f4+eWSlhavdJYrpDbxJBBzmMc11Wkx5iSVphI60wp8eYQO9t0kb1t5hExIDAv6K5fqw5ihjuePryl4fYIQ8v9PcUdVl5mefHPzULYQf2Lm2jTZYZRBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCMV7HJMQhpkI0UJ2c1uu/0CgNj0295hM+eKkgCY8gvYOVQkTAS/w4/Mz4BFz4hSZa2Gy4vQIp9z9v8kfnjylOAB+fYY+p41k8CXDm5onm00lwjhrrn4bx1werhy0w++bT1E6opbpV0JEVHZdPKbydCZP/S/caO623h4hM/qeD5zNmKoF0q4zYjoAihoymAcP1FygClwZOcqDPMpb5cKBLW/HZsgQJGVeJFst+gnmSBud+3PBvxJUVkg+ubak9gcTzVt9cope+JxfzXyKBdvYaq3m2xXwLGDrrbE3s6eBYE+7ZSbHdAayyGjH/gdspM6N93isV7Z0laXH0nHCalrKTI\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"b99a8e82a48345c29eadf8597df41c13\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert153755d51c9/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Fri, 07 Apr 2023 21:25:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1134", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "fba4f99a-18d5-45c3-912f-2649e6e6c064", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMnvh91l07zLszoRDJ/XlJWH5ShxoB7lc+0TjSEgqFOLwlDKTId8S2FrjSQvDrR8oCZ3cFJ28ZG1v4bGeF66xzoiNGopfEMNcM7HvScFFaJgSAdFLXvxtefLwKCb/jtUYlSwefv1A+lnniTg/JX6/uBZuPwSts/8HzmcP28XnBUmUDJ8BMiDyY76cK5xy3pJyXsfuraL/cjRQ00cnVYuAEeX8Lvzr2IRmJ5f4+eWSlhavdJYrpDbxJBBzmMc11Wkx5iSVphI60wp8eYQO9t0kb1t5hExIDAv6K5fqw5ihjuePryl4fYIQ8v9PcUdVl5mefHPzULYQf2Lm2jTZYZRBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCMV7HJMQhpkI0UJ2c1uu/0CgNj0295hM+eKkgCY8gvYOVQkTAS/w4/Mz4BFz4hSZa2Gy4vQIp9z9v8kfnjylOAB+fYY+p41k8CXDm5onm00lwjhrrn4bx1werhy0w++bT1E6opbpV0JEVHZdPKbydCZP/S/caO623h4hM/qeD5zNmKoF0q4zYjoAihoymAcP1FygClwZOcqDPMpb5cKBLW/HZsgQJGVeJFst+gnmSBud+3PBvxJUVkg+ubak9gcTzVt9cope+JxfzXyKBdvYaq3m2xXwLGDrrbE3s6eBYE+7ZSbHdAayyGjH/gdspM6N93isV7Z0laXH0nHCalrKTI\",\"cancellation_requested\":true,\"status\":\"cancelled\",\"request_id\":\"b99a8e82a48345c29eadf8597df41c13\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert153755d51c9/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Fri, 07 Apr 2023 21:25:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1014", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "2ea4c115-44b2-4c6b-91db-ea1135509100", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/7ac4078a3f194b1f94c987b93f79bcac\",\"attributes\":{\"enabled\":false,\"nbf\":1680902116,\"exp\":1712525116,\"created\":1680902716,\"updated\":1680902716,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90},\"policy\":{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1680902716,\"updated\":1680902716}},\"pending\":{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert153755d51c9/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert153755d51c9" ] + { + "RequestUri": "https://REDACTED/certificates/testcert845584ffd2a/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1014", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:00:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "846cd5e9-bec8-47b6-a3a0-e825ce202f58" + }, + "ResponseBody": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/159f38b62c1c47449de7ce0f4976a292", + "attributes": { + "enabled": false, + "nbf": 1681267809, + "exp": 1712890809, + "created": 1681268409, + "updated": 1681268409, + "recoveryLevel": "Recoverable\u002BPurgeable", + "recoverableDays": 90 + }, + "policy": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681268409, + "updated": 1681268409 + } + }, + "pending": { + "id": "https://azure-kv-tests2.vault.azure.net/certificates/testcert845584ffd2a/pending" + } + } + } + ], + "Variables": { + "0": "testcert845584ffd2a" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateEmptyName[1].json index 638d2cdd51e58..a3dd914e7e854 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateEmptyName[1].json @@ -1,29 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates//create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b17ed161-33cd-4963-802e-71df60a5f897" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "71", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5943b12c-b8b1-43c5-a6bc-14cfbcdf68f0", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP POST not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "71", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ebc7644b-8e0a-47f8-a680-5e3413e6b289" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP POST not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNullPolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNullPolicy[1].json index b1df158be8eb8..ac116fbbcfcdc 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNullPolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNullPolicy[1].json @@ -1,4 +1,6 @@ { - "networkCallRecords" : [ ], - "variables" : [ "tempcert340255a8" ] -} \ No newline at end of file + "Entries": [], + "Variables": { + "0": "tempcert561337bd" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNull[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateWithMultipleTenants[1].json index 206d138c1afbc..18821e21e8286 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificateWithMultipleTenants[1].json @@ -1,1531 +1,646 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "12de59f9-af00-46da-b4f6-e693f454c48b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4&request_id=a63d893f06a243e1bafe31171d877767", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d12c8f81-ea17-43d7-801d-c43f84274897", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e8a40092-7969-4a69-9869-d7de8ae6c536", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dd40f876-3c84-4f54-9dff-ad8cdf755d79", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2ffb1a35-3a9a-47d3-926a-62f89b3198e5", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4994b201-fbf0-44f3-bb9a-3ae43d4cda33", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "17f40f38-7ece-4e81-b25b-25a52bc5cd4a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "02d3915e-b420-4640-bff7-23cf72be83d1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7c64786e-eef0-440c-8517-6b7e858d5dd1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9ea054b1-7e7a-460b-bc3f-b107de2aa208", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "989b484e-8ace-4e24-b8c5-ccd4e73a2240", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f6533f32-009b-42b8-be4a-be4069399005", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "53eb199e-efe8-47b0-bbf0-248263d4cfd4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:36 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b676a6d7-098c-4a5b-91b6-85bd79f758cd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:37 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7d22752f-416d-456f-868c-0b234f474931", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:38 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "12c00293-292a-406a-81a7-d863a3d26e1e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:39 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "74df2447-ce82-4b22-9c08-4a0cc91fbb37", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a676fe80-592b-4cc8-9ff6-f157c9097aaa", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fe8f2b95-b999-443f-8302-30e3c58abe16", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "13158bc1-f5e2-464d-8879-53f38debe5bf", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d525448d-18c1-44ef-a067-707d953d5744", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "130a4f1a-abca-4c57-b3c0-86704ffa22e3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "377b66d2-f54b-4245-aa60-7bbb00317dff", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:47 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8d6e5ee8-f90f-4c6a-864e-e9a290f467d4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:48 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0aa6c715-8258-4c1d-8845-6113e37f3fb0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:49 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "120d80b2-88ab-4054-9713-f9176c88ccea", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:50 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dd6c224a-eb3e-4aaa-8873-1306e3894c1b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "95a4912d-3e01-447c-b3e0-0b69623e4890", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "48766c64-8fee-448a-86cf-9d4a3b99def7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f8ac19a3-a969-4300-8ff5-799602c148c3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:55 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "17951593-74d8-46e2-9221-e74880179734", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0552e159-6382-4710-a6b3-00ef94d34998", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:57 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3f15c0ba-dec6-4613-9395-eb6cdd5425a8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3222a6f9-8e37-4393-a8f7-bce843ec046f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "35fdff72-ae07-4dc2-a4da-5123490d424a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:00 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "48f3bdc6-b8fe-442b-ad17-e42edeaae1d6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:02 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1d3793b-aa5a-40d9-a6bf-4ca989e7ee12", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3e97eeff-a175-4850-bf03-c0ac4850cb3f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3219c859-c27a-4791-b90b-525ce527acbb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "59f01b29-e1c1-49a2-8e98-0a7b9d3588a6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:06 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e53fab37-7fd7-4f55-a40b-1a208a75e630", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d6992388-0b7b-4df4-a866-97b841045259", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b50eccd8-353f-4ae8-ace9-e0f395872aa7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c0613d3-f457-4423-a373-33900d5b0bd7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa324bc6-2279-4691-a329-c284bef232dc", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a014b028-6ef8-4beb-a50a-90b3b8771067", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dc1d82bc-2feb-4276-884b-4231c7564197", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ee01e5dd-93f3-4ef5-98d8-63e2c11573c6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "440382de-5e1e-4226-9ba2-b85b333f576e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6c4c22a8-7f7a-4d9f-8b3a-2380cac03042", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c9bec3d-e92c-4db7-ae23-83cf69bba540", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a4fb9892-a448-4e88-ad29-fb84a0340dd7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f38f048c-609c-4ff0-bad1-9e2d72fe96ac", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f6a7fdd2-fefd-481f-9328-d8c687bb0015", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3fe84a43-af97-450a-8bfe-425ed2236119", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "baccb364-2e5c-40ea-b63a-47fddf7d3f85", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5f771056-4986-4afb-8408-307fb13b6b01", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDDEY5PpA8omss81oUBWGD/YoCr0mFUHED5rA5NsRFt8APZN4GVDJS1cilawguykfL58ftGq7wV3+pPPNgpC3zzfolgGMu05M/T5IiKKbHdnRfn32gV+a5SwZcZtzRqKQFJg74p/vDUOElKFEo16yxo+0hM7O2mHGGu3CBZoF0XDFUeeKj8dNvnm34uPClNN6v8nzpOQ3tl9f0pV/jC9soLBtuCXLg98y/Ic0Mh/89tYfgc2YQMwjT2foKsbNIcse/0KNZKOPFDi+OT43//C/UfO3b55ZXXVS29SiAhG8+ZigSHc09B69oS8n44gk563qUlBg1cA72lo43e6ZEU9ctb\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4\",\"request_id\":\"a63d893f06a243e1bafe31171d877767\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert041204c4/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2381", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "504dc77b-12b1-4f47-9e17-db306041c3b0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/a01319d509fb4c88888fede4c7d5f290\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert041204c4/a01319d509fb4c88888fede4c7d5f290\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert041204c4/a01319d509fb4c88888fede4c7d5f290\",\"x5t\":\"lsjJbwQT9HJ9sf4eCJJU8uY9iaw\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQLwm6xyUDR3i9QZrszi6+JTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA4MDAyM1oXDTI0MDMxNjA4MTAyM1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANFadF/z0jkm4ySUfUBgRIoUzxilGUF4nOfGfvcY8Km12QTiFm9G6z/nMjNYJ3Vwon1UJuyKYF54h2bK6R0Mdpq/IYJ5KxZHBWhvNL8qTxoYOOKR37nYtMpJnVB1uBNhx8bFiwVwu9RxOQq5XPvBvBOcpPF6bnzi+G+hFQVhQ0osFvI2/HBp9IOyVWI2xNlFbRYvQCc0+Rl6PYJEyEuXQU6X+Bb/rXvFVOZp4rx+UYnpqRBeGyIfbc/ZeGvrGSlA8KfaAtRK+AFC0BDTqmp4VLFmeq+aQQ+FQmJgeILeANj85sQMeBsF8MBKspEsq90qai+c92o54ohLND1KlzHQQyUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDAhufy0lVRZkPBT+XXnJHjd2J5IMB0GA1UdDgQWBBQwIbn8tJVUWZDwU/l15yR43dieSDANBgkqhkiG9w0BAQsFAAOCAQEAxGFXhcVMtYfj4mbC3h9xcOi8SksfcRve1jR2uEqCW49ifb8GwvzDkPjBL6DF9reX0rqBdMrYY+Mc+pODzsV0d8WgencJ8eAGdvgLdeaE1vsnCRHOK3+PrHawOncglLTjIvq4V5TNZU7lO6TQ+WF2a29JGv/jHWfWFs36jcwoR1LUA1rQnsPnTdIm28qXUXrjld1vx/bFqBSXbY797+uDIe373Ytztt2A+v61GKk5hPCQb2bcx2JeVRQJMkchwHTUUCW9yr3x8k6dF4T7gF7GRHhIPYKMdEkKO9RvSMLvLkMOOKNAksnGREeBRm3yexdHEeyfRuSWr3DbzcgT87njpA==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953623,\"exp\":1710576623,\"created\":1678954223,\"updated\":1678954223,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954162}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert14089566/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:10:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8754b0a4-7749-4345-9e8c-ae71ce636de5", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANN5b//xHpi0MazpEgpEd0dMq3yx7UbIjyczQVCzyBpxMhSqrj9bcI0LCuF4eGw1XJhbORwIvaiHyB0bLPayteFlH+9hbrpj3uyAjfZgSR+Vhwqh3Zc6XgHZz0hT8CpNSsc5DdQ/BUcHZ07RKEM6Ib7ZP/+bD1C25uBZxLRrcAXiqk14AK7Fvh5p1jiCO6pbpit3VSjjgRGfEnJ+X3MZPOkDNyi/O3Jg5z80BEvRP+a8BgEtzGWVQlYlIZkwzFuPnDI+xBAoscP9GN1bRBvjyLEMWnXy0dPnOSGm3nBkVq9cXRxX6nhAUmG07I5kBZYADeEcdBpXHNzmTHZN4Cl9xd0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC+P4OVPCH7Jsm1DRb9GzU5aP/vSrYZPzT23P7VAR8ubDLnI9Qa2r++5PBKDyt6LJxycQa9hxCdtSq8ajDWUUzM6mxNN8/0MNLNoSGFCjcyiUYbFZ/G/v9/xQLP9B/nXOeSV+FbIboltQrso77Lk4jocTBjR4UV/y/E7bx7fxi7+PhwVFktkP46HRwbh5BbgOkc9aLV2OW759LHAi7aRzAXH/eMUXXaZRJeDTlO2JhDv0uKql4vH54PeJ5SzuuTmyXEMJFRwBefGYAW98rRysx+H5ZGhpIYK+DfLLcN4NYd4J2JIa+bAYNH+ndSz0mL6Yb1Zoeotcehn9W0/xXPTh0P\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"1150219f598240b5942a31a40bae8742\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert14089566/pending?api-version=7.4&request_id=1150219f598240b5942a31a40bae8742", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert14089566/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9434794f-b7ab-4557-ae57-73caca313df5", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANN5b//xHpi0MazpEgpEd0dMq3yx7UbIjyczQVCzyBpxMhSqrj9bcI0LCuF4eGw1XJhbORwIvaiHyB0bLPayteFlH+9hbrpj3uyAjfZgSR+Vhwqh3Zc6XgHZz0hT8CpNSsc5DdQ/BUcHZ07RKEM6Ib7ZP/+bD1C25uBZxLRrcAXiqk14AK7Fvh5p1jiCO6pbpit3VSjjgRGfEnJ+X3MZPOkDNyi/O3Jg5z80BEvRP+a8BgEtzGWVQlYlIZkwzFuPnDI+xBAoscP9GN1bRBvjyLEMWnXy0dPnOSGm3nBkVq9cXRxX6nhAUmG07I5kBZYADeEcdBpXHNzmTHZN4Cl9xd0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC+P4OVPCH7Jsm1DRb9GzU5aP/vSrYZPzT23P7VAR8ubDLnI9Qa2r++5PBKDyt6LJxycQa9hxCdtSq8ajDWUUzM6mxNN8/0MNLNoSGFCjcyiUYbFZ/G/v9/xQLP9B/nXOeSV+FbIboltQrso77Lk4jocTBjR4UV/y/E7bx7fxi7+PhwVFktkP46HRwbh5BbgOkc9aLV2OW759LHAi7aRzAXH/eMUXXaZRJeDTlO2JhDv0uKql4vH54PeJ5SzuuTmyXEMJFRwBefGYAW98rRysx+H5ZGhpIYK+DfLLcN4NYd4J2JIa+bAYNH+ndSz0mL6Yb1Zoeotcehn9W0/xXPTh0P\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566\",\"request_id\":\"1150219f598240b5942a31a40bae8742\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert14089566/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2381", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0ba3f1db-1d33-4a6f-b634-c7aebc1d7eea", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566/ae0aae5975ea449ab4f45365e67261da\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert14089566/ae0aae5975ea449ab4f45365e67261da\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert14089566/ae0aae5975ea449ab4f45365e67261da\",\"x5t\":\"CpSpbJHSGlBYOtl-rD4i5cQkTxA\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQPEqlKZpZQ2eoh1T8Jyiu1TANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA4MDAyNVoXDTI0MDMxNjA4MTAyNVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANN5b//xHpi0MazpEgpEd0dMq3yx7UbIjyczQVCzyBpxMhSqrj9bcI0LCuF4eGw1XJhbORwIvaiHyB0bLPayteFlH+9hbrpj3uyAjfZgSR+Vhwqh3Zc6XgHZz0hT8CpNSsc5DdQ/BUcHZ07RKEM6Ib7ZP/+bD1C25uBZxLRrcAXiqk14AK7Fvh5p1jiCO6pbpit3VSjjgRGfEnJ+X3MZPOkDNyi/O3Jg5z80BEvRP+a8BgEtzGWVQlYlIZkwzFuPnDI+xBAoscP9GN1bRBvjyLEMWnXy0dPnOSGm3nBkVq9cXRxX6nhAUmG07I5kBZYADeEcdBpXHNzmTHZN4Cl9xd0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEqLR9VgEulJ+z/BlfRoxV2hjWH5MB0GA1UdDgQWBBRKi0fVYBLpSfs/wZX0aMVdoY1h+TANBgkqhkiG9w0BAQsFAAOCAQEAfCFb8HYYSoRyVPbB22nzn8QckTFsulKP1s4yMdq2RrYMwaSqkvCojpkrDYksgFPL6LeYE5C/KJArCuCVJ90LuaWomdkeIoP4N8HkBZp7rUrpZimQcWt5R4viE2TulF/dB1cDgzMaKd3Wlw5wDY1Ql7mBXytAY+daT/HXJCvj+ymT2MeL9tbBnEoU8xlkYaL6a5V4luqJapefoQD3GGF6UIf+4Y/G5aTvF5zJhiVLSZEQJ3HKbcxSsCA/plOceoB0Nnjsym3bS083AzLVSxl/iGnmk20tGuy7UL1Cii+QSL0NPoVC2mdI1Yqw6ekd0Tz6Ap+dFri4mxaW2D/nf2nCIw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953625,\"exp\":1710576625,\"created\":1678954225,\"updated\":1678954225,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954224,\"updated\":1678954224}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "efd222d5-afe3-4198-a315-f04e1de89753", "testcert041204c4", "testcert14089566" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "59139241-4a43-4e08-b809-3d28972a119c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending?api-version=7.4\u0026request_id=e6dc7076e3594b708a914d7f1fd31a65", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1059a4f7-3395-4031-bfe8-abdf20158834" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOBJGSpAZMzpE1DtsjCgl07xCW\u002BcOca\u002Bc2NeuSXWQurcPIQUnw/wdysg6MCfrXWlSeMw4B1w5eIGaKh1KAHARGemxkA70399Hs0DLhp34x4DN1eEgpuu7X0aSkyl0mH3BWAbwHX\u002BB/xhLfmAJEbHCthnzSV1CrRIql/ONEpFlgtmv0e3HMEcGOyNeSUtBd41jy0yVylnUdvwcMXS/BKdp4l4wjnC8FhONoOILsXoKM5wNmCbbdnBkvsssHk9w6CqcrJm5NTwzoFlbbhlVWB3c4YCV7blr\u002B7SJHYkizRMNyQgqVSqejSr4eALXtGtttV7qx5amHQjsf\u002B5dX6f/CUl24kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCp61BFTudCU\u002Bz33epsl9gKbqtXDkyK/Rz1PxHhwDKZnqeWd4XFJSmAbrVBw1nTLkfwdcczdmF/BW9Rftfb5o9g61hIgNOTogkrYxlMO9QLqVnZtS9eE2VLKBJ1EKJIz7TlaI62dioV\u002BNV4Nyozm4FrQnpdqSK7BpO91WWRrEcCHxGVkYERW0IvySW1AybFQDNHJwYTK3BHxIgZsUN5VePO0emow11Szo7MgGo/sBAoz/Ow9zev8qwTXQ\u002BlACWPQE7HqwPfL7lJ6hRB7zj4rjYT9xl\u002BQ1ko2cHmmskdbClihjOgDwWdPWH7SEnVyczo0ORuMnsKNDXaRWNy/ggVk6qg", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "e6dc7076e3594b708a914d7f1fd31a65" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e32381d2-8985-4ee7-94d5-b28997b9c4a2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOBJGSpAZMzpE1DtsjCgl07xCW\u002BcOca\u002Bc2NeuSXWQurcPIQUnw/wdysg6MCfrXWlSeMw4B1w5eIGaKh1KAHARGemxkA70399Hs0DLhp34x4DN1eEgpuu7X0aSkyl0mH3BWAbwHX\u002BB/xhLfmAJEbHCthnzSV1CrRIql/ONEpFlgtmv0e3HMEcGOyNeSUtBd41jy0yVylnUdvwcMXS/BKdp4l4wjnC8FhONoOILsXoKM5wNmCbbdnBkvsssHk9w6CqcrJm5NTwzoFlbbhlVWB3c4YCV7blr\u002B7SJHYkizRMNyQgqVSqejSr4eALXtGtttV7qx5amHQjsf\u002B5dX6f/CUl24kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCp61BFTudCU\u002Bz33epsl9gKbqtXDkyK/Rz1PxHhwDKZnqeWd4XFJSmAbrVBw1nTLkfwdcczdmF/BW9Rftfb5o9g61hIgNOTogkrYxlMO9QLqVnZtS9eE2VLKBJ1EKJIz7TlaI62dioV\u002BNV4Nyozm4FrQnpdqSK7BpO91WWRrEcCHxGVkYERW0IvySW1AybFQDNHJwYTK3BHxIgZsUN5VePO0emow11Szo7MgGo/sBAoz/Ow9zev8qwTXQ\u002BlACWPQE7HqwPfL7lJ6hRB7zj4rjYT9xl\u002BQ1ko2cHmmskdbClihjOgDwWdPWH7SEnVyczo0ORuMnsKNDXaRWNy/ggVk6qg", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "e6dc7076e3594b708a914d7f1fd31a65" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0653719b-901f-4575-b940-ed67f6cbab2a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOBJGSpAZMzpE1DtsjCgl07xCW\u002BcOca\u002Bc2NeuSXWQurcPIQUnw/wdysg6MCfrXWlSeMw4B1w5eIGaKh1KAHARGemxkA70399Hs0DLhp34x4DN1eEgpuu7X0aSkyl0mH3BWAbwHX\u002BB/xhLfmAJEbHCthnzSV1CrRIql/ONEpFlgtmv0e3HMEcGOyNeSUtBd41jy0yVylnUdvwcMXS/BKdp4l4wjnC8FhONoOILsXoKM5wNmCbbdnBkvsssHk9w6CqcrJm5NTwzoFlbbhlVWB3c4YCV7blr\u002B7SJHYkizRMNyQgqVSqejSr4eALXtGtttV7qx5amHQjsf\u002B5dX6f/CUl24kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCp61BFTudCU\u002Bz33epsl9gKbqtXDkyK/Rz1PxHhwDKZnqeWd4XFJSmAbrVBw1nTLkfwdcczdmF/BW9Rftfb5o9g61hIgNOTogkrYxlMO9QLqVnZtS9eE2VLKBJ1EKJIz7TlaI62dioV\u002BNV4Nyozm4FrQnpdqSK7BpO91WWRrEcCHxGVkYERW0IvySW1AybFQDNHJwYTK3BHxIgZsUN5VePO0emow11Szo7MgGo/sBAoz/Ow9zev8qwTXQ\u002BlACWPQE7HqwPfL7lJ6hRB7zj4rjYT9xl\u002BQ1ko2cHmmskdbClihjOgDwWdPWH7SEnVyczo0ORuMnsKNDXaRWNy/ggVk6qg", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "e6dc7076e3594b708a914d7f1fd31a65" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "74978318-9549-4227-a682-d9be0291dfe3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOBJGSpAZMzpE1DtsjCgl07xCW\u002BcOca\u002Bc2NeuSXWQurcPIQUnw/wdysg6MCfrXWlSeMw4B1w5eIGaKh1KAHARGemxkA70399Hs0DLhp34x4DN1eEgpuu7X0aSkyl0mH3BWAbwHX\u002BB/xhLfmAJEbHCthnzSV1CrRIql/ONEpFlgtmv0e3HMEcGOyNeSUtBd41jy0yVylnUdvwcMXS/BKdp4l4wjnC8FhONoOILsXoKM5wNmCbbdnBkvsssHk9w6CqcrJm5NTwzoFlbbhlVWB3c4YCV7blr\u002B7SJHYkizRMNyQgqVSqejSr4eALXtGtttV7qx5amHQjsf\u002B5dX6f/CUl24kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCp61BFTudCU\u002Bz33epsl9gKbqtXDkyK/Rz1PxHhwDKZnqeWd4XFJSmAbrVBw1nTLkfwdcczdmF/BW9Rftfb5o9g61hIgNOTogkrYxlMO9QLqVnZtS9eE2VLKBJ1EKJIz7TlaI62dioV\u002BNV4Nyozm4FrQnpdqSK7BpO91WWRrEcCHxGVkYERW0IvySW1AybFQDNHJwYTK3BHxIgZsUN5VePO0emow11Szo7MgGo/sBAoz/Ow9zev8qwTXQ\u002BlACWPQE7HqwPfL7lJ6hRB7zj4rjYT9xl\u002BQ1ko2cHmmskdbClihjOgDwWdPWH7SEnVyczo0ORuMnsKNDXaRWNy/ggVk6qg", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad", + "request_id": "e6dc7076e3594b708a914d7f1fd31a65" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert52940cad/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8dc5c0e3-7fe7-4ffc-bfc9-815412c10c0e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/07f11baa6a5a4e46abafdb678aa4304f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert52940cad/07f11baa6a5a4e46abafdb678aa4304f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert52940cad/07f11baa6a5a4e46abafdb678aa4304f", + "x5t": "wLp-LJn6S5fcikpsbLf-rPDP2KQ", + "cer": "MIIDNjCCAh6gAwIBAgIQZWXmfV7sQHGEAy06inEyKDANBg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tSbBygeQ==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad/pending" + } + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b49efb63-9cbd-4bb4-9347-14d7044350b6" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0d406f1-be6c-4b61-9e80-3fe9f855ff36" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "02e106b4-10b5-4ece-a378-e77c2e65f081" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/pending?api-version=7.4\u0026request_id=55ceeb4aef2849f6ae3560c8af4670fc", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "315a84cb-6c8f-4be7-b4e7-1a41dc945758" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOe8dSTTO0XwHH6jZC\u002BENSGmyFYIUzFtsgAo\u002BNWsJAEyCHyraYAmYyxd2\u002BB5xap60mnXb67jkDG5La2Cj1PngDquljx3AZi8e3aJJBWcbMWinoQhysC7w/9wUukuj0TamM9gGm0CZVYFfTlGHFkH\u002BEaNsnojsBcI2t29SzyEbD6PQeHkQ6PzAUeGvDt7/j\u002BN\u002BN0LhfAr4x\u002BtFdQw79MhKFSk/Xq4zSgC8o/AF9ZEdWywmg/ExYifnpcrZiFyqpcQUZPm5p\u002B4ZMRdGZvWzF2XSLdETaqRi1otT0/1INHmxiZ\u002BoB9VGLxYycBbS0iKy5AJ3W4wjNRWEiY7kfw1NqDAHjECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3RXMlyjviNvDOobfJDJn5xNwpZSjhfcXQ8/BZCGBkflI\u002BapqkHLENBHo2/re9fr3IGpFenolFtsnDo\u002BYzFDq57IfMph/v4eYs/pA7lZQgJHrIY1nJABZ154icXR9h89sq3aT4RPbDfd\u002Bh7Q2alVO/KEH2DDF\u002B\u002BpaxaZHm4t5ySMU0Wp\u002Bux\u002B2nJCCxk9ve0ZC69YRJUpMXajvvGXb5WGnRhtaM3b6BS3MAth5HpDxqzs1PfNwtJFJunZvbkKI/C/kCxFFEzFcWpos14431jt6cyfPGOxP/Rr\u002BGFNVSyredvkrnGSeCw/ujTm\u002BY\u002BquIO5xyHuKvrDdzja500O8AzfEC", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "55ceeb4aef2849f6ae3560c8af4670fc" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d40baba3-1091-444b-9c6c-be1fc08730df" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOe8dSTTO0XwHH6jZC\u002BENSGmyFYIUzFtsgAo\u002BNWsJAEyCHyraYAmYyxd2\u002BB5xap60mnXb67jkDG5La2Cj1PngDquljx3AZi8e3aJJBWcbMWinoQhysC7w/9wUukuj0TamM9gGm0CZVYFfTlGHFkH\u002BEaNsnojsBcI2t29SzyEbD6PQeHkQ6PzAUeGvDt7/j\u002BN\u002BN0LhfAr4x\u002BtFdQw79MhKFSk/Xq4zSgC8o/AF9ZEdWywmg/ExYifnpcrZiFyqpcQUZPm5p\u002B4ZMRdGZvWzF2XSLdETaqRi1otT0/1INHmxiZ\u002BoB9VGLxYycBbS0iKy5AJ3W4wjNRWEiY7kfw1NqDAHjECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3RXMlyjviNvDOobfJDJn5xNwpZSjhfcXQ8/BZCGBkflI\u002BapqkHLENBHo2/re9fr3IGpFenolFtsnDo\u002BYzFDq57IfMph/v4eYs/pA7lZQgJHrIY1nJABZ154icXR9h89sq3aT4RPbDfd\u002Bh7Q2alVO/KEH2DDF\u002B\u002BpaxaZHm4t5ySMU0Wp\u002Bux\u002B2nJCCxk9ve0ZC69YRJUpMXajvvGXb5WGnRhtaM3b6BS3MAth5HpDxqzs1PfNwtJFJunZvbkKI/C/kCxFFEzFcWpos14431jt6cyfPGOxP/Rr\u002BGFNVSyredvkrnGSeCw/ujTm\u002BY\u002BquIO5xyHuKvrDdzja500O8AzfEC", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99", + "request_id": "55ceeb4aef2849f6ae3560c8af4670fc" + } + }, + { + "RequestUri": "https://REDACTED/certificates/testcert69778c99/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8a3ad3b6-a0ba-439b-bdf6-4f52faf1dd2a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/f4f6305eef564a2782f1f881c5da948e", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert69778c99/f4f6305eef564a2782f1f881c5da948e", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert69778c99/f4f6305eef564a2782f1f881c5da948e", + "x5t": "_kpN7t8cdFVp1XQB8ufpaErytPU", + "cer": "MIIDNjCCAh6gAwIBAgIQUcKk2kNvSXCTXGLeI7Fc0zANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIyMVoXDTI0MDQxMjAyNTIyMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOe8dSTTO0XwHH6jZC\u002BENSGmyFYIUzFtsgAo\u002BNWsJAEyCHyraYAmYyxd2\u002BB5xap60mnXb67jkDG5La2Cj1PngDquljx3AZi8e3aJJBWcbMWinoQhysC7w/9wUukuj0TamM9gGm0CZVYFfTlGHFkH\u002BEaNsnojsBcI2t29SzyEbD6PQeHkQ6PzAUeGvDt7/j\u002BN\u002BN0LhfAr4x\u002BtFdQw79MhKFSk/Xq4zSgC8o/AF9ZEdWywmg/ExYifnpcrZiFyqpcQUZPm5p\u002B4ZMRdGZvWzF2XSLdETaqRi1otT0/1INHmxiZ\u002BoB9VGLxYycBbS0iKy5AJ3W4wjNRWEiY7kfw1NqDAHjECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFAQFLWa6B\u002BsxSqBT70ZaqcFltrM5MB0GA1UdDgQWBBQEBS1mugfrMUqgU\u002B9GWqnBZbazOTANBgkqhkiG9w0BAQsFAAOCAQEAV\u002BaKhFcpu6DsdyQw0h79q7\u002Bft5pP7LzCs9gyAfkKmwDNNgF\u002BrXyKY0Wm3jYa0pQ4vRq65cKs1x7vrTbPdZIVWU965XFAUAWKQh\u002BDNdKNZPcobileHImXA5FyK57WHMILwMchb79L0u4L5BHsaZHqZObHMeL\u002B01mXfbXcqBIQW9imrT/QhJhJM1vJ4c4l1XHkIYpLgsUg68gj4iP/PE0N1F4hQJod2ZEqzRhOQkfDz1m6wRu/JKX/PI7PM9k5BeAAMiAvBulJxSwxrrAb2QIUwxbpjNryRbzbr9srYtFZoT\u002BAApif15Su0CH3q7qPVxxtixyInuangS3CflbhxQc0vw==", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267940, + "updated": 1681267940 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99/pending" + } + } + } + ], + "Variables": { + "0": "dbb0578c-93c7-4f8a-917b-efa070df63fb", + "1": "testcert52940cad", + "2": "testcert69778c99" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificate[1].json index 15b2029539f91..8c5e61d82d40b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createCertificate[1].json @@ -1,105 +1,229 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert72180ce45d5/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert15970ce7b3a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a0028919-7518-456f-ae32-08211e51ff94" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4ce2a147-1cb5-48b3-a0a9-dd299684c70b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMImc7Njz4D8ZwwQb3jS/oCQ//5OgkufC+znSlFbUaDDfSABAkuwk42933k4egVHUyFAVYz+lz6+eiTY1XL3wNB/6ylYy6L5z1E8iGjYzA1w00r484ssAzCf0Lj3Mnw5vzQciw6DzDCYZxv9zPJhyltkt8IgiHnpZgznFqkbtNiNOSDJOfDq4AtLsiccsWB0x2H22dBat6auc+HkP03lLAb4lbt2lepVxe0/eJnEX6W48jQzD1azDnCGkCI4CANrPtwj/nENNH66wwNPe+cfgWHblaA1PdxMSDY18r7IPiowU4rf35cu0HYtU94dyUuA6XYGfpsbONkUQTGy3FviuGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAv3d40SM0O1oEClyEnvJOCfHxVw5fhHaJjYNRct7QUkJ0BcaL+dQ9/wjiWr6A3rxbWuftkxemf67ZIE8HYgu2UolZsD9vMF6wQdf1aO64cihkHqNynwFhHf3KBpUmqOCeGcoBco0yhpTD0F2HAkP48VKmW+moXStJ6tC/i/gQj1B2quFrYrsYFVoVY4vYFIkg13CZq65kX/l2roNIE+K3O7xiHHaaqcx0BxfIMdddQPhqdZoKwlrGmtO8wrKleKzuXqPFliAckH0WVEEHsk7aLmjq22X21xKpFUvt+/bQwZC29s0Kx++OZoTSMay/aVKoiAX/pevjKpTl91ezKMU2r\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d15d573d2e4349a7be014b0015810bec\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/pending?api-version=7.4&request_id=d15d573d2e4349a7be014b0015810bec", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert15970ce7b3a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/pending?api-version=7.4\u0026request_id=46c3bb467f064d63bbdf09219ea35ad3", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fcab03d0-4572-488b-9c19-f496bb2fbbf3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJbPNJHCJNt0fEPdxpubBuLRLaqTePMkcqpgm707YVoDoPYlD8RHa0X\u002Bg6Qkiwmt0RGlTHNSANgI68XqDcuFEq3rPjJpY2xGBoDqyTY3HbEg6Mnr7kmiSa70wfa/FIYBDnSRmfRDtX0sS\u002BFO6qnm1mgROcU/uDgIb7DbrBDntvncX/MtyQ093ftYVxugWUXgZ9pF\u002Ba8uGedHXnwgKhYdsY9K5TOT8wivxJlwXjAxRgphQ1u9oIp2Ri2jfz9A7ysXNyePAGfKgE4EGsEassKjlYJ7NKcnQfV2SW/uBNbF/sLbUWr8FCSPWNVDQvHG9/\u002BL\u002BQUBNy3XE1PeBZvLUKQe\u002BNUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB0y/SenyMLhnIuPNcYxiUyV41m9lSvrZjbhh3slkLOEJWXvZgTwkDJguGAzK/ChBFoLUJbXKRbqjyz2L/EpHSkjG/8oKkdKv/MKOzvG4Vv4zy1eLtUDS4ugb8Y1fDdl5TqNsRd9M3jM/PjT/eboirCb\u002BgoRNXVtOsdWOIo2m4vWLuYMjQ8PGnCtLio4oqvG7JVhTpRSJNfgm6285rzexIuBKRGHfZvfwlPMW4i2ZjRET\u002B6oI1QV5B2Z\u002BKoreGe6g17XgmOzPBRLACN8CAdgYfmu/6YXovfZOsxfD3Ienqsg77Ix78cYfNGsIgtt7TvvdqLhsN7ZrfMrJCcBX6mSZyG", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "46c3bb467f064d63bbdf09219ea35ad3" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert72180ce45d5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert15970ce7b3a/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "20492908-bc55-476a-9880-cbc7233c8f16" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJbPNJHCJNt0fEPdxpubBuLRLaqTePMkcqpgm707YVoDoPYlD8RHa0X\u002Bg6Qkiwmt0RGlTHNSANgI68XqDcuFEq3rPjJpY2xGBoDqyTY3HbEg6Mnr7kmiSa70wfa/FIYBDnSRmfRDtX0sS\u002BFO6qnm1mgROcU/uDgIb7DbrBDntvncX/MtyQ093ftYVxugWUXgZ9pF\u002Ba8uGedHXnwgKhYdsY9K5TOT8wivxJlwXjAxRgphQ1u9oIp2Ri2jfz9A7ysXNyePAGfKgE4EGsEassKjlYJ7NKcnQfV2SW/uBNbF/sLbUWr8FCSPWNVDQvHG9/\u002BL\u002BQUBNy3XE1PeBZvLUKQe\u002BNUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB0y/SenyMLhnIuPNcYxiUyV41m9lSvrZjbhh3slkLOEJWXvZgTwkDJguGAzK/ChBFoLUJbXKRbqjyz2L/EpHSkjG/8oKkdKv/MKOzvG4Vv4zy1eLtUDS4ugb8Y1fDdl5TqNsRd9M3jM/PjT/eboirCb\u002BgoRNXVtOsdWOIo2m4vWLuYMjQ8PGnCtLio4oqvG7JVhTpRSJNfgm6285rzexIuBKRGHfZvfwlPMW4i2ZjRET\u002B6oI1QV5B2Z\u002BKoreGe6g17XgmOzPBRLACN8CAdgYfmu/6YXovfZOsxfD3Ienqsg77Ix78cYfNGsIgtt7TvvdqLhsN7ZrfMrJCcBX6mSZyG", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a", + "request_id": "46c3bb467f064d63bbdf09219ea35ad3" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "224a1e10-0949-4085-978b-9f12a9e5144f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMImc7Njz4D8ZwwQb3jS/oCQ//5OgkufC+znSlFbUaDDfSABAkuwk42933k4egVHUyFAVYz+lz6+eiTY1XL3wNB/6ylYy6L5z1E8iGjYzA1w00r484ssAzCf0Lj3Mnw5vzQciw6DzDCYZxv9zPJhyltkt8IgiHnpZgznFqkbtNiNOSDJOfDq4AtLsiccsWB0x2H22dBat6auc+HkP03lLAb4lbt2lepVxe0/eJnEX6W48jQzD1azDnCGkCI4CANrPtwj/nENNH66wwNPe+cfgWHblaA1PdxMSDY18r7IPiowU4rf35cu0HYtU94dyUuA6XYGfpsbONkUQTGy3FviuGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAv3d40SM0O1oEClyEnvJOCfHxVw5fhHaJjYNRct7QUkJ0BcaL+dQ9/wjiWr6A3rxbWuftkxemf67ZIE8HYgu2UolZsD9vMF6wQdf1aO64cihkHqNynwFhHf3KBpUmqOCeGcoBco0yhpTD0F2HAkP48VKmW+moXStJ6tC/i/gQj1B2quFrYrsYFVoVY4vYFIkg13CZq65kX/l2roNIE+K3O7xiHHaaqcx0BxfIMdddQPhqdZoKwlrGmtO8wrKleKzuXqPFliAckH0WVEEHsk7aLmjq22X21xKpFUvt+/bQwZC29s0Kx++OZoTSMay/aVKoiAX/pevjKpTl91ezKMU2r\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d15d573d2e4349a7be014b0015810bec\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert72180ce45d5/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bc308da0-0231-47be-8a8b-598e321e06cc", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMImc7Njz4D8ZwwQb3jS/oCQ//5OgkufC+znSlFbUaDDfSABAkuwk42933k4egVHUyFAVYz+lz6+eiTY1XL3wNB/6ylYy6L5z1E8iGjYzA1w00r484ssAzCf0Lj3Mnw5vzQciw6DzDCYZxv9zPJhyltkt8IgiHnpZgznFqkbtNiNOSDJOfDq4AtLsiccsWB0x2H22dBat6auc+HkP03lLAb4lbt2lepVxe0/eJnEX6W48jQzD1azDnCGkCI4CANrPtwj/nENNH66wwNPe+cfgWHblaA1PdxMSDY18r7IPiowU4rf35cu0HYtU94dyUuA6XYGfpsbONkUQTGy3FviuGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAv3d40SM0O1oEClyEnvJOCfHxVw5fhHaJjYNRct7QUkJ0BcaL+dQ9/wjiWr6A3rxbWuftkxemf67ZIE8HYgu2UolZsD9vMF6wQdf1aO64cihkHqNynwFhHf3KBpUmqOCeGcoBco0yhpTD0F2HAkP48VKmW+moXStJ6tC/i/gQj1B2quFrYrsYFVoVY4vYFIkg13CZq65kX/l2roNIE+K3O7xiHHaaqcx0BxfIMdddQPhqdZoKwlrGmtO8wrKleKzuXqPFliAckH0WVEEHsk7aLmjq22X21xKpFUvt+/bQwZC29s0Kx++OZoTSMay/aVKoiAX/pevjKpTl91ezKMU2r\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5\",\"request_id\":\"d15d573d2e4349a7be014b0015810bec\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert72180ce45d5/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2396", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "70590ed6-2c62-4f40-a20d-455d61022b84", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/7920f63d5f1f44ee8f74875398807460\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert72180ce45d5/7920f63d5f1f44ee8f74875398807460\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert72180ce45d5/7920f63d5f1f44ee8f74875398807460\",\"x5t\":\"tJRERVpJiQl09q59sp0Adgim-vQ\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQEx77Q1gWRVKYCGwJlOOfmTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkxMFoXDTI0MDMxNjA4MDkxMFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMImc7Njz4D8ZwwQb3jS/oCQ//5OgkufC+znSlFbUaDDfSABAkuwk42933k4egVHUyFAVYz+lz6+eiTY1XL3wNB/6ylYy6L5z1E8iGjYzA1w00r484ssAzCf0Lj3Mnw5vzQciw6DzDCYZxv9zPJhyltkt8IgiHnpZgznFqkbtNiNOSDJOfDq4AtLsiccsWB0x2H22dBat6auc+HkP03lLAb4lbt2lepVxe0/eJnEX6W48jQzD1azDnCGkCI4CANrPtwj/nENNH66wwNPe+cfgWHblaA1PdxMSDY18r7IPiowU4rf35cu0HYtU94dyUuA6XYGfpsbONkUQTGy3FviuGECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFBOF+RtY+2caWaqahtPfU+l+UH6PMB0GA1UdDgQWBBQThfkbWPtnGlmqmobT31PpflB+jzANBgkqhkiG9w0BAQsFAAOCAQEADcyd0f32JBQ+z4gQoHaM9QIVgmMMKOnOuJonktJv4kxAuB+EYz62YInCk7evN/IebQI9WOmRba7AS8qQ1F8RdflWoJFXWBtfSLOp9rV5GZRXJ18wXUWgKRlqV0oIZH7UkMHDfoFF5MUXSaHV4s+KvtFfQVrMBF1/OrAFi87ajL3f1S8vumZvDoxdpCvmqZl07UAuzqq9iKOy8yoH0t/1ydOLdW+XA0QC2wkZNWWDNXPrAyPpRxl4Zu3TwlZ7TvYnthV9oErbAjJE6dmN18ZVmDY8S2hbgLOuUY9H6S5wBmobQE3jiEDDNQ61AJv7z81O+SizH0wlFZgm6Z3XVPEl/A==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert72180ce45d5" ] + { + "RequestUri": "https://REDACTED/certificates/testcert15970ce7b3a/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2386", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dc8ced75-b4d3-4473-ba4d-64aea855e225" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/d39a03e79ac145ba9cccbbb134375a09", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert15970ce7b3a/d39a03e79ac145ba9cccbbb134375a09", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert15970ce7b3a/d39a03e79ac145ba9cccbbb134375a09", + "x5t": "RTg3ayHS2pAQ0IichADtQezB82Y", + "cer": "MIIDNjCCAh6gAwIBAgIQCU01D/oaQWKMfBA90fHObzANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDE1OFoXDTI0MDQxMjAyNTE1OFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJbPNJHCJNt0fEPdxpubBuLRLaqTePMkcqpgm707YVoDoPYlD8RHa0X\u002Bg6Qkiwmt0RGlTHNSANgI68XqDcuFEq3rPjJpY2xGBoDqyTY3HbEg6Mnr7kmiSa70wfa/FIYBDnSRmfRDtX0sS\u002BFO6qnm1mgROcU/uDgIb7DbrBDntvncX/MtyQ093ftYVxugWUXgZ9pF\u002Ba8uGedHXnwgKhYdsY9K5TOT8wivxJlwXjAxRgphQ1u9oIp2Ri2jfz9A7ysXNyePAGfKgE4EGsEassKjlYJ7NKcnQfV2SW/uBNbF/sLbUWr8FCSPWNVDQvHG9/\u002BL\u002BQUBNy3XE1PeBZvLUKQe\u002BNUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDX73IfLehOgpUiaKF6pX3Tz6IxTMB0GA1UdDgQWBBQ1\u002B9yHy3oToKVImiheqV908\u002BiMUzANBgkqhkiG9w0BAQsFAAOCAQEAWsma0wwgMdzUJZpgpauiBRgTxnrnAADW7jUUCEeoAiwQ\u002BcKytXsUzpwVPRnGt/cGoUU8uPPXT5pLjv89sO6VW1k/fU9oHVG2a5leiWm35ayeE9G7oXoH/oEi17RFTjXfjWxCdtwoQBkgt4M5Zhy3TJdekE08gZmvtP59tUEqkD95CdxY2hnwsqW3DxgZZ2nyZhD6coHoB93MT3\u002B1pYfBkrcto9av\u002Br4xLiBNSrErvekLivKPpjGt\u002BFEQCfczT9WpPYVFdJ7IhnIRxP2wZSLxwnnX9Q/ABhgODVaXLiy1NM3n2CcoJPIDXIC\u002BEut\u002Bp2\u002B1TEvvSPF02ufrchbz9wYYOg==", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a/pending" + } + } + } + ], + "Variables": { + "0": "testcert15970ce7b3a" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerEmptyName[1].json index 921b8521e65ea..7a0e8d4d9d5d2 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerEmptyName[1].json @@ -1,29 +1,78 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6b6c65fc-3065-46dd-a331-9af1d42a0a3b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d2280b62-a935-418c-ab6c-7406e7a9013d", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "", + "credentials": {}, + "org_details": {}, + "attributes": {} + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "45cc1d59-eed5-43ce-a5a3-26f7c3dc2fc1" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNullProvider[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNullProvider[1].json index 7c733bc22066f..d9ce669add7f9 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNullProvider[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNullProvider[1].json @@ -1,29 +1,77 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a0bf9d0b-42c5-4721-8a89-e55585ede2fa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e96be1da-2f93-49eb-ace6-355e4f888351", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "51", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "credentials": {}, + "org_details": {}, + "attributes": {} + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "501530b8-c00c-4c8a-96d8-a79de7380048" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNull[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuerNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuer[1].json index 91dbb2aba1382..6342b892514aa 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.createIssuer[1].json @@ -1,29 +1,113 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer26188980be?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer8115464e15?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ff78959e-ed80-408f-a393-403472cdaa49" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1b3af582-f8c9-4e92-ad29-adaeff38dea8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer26188980be\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954158,\"updated\":1678954158}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer26188980be" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer8115464e15?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8f58dac2-518f-4c5f-a9be-d187a3263a3f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8115464e15", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + } + } + ], + "Variables": { + "0": "testissuer8115464e15" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuerNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuerNotFound[1].json index 165e8410eec06..5bcae9c5adeae 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuerNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuerNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "67e8a9e0-d53c-4183-b6ab-8a0807cd02cf" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b7ee845b-de4e-4a0b-90d3-61e25a3711fd", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a7dce319-0661-41bd-82c4-467dd47f8bb8" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuer[1].json index 397383cef4fb3..0c3453ac766f5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateIssuer[1].json @@ -1,54 +1,165 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer94412f3db9?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer65417eab80?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6b223dca-4a8e-432c-a1e7-d19661a7e39a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5227327b-77f0-4399-80d6-1f735d062cef", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer94412f3db9\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer65417eab80?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4fa97084-d4fb-47dd-bb49-923b61bb759d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer65417eab80", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer94412f3db9?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6ffa0851-ca9d-4a57-8c1e-d54409087d1c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer94412f3db9\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer94412f3db9" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer65417eab80?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "641950ab-5e43-4725-934d-aa148095af8b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer65417eab80", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } + } + ], + "Variables": { + "0": "testissuer65417eab80" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateNotFound[1].json index 023d3342ecd3d..584e1250cb21d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ffd5b48d-a32f-4af4-b577-38a0d4d2a8ef" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f7165310-a8e2-437f-9cd8-bce4bde42f43", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3f32b8df-e04b-484f-8086-b6c9930d5e9c" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateOperation[1].json index 951dcdafec64c..a2b01045d456f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificateOperation[1].json @@ -1,180 +1,422 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "14aef3fb-9130-40ab-8189-8f03977ec57a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f672a932-4c65-480b-9300-e7cc49e655bb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBvHugXi7vm8VblCmUZxy/Lp46PAB4ixub8OPi2OrXTpUEwez7eNqDCO9p+84fM8qg39f0Euk7XQr5ExWpcRKHaE3BlK+oYa54DpLx56Ehm9bs7CnfIvtCIktk/A0wGrNjeiVJYwb+T5j2nE3N002PGD9aAEseXWTiyXVjrgt6QzjYlKDAPthmYglfKq03q4MvFzfux9UnrMn5CfVKoM3rinIQt0YPqj/2GVwqrUiakgnBdtY+n1boHsS3/xYLB8InuUWUPMLCY/ECLjgT6x+eiYuEdjQ1MtlA/eNlcIfyt8hIHhTm4643u1LnXHCuJAZHG36bChLV6WLJIIhPD+v7+\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d78946b0691f4e8c9ef9f3bfbdcb6351\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4&request_id=d78946b0691f4e8c9ef9f3bfbdcb6351", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending?api-version=7.4\u0026request_id=61be9f1e00d54986bd6beadbb5ed59ba", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0ad1d4a6-78f4-4024-8ecc-152f62cb028e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bf836b9e-89e6-4b1e-8204-1ab5c78a9a71" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6b108e0a-fca2-46da-b80c-b3502bb5616a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBvHugXi7vm8VblCmUZxy/Lp46PAB4ixub8OPi2OrXTpUEwez7eNqDCO9p+84fM8qg39f0Euk7XQr5ExWpcRKHaE3BlK+oYa54DpLx56Ehm9bs7CnfIvtCIktk/A0wGrNjeiVJYwb+T5j2nE3N002PGD9aAEseXWTiyXVjrgt6QzjYlKDAPthmYglfKq03q4MvFzfux9UnrMn5CfVKoM3rinIQt0YPqj/2GVwqrUiakgnBdtY+n1boHsS3/xYLB8InuUWUPMLCY/ECLjgT6x+eiYuEdjQ1MtlA/eNlcIfyt8hIHhTm4643u1LnXHCuJAZHG36bChLV6WLJIIhPD+v7+\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d78946b0691f4e8c9ef9f3bfbdcb6351\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cbb8770c-c45a-4168-a6ce-c031274e0f84" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "af6ee2e2-b8ca-47fb-9394-ff4cb051ac38" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b7f0302f-cd34-4e27-b33a-2670ec81c00b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBvHugXi7vm8VblCmUZxy/Lp46PAB4ixub8OPi2OrXTpUEwez7eNqDCO9p+84fM8qg39f0Euk7XQr5ExWpcRKHaE3BlK+oYa54DpLx56Ehm9bs7CnfIvtCIktk/A0wGrNjeiVJYwb+T5j2nE3N002PGD9aAEseXWTiyXVjrgt6QzjYlKDAPthmYglfKq03q4MvFzfux9UnrMn5CfVKoM3rinIQt0YPqj/2GVwqrUiakgnBdtY+n1boHsS3/xYLB8InuUWUPMLCY/ECLjgT6x+eiYuEdjQ1MtlA/eNlcIfyt8hIHhTm4643u1LnXHCuJAZHG36bChLV6WLJIIhPD+v7+\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d78946b0691f4e8c9ef9f3bfbdcb6351\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "39778091-0684-471e-a5ff-acdd143a4e85" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2386", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0559346c-4da7-4722-8060-944adeb7d9a2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/058150769034470882a804c48b0665a7", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert01202f7c384/058150769034470882a804c48b0665a7", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert01202f7c384/058150769034470882a804c48b0665a7", + "x5t": "1GGxAlnsHSR29xqi89t33Qvzo2c", + "cer": "MIIDNjCCAh6gAwIBAgIQC66aDO\u002BiTpuRdtXR3QPB2DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOL45VQ0Xj7Pc3zFLQJQ/Hu1W\u002BnMMB0GA1UdDgQWBBTi\u002BOVUNF4\u002Bz3N8xS0CUPx7tVvpzDANBgkqhkiG9w0BAQsFAAOCAQEAeet3gYS/xn0CeAnzE//ps7vDIaglqWLQmUlUsSqHtVP3LVRExM1esfy\u002B9hXjRyMl\u002Bd0JDfh9lVq3n4apt7T8whC6GV7Rqtpfs2nyEAuZ5J/e7GnOeytZVjC/P2KJwU/JoxYfkn\u002BQ1qYNGNAoknWxvpNe4hPX1nDW\u002BH6p1Bt51ySb2Y2A5VqlrdZztCsnE3V91gANguCDVrNX1SF53qANS0fWpHZkrw3fGBz4ewLDLeBOSBGb0wATZGrOWjUocCzpTISwNcrek2/MXnwtO4\u002BU78AJE\u002BqG5DqzLbnGzC0dupZUYZ8LfhZWC/WEx4D\u002B/stN4YwCPIieIwwgghQrBYwIwA==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1136b0f3-8456-4d2c-aaed-d7c4669f850a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBvHugXi7vm8VblCmUZxy/Lp46PAB4ixub8OPi2OrXTpUEwez7eNqDCO9p+84fM8qg39f0Euk7XQr5ExWpcRKHaE3BlK+oYa54DpLx56Ehm9bs7CnfIvtCIktk/A0wGrNjeiVJYwb+T5j2nE3N002PGD9aAEseXWTiyXVjrgt6QzjYlKDAPthmYglfKq03q4MvFzfux9UnrMn5CfVKoM3rinIQt0YPqj/2GVwqrUiakgnBdtY+n1boHsS3/xYLB8InuUWUPMLCY/ECLjgT6x+eiYuEdjQ1MtlA/eNlcIfyt8hIHhTm4643u1LnXHCuJAZHG36bChLV6WLJIIhPD+v7+\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93\",\"request_id\":\"d78946b0691f4e8c9ef9f3bfbdcb6351\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d14a6259-b1fb-4c93-9762-2f9a07e943e0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaExoNJ58wq3Iqx/Ew16vq7Uo8Y1v9mDyNHJM8JTRrlDtQZ4DUXWJu1pS9GBjkNWYKxernDEgYt1HrcjArl8qD3E4LAyRUF/is7IhXyly9eute2gHdPcN5HtqabDyuAaQDYLBQomzdFPzg87b9BDbMSDsq8hsZaH4aUl7WkBFzchmBaJinqX4ldROEeStzof9Ts2gyZpaFvGOIOz9skbMKkH0LYtbNeM14lRG9eNtXmkD3FCGMnTxxViqUoToxnG1cT30d88FIJ7oTpAo3oQcn/n0Hmf8CNvx\u002BFoWtxX1gpMp8vdP3fnF0VZ6aKmguz4HgvwLuSQX/4q5XATtFt9ikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBukBvsfecGAWbQ9xFXUxMuKg1qeSYwyOnoACOutJsZcvsR9HRy5/t3AYweSIceZnDhdkzIHClrUbvOfl7C/I8bwB11s1kIGuo2Za1T/e4MhZxBya3X5BiC0rvTaNwFxsUf0gPwZPlb909bSd\u002BnCqJQ8b6fRGKGWKGf/xh388V6Ep556cgkDWsiB\u002B5E6qFhJK7GxrnL6/xCvEEvEYaJ9S29sD3XPy3qjxL1ijOHzT4S6\u002BUXr1ev4lSfHL31/yau6WjBlujrHYlnKNiPl47vR1hhgXySGAXetmc9vmCyJi7zK32MRD6LpA/GC2RbxzDKkmbyGi/KeL\u002B5t96n714sNuS", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "request_id": "61be9f1e00d54986bd6beadbb5ed59ba" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2396", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "12b50748-2df1-45a8-bc94-07175aef780d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/d5c2c0dc40534ef1807dd793f0c0f8d4\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert21172984d93/d5c2c0dc40534ef1807dd793f0c0f8d4\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert21172984d93/d5c2c0dc40534ef1807dd793f0c0f8d4\",\"x5t\":\"uDxW7qERozqvEBZNicKFI6lwIys\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQNIeMSktqT3uF1M5Uui/a6DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkxOVoXDTI0MDMxNjA4MDkxOVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFM951NBbRogkAWBjln3AhYLmgAwNMB0GA1UdDgQWBBTPedTQW0aIJAFgY5Z9wIWC5oAMDTANBgkqhkiG9w0BAQsFAAOCAQEAhfgBIAr3kgvRFBACb/4J+UxRZyV0B07zzceFAtwBRTc0vqd72WnMaVa5VocSOt9IbWx2zSG7xdAIuGh4OGBNQwJUhWHJ6p/8wmUHzJlRcoODbPpnMURoLTuhlzqPtHc47aBavGtDdJEkTZPef0Dti4FPlCQ/paUxmwrN0TuyFcxFUvPME3t3LBzr6K9klZ/WIG2wI/Jn0gJH36S4P+MhV//BKoQpWpWxSkSJERlGW8/cynEF3YGpwC2skgtkkETFj93Ds2PjPonfxTXw1Dv12ljeDPd3Tyr4kUXAsVJNPeHf3rF2aQz4WYX/FOPh+C7vyiFwacophuv22FM411JH5w==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954156,\"updated\":1678954156}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e183c21c-81d5-49b7-921d-88300e499b98", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKB257SVNpdsOG+PqRh5T60+UI9+TfiqDQxr0QLjvILKOLBRum09pYz4dupa2Rmiub1kAuE9Q5QyhYqNMUx/P8whzYJpX+iX+YS2z1b1IhcBKbQWX9ZxRg+iU05CWCWfraBSSu5y9s7cvEPSB018yo1ABMSSpFf2/LFUW2FmyAQAXuvpMGlhCo1VZvdnYIuf0pwklZl74HDQ9JGiKzsxcSRMpaFNpla1k/Q3WTEHYMCRr8HvLrgzRNRKN6i0ATjqTw2iL8KfYXsAisRwOx6uZA4Q+ls60ovBdjxA2g0h1w8Y3qGCuCZ0y2FX+mAgjhWE1GUYLFP9E4671usUyttN+F0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBvHugXi7vm8VblCmUZxy/Lp46PAB4ixub8OPi2OrXTpUEwez7eNqDCO9p+84fM8qg39f0Euk7XQr5ExWpcRKHaE3BlK+oYa54DpLx56Ehm9bs7CnfIvtCIktk/A0wGrNjeiVJYwb+T5j2nE3N002PGD9aAEseXWTiyXVjrgt6QzjYlKDAPthmYglfKq03q4MvFzfux9UnrMn5CfVKoM3rinIQt0YPqj/2GVwqrUiakgnBdtY+n1boHsS3/xYLB8InuUWUPMLCY/ECLjgT6x+eiYuEdjQ1MtlA/eNlcIfyt8hIHhTm4643u1LnXHCuJAZHG36bChLV6WLJIIhPD+v7+\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93\",\"request_id\":\"d78946b0691f4e8c9ef9f3bfbdcb6351\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert21172984d93/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "110", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ff81268b-8b71-4501-bb0f-9dc95534ab33", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending Certificate not found: testcert21172984d93\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert21172984d93" ] + { + "RequestUri": "https://REDACTED/certificates/testcert01202f7c384/pending?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1e118c3-0df6-40f1-ac12-0d3d87aaf4f4" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending Certificate not found: testcert01202f7c384" + } + } + } + ], + "Variables": { + "0": "testcert01202f7c384" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificate[1].json index f0d5dacb9eff6..eea3ab6c0ad09 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteCertificate[1].json @@ -1,155 +1,573 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert310473c68b3/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "362bcf87-a3d5-4a68-ac8b-9f40066fcd49" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3e5b28e6-b429-4edf-ba92-4ebb4d74e467", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiql4M+mYgfCiowyaJyvMqCn5I+nzbDxTAVR/mrsmUX/HLv0cqxbynMOK0gxYevooieVkCKSVa3QWhzhZL5ypILw/B/+/ca+1CA9t1ARuUugt69qwewWQqF04DAF193fxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAICsOgT38yahvpuAzFjQL/XLTv924133b1MlZyxGfeUCDGlQeB3w3bJuzwHS5FpIPwIwf1yZbsgCrxCOZLpqT5oH65pWWSiI4DDPFfct1sE8C1tPTsNF5CEFAika/+PmJJwT\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7bf750185f0849bb816eeff64dec20cc\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending?api-version=7.4&request_id=7bf750185f0849bb816eeff64dec20cc", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending?api-version=7.4\u0026request_id=7e5ee02f3d4f492489267ce5cbb4e480", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fbc1fc10-0797-468c-a4d8-41ca4ab8311c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/C5HU5fd99GzBFNkrKUeg9F9mDSCt/c2R3kTNN1jCmUxk55ueUXhkEmylbQODuT1OHjWxObxFAM1LW7Wwq7HNm\u002BjJPtuPByEiqjBn0UJUFAIab9\u002BVxV6GMPs0nuLy2hBoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwNSOdkcURQroZtz5Tojh0zkZZt1rLLLxQ80xQSnHkLTJVrLyINNDXFTxVhkmAEy\u002BCAjAWULKt29N/ftxwyZUBSfLz4MMs8NM0EezxOqEd2N/H1HsJ0l09XdCl9uXxkueU3Lw=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7e5ee02f3d4f492489267ce5cbb4e480" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert310473c68b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a7b77812-586a-4c08-9eb2-56bd424be7e2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/C5HU5fd99GzBFNkrKUeg9F9mDSCt/c2R3kTNN1jCmUxk55ueUXhkEmylbQODuT1OHjWxObxFAM1LW7Wwq7HNm\u002BjJPtuPByEiqjBn0UJUFAIab9\u002BVxV6GMPs0nuLy2hBoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwNSOdkcURQroZtz5Tojh0zkZZt1rLLLxQ80xQSnHkLTJVrLyINNDXFTxVhkmAEy\u002BCAjAWULKt29N/ftxwyZUBSfLz4MMs8NM0EezxOqEd2N/H1HsJ0l09XdCl9uXxkueU3Lw=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7e5ee02f3d4f492489267ce5cbb4e480" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "faa8b208-9e85-43c1-9e5d-1efe0506cd96", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiql4M+mYgfCiowyaJyvMqCn5I+nzbDxTAVR/mrsmUX/HLv0cqxbynMOK0gxYevooieVkCKSVa3QWhzhZL5ypILw/B/+/ca+1CA9t1ARuUugt69qwewWQqF04DAF193fxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAICsOgT38yahvpuAzFjQL/XLTv924133b1MlZyxGfeUCDGlQeB3w3bJuzwHS5FpIPwIwf1yZbsgCrxCOZLpqT5oH65pWWSiI4DDPFfct1sE8C1tPTsNF5CEFAika/+PmJJwT\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7bf750185f0849bb816eeff64dec20cc\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "303f38fe-86ac-4556-9a87-2bd6ad62992b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/C5HU5fd99GzBFNkrKUeg9F9mDSCt/c2R3kTNN1jCmUxk55ueUXhkEmylbQODuT1OHjWxObxFAM1LW7Wwq7HNm\u002BjJPtuPByEiqjBn0UJUFAIab9\u002BVxV6GMPs0nuLy2hBoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwNSOdkcURQroZtz5Tojh0zkZZt1rLLLxQ80xQSnHkLTJVrLyINNDXFTxVhkmAEy\u002BCAjAWULKt29N/ftxwyZUBSfLz4MMs8NM0EezxOqEd2N/H1HsJ0l09XdCl9uXxkueU3Lw=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7e5ee02f3d4f492489267ce5cbb4e480" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert310473c68b3/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b763bd8c-75ed-4947-bd1c-b466bcd199b6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/C5HU5fd99GzBFNkrKUeg9F9mDSCt/c2R3kTNN1jCmUxk55ueUXhkEmylbQODuT1OHjWxObxFAM1LW7Wwq7HNm\u002BjJPtuPByEiqjBn0UJUFAIab9\u002BVxV6GMPs0nuLy2hBoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwNSOdkcURQroZtz5Tojh0zkZZt1rLLLxQ80xQSnHkLTJVrLyINNDXFTxVhkmAEy\u002BCAjAWULKt29N/ftxwyZUBSfLz4MMs8NM0EezxOqEd2N/H1HsJ0l09XdCl9uXxkueU3Lw=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7e5ee02f3d4f492489267ce5cbb4e480" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "38a43401-5e3d-4d58-93d1-4ddb2380361a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiql4M+mYgfCiowyaJyvMqCn5I+nzbDxTAVR/mrsmUX/HLv0cqxbynMOK0gxYevooieVkCKSVa3QWhzhZL5ypILw/B/+/ca+1CA9t1ARuUugt69qwewWQqF04DAF193fxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAICsOgT38yahvpuAzFjQL/XLTv924133b1MlZyxGfeUCDGlQeB3w3bJuzwHS5FpIPwIwf1yZbsgCrxCOZLpqT5oH65pWWSiI4DDPFfct1sE8C1tPTsNF5CEFAika/+PmJJwT\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3\",\"request_id\":\"7bf750185f0849bb816eeff64dec20cc\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d4a898ef-0cab-4c00-bd13-8956f9bac577" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/C5HU5fd99GzBFNkrKUeg9F9mDSCt/c2R3kTNN1jCmUxk55ueUXhkEmylbQODuT1OHjWxObxFAM1LW7Wwq7HNm\u002BjJPtuPByEiqjBn0UJUFAIab9\u002BVxV6GMPs0nuLy2hBoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwNSOdkcURQroZtz5Tojh0zkZZt1rLLLxQ80xQSnHkLTJVrLyINNDXFTxVhkmAEy\u002BCAjAWULKt29N/ftxwyZUBSfLz4MMs8NM0EezxOqEd2N/H1HsJ0l09XdCl9uXxkueU3Lw=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc", + "request_id": "7e5ee02f3d4f492489267ce5cbb4e480" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert310473c68b3/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "01dc8dda-ebf3-45da-8ab6-427559fa2480" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "x5t": "cm4qtLlbcd_EDcmagRBMC8pUcoI", + "cer": "MIIB2zCCAWGgAwIBAgIQRZvBpH3NQwyA2LTqZHJAsjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPwuR1OX3ffRswRTZKylHoPRfZg0grf3Nkd5EzTdYwplMZOebnlF4ZBJspW0Dg7k9Th41sTm8RQDNS1u1sKuxzZvoyT7bjwchIqowZ9FCVBQCGm/flcVehjD7NJ7i8toQaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEsG9Tj4oWitVO2V0XLGtifMLMFRMB0GA1UdDgQWBBRLBvU4\u002BKForVTtldFyxrYnzCzBUTAKBggqhkjOPQQDAwNoADBlAjEA3xDqLi4dA4VIzHkmGq7zZ3ZStIEa5RwRPSSw2UWQBJQ8Gi2waxW2hnFoKEkyw0DrAjA8soACsxfjnrtB1OexzYJ9WQCVQQUG8yGoqZVbZK2SU0rSWkcnb4rv/zQn6upiflg=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "be128b50-5a40-474f-9002-0baa42dadc76", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"x5t\":\"F95WIp9qUEd3CL2ZbSxmWj7nSOQ\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQIfsC3FuSQOSDZPRCF7NDQTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMFoXDTI1MDMxNjA4MDkxMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIqpeDPpmIHwoqMMmicrzKgp+SPp82w8UwFUf5q7JlF/xy79HKsW8pzDitIMWHr6KInlZAiklWt0Foc4WS+cqSC8Pwf/v3GvtQgPbdQEblLoLevasHsFkKhdOAwBdfd38aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFG2RNu85NXU4MSa3jhdwwe3wPC/iMB0GA1UdDgQWBBRtkTbvOTV1ODEmt44XcMHt8Dwv4jAKBggqhkjOPQQDAwNpADBmAjEArnAYgSfLd6TSrz+rtVwSdI0uw939ReRVcycL2Vq4BSnw1qjsIbx02nEOlerG4POaAjEAu1zvRTZvuadgl917CKB1mkOn2okXOrmh/sCgVMDr0ozFe+Xddv0mYpCuCnYWvi0z\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert98024ec25bc?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c6571ce2-47be-4d91-8d30-9ed06fe1d422" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert98024ec25bc", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "x5t": "cm4qtLlbcd_EDcmagRBMC8pUcoI", + "cer": "MIIB2zCCAWGgAwIBAgIQRZvBpH3NQwyA2LTqZHJAsjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPwuR1OX3ffRswRTZKylHoPRfZg0grf3Nkd5EzTdYwplMZOebnlF4ZBJspW0Dg7k9Th41sTm8RQDNS1u1sKuxzZvoyT7bjwchIqowZ9FCVBQCGm/flcVehjD7NJ7i8toQaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEsG9Tj4oWitVO2V0XLGtifMLMFRMB0GA1UdDgQWBBRLBvU4\u002BKForVTtldFyxrYnzCzBUTAKBggqhkjOPQQDAwNoADBlAjEA3xDqLi4dA4VIzHkmGq7zZ3ZStIEa5RwRPSSw2UWQBJQ8Gi2waxW2hnFoKEkyw0DrAjA8soACsxfjnrtB1OexzYJ9WQCVQQUG8yGoqZVbZK2SU0rSWkcnb4rv/zQn6upiflg=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert310473c68b3?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "813f8b74-9f21-4ce5-94d4-156fcd428457", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert310473c68b3\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"x5t\":\"F95WIp9qUEd3CL2ZbSxmWj7nSOQ\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQIfsC3FuSQOSDZPRCF7NDQTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMFoXDTI1MDMxNjA4MDkxMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIqpeDPpmIHwoqMMmicrzKgp+SPp82w8UwFUf5q7JlF/xy79HKsW8pzDitIMWHr6KInlZAiklWt0Foc4WS+cqSC8Pwf/v3GvtQgPbdQEblLoLevasHsFkKhdOAwBdfd38aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFG2RNu85NXU4MSa3jhdwwe3wPC/iMB0GA1UdDgQWBBRtkTbvOTV1ODEmt44XcMHt8Dwv4jAKBggqhkjOPQQDAwNpADBmAjEArnAYgSfLd6TSrz+rtVwSdI0uw939ReRVcycL2Vq4BSnw1qjsIbx02nEOlerG4POaAjEAu1zvRTZvuadgl917CKB1mkOn2okXOrmh/sCgVMDr0ozFe+Xddv0mYpCuCnYWvi0z\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert310473c68b3?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0d5df781-af57-48f3-ac56-cc703b165bfc", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert310473c68b3\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert310473c68b3/866fb747d8804103b00fdaf817def35d\",\"x5t\":\"F95WIp9qUEd3CL2ZbSxmWj7nSOQ\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQIfsC3FuSQOSDZPRCF7NDQTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMFoXDTI1MDMxNjA4MDkxMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIqpeDPpmIHwoqMMmicrzKgp+SPp82w8UwFUf5q7JlF/xy79HKsW8pzDitIMWHr6KInlZAiklWt0Foc4WS+cqSC8Pwf/v3GvtQgPbdQEblLoLevasHsFkKhdOAwBdfd38aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFG2RNu85NXU4MSa3jhdwwe3wPC/iMB0GA1UdDgQWBBRtkTbvOTV1ODEmt44XcMHt8Dwv4jAKBggqhkjOPQQDAwNpADBmAjEArnAYgSfLd6TSrz+rtVwSdI0uw939ReRVcycL2Vq4BSnw1qjsIbx02nEOlerG4POaAjEAu1zvRTZvuadgl917CKB1mkOn2okXOrmh/sCgVMDr0ozFe+Xddv0mYpCuCnYWvi0z\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert310473c68b3" ] + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert98024ec25bc?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d633cc26-7e78-48a1-9816-9f5e4776af17" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert98024ec25bc", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert98024ec25bc/2229801aeb9242688a75a79a5f3d96c5", + "x5t": "cm4qtLlbcd_EDcmagRBMC8pUcoI", + "cer": "MIIB2zCCAWGgAwIBAgIQRZvBpH3NQwyA2LTqZHJAsjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPwuR1OX3ffRswRTZKylHoPRfZg0grf3Nkd5EzTdYwplMZOebnlF4ZBJspW0Dg7k9Th41sTm8RQDNS1u1sKuxzZvoyT7bjwchIqowZ9FCVBQCGm/flcVehjD7NJ7i8toQaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEsG9Tj4oWitVO2V0XLGtifMLMFRMB0GA1UdDgQWBBRLBvU4\u002BKForVTtldFyxrYnzCzBUTAKBggqhkjOPQQDAwNoADBlAjEA3xDqLi4dA4VIzHkmGq7zZ3ZStIEa5RwRPSSw2UWQBJQ8Gi2waxW2hnFoKEkyw0DrAjA8soACsxfjnrtB1OexzYJ9WQCVQQUG8yGoqZVbZK2SU0rSWkcnb4rv/zQn6upiflg=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc/pending" + } + } + } + ], + "Variables": { + "0": "testcert98024ec25bc" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteContacts[1].json index 5e20396b50b88..7fc9f5fc2147e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.deleteContacts[1].json @@ -1,54 +1,123 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:59:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1d1d41d-c3b3-4cfc-b225-f173e8aaba8e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "110d66e2-4cc9-4044-b991-730352f4b095", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:59:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "20e546d8-b692-4ef8-b415-95b4a3e89dd7" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "84288bd6-6dce-4ac4-aa74-1c4a0a1a5709", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:59:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "294f8bcb-d584-4ac7-91f3-d48906e2d658" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuerNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuerNotFound[1].json index 590d850b462ee..b4618c29490a1 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuerNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuerNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8666f075-7a66-4bf3-9e94-39f49b4367cc" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bb5b8d92-ba37-4baf-a055-bbff2a845d80", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b435a78e-24d8-4a0b-93ee-d8ee93ef6d93" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuer[1].json index 9b3a3bea12d17..e9207893a4987 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateIssuer[1].json @@ -1,54 +1,165 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer759048f545?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer937724e3ff?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f005022f-3e8d-4aea-ae7b-53223fe8e033" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c16274a0-95ba-450a-b606-f0f87f309876", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer759048f545\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954154,\"updated\":1678954154}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer937724e3ff?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "91d6ffc2-fa58-48e3-95f6-4fd15a66d632" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer937724e3ff", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer759048f545?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "03fb181f-fc80-434a-96ed-3eb5705c329a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer759048f545\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954154,\"updated\":1678954154}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer759048f545" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer937724e3ff?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ebd065f1-874c-4be5-90da-e4d0a5195ac3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer937724e3ff", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } + } + ], + "Variables": { + "0": "testissuer937724e3ff" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateNotFound[1].json index 3439efedfd54b..17bbc0799266e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "51a5fc10-ca5a-4571-9dc3-da1e9a1bd728" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "baab9b49-dd60-4a8e-aae9-78cc12efa5ac", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7e051649-a989-4439-ab03-8961b13cec91" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperationNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperationNotFound[1].json index 2865aca4ade83..bb81153eceffb 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperationNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperationNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:22:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "673ecd51-48f3-4542-b963-18889de14042" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9691e23b-b71d-4161-b8f4-28d268418140", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending certificate not found: non-existing\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:22:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b8d2149d-bf4c-4675-8cf3-d3aa6a136f6a" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending certificate not found: non-existing" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperation[1].json index 5c1891467300a..119395789f051 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateOperation[1].json @@ -1,180 +1,471 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f20d72f5-d705-44d4-8b11-3bae2cc1302a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9de05f94-f7c3-48db-abb8-d96ad2ef26a4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvs07Z1OALzKYRyj9C3AjnDcVa5iZyPpkpme7OdViGipAtJ1VrTFsbyvQ1x13MHOFPfDWdo/TR05ujT6ZEjUeLL5WI6whfQTqlV8CEpz5Xz07HaHz4nXrhOx3JhSF8TaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwOj2f99Ed3VaX40+wVXMVC/TJWKNDsooRVbwpPuoBPdZ5E9E5XILNRMiCIcrhy58xAjAT/nnAjb+W1zvLzuj8j9cvJ6u70cdkVFh7puJAY+0Cpdxeyt/wiZwTIbPObhFKYYk=\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"782b34e59cc14010905fc1c2f4762a9f\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending?api-version=7.4&request_id=782b34e59cc14010905fc1c2f4762a9f", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending?api-version=7.4\u0026request_id=ea4dea42def84dfcaac2686603480e78", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1c0630ff-22a8-462b-bd4f-768bf508fbd1" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/QRDofBV/LzdhZt6DzdZVIrBU\u002B2yjRe2kQb8epNjRr/BO2QXTF6viKZBkT1SY8\u002BG15zp8ikM6jA2xxg/Jdto54DAYtF8OxuGw7jGMa0kWo2Z2zNtSV\u002BIfFIM8RTLf46PoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwJcV3aaSI1rzggMdjzTNLBY8ul71QD9UjBHZVAiqiro6SmtfalvXxPz7v1kgmvQ/LAjB23bYCoDlvMdY8HMSBuWT2lOOufTrIWC64PYvVfgsYIDxE3KKEXkFXTU0aR0wJ08k=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ea4dea42def84dfcaac2686603480e78" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0fa904d-7fb0-47bd-a4fa-fbad40cd4c94" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/QRDofBV/LzdhZt6DzdZVIrBU\u002B2yjRe2kQb8epNjRr/BO2QXTF6viKZBkT1SY8\u002BG15zp8ikM6jA2xxg/Jdto54DAYtF8OxuGw7jGMa0kWo2Z2zNtSV\u002BIfFIM8RTLf46PoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwJcV3aaSI1rzggMdjzTNLBY8ul71QD9UjBHZVAiqiro6SmtfalvXxPz7v1kgmvQ/LAjB23bYCoDlvMdY8HMSBuWT2lOOufTrIWC64PYvVfgsYIDxE3KKEXkFXTU0aR0wJ08k=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ea4dea42def84dfcaac2686603480e78" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6290ee9d-e5c7-4bfd-a93b-c68feb858a53", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvs07Z1OALzKYRyj9C3AjnDcVa5iZyPpkpme7OdViGipAtJ1VrTFsbyvQ1x13MHOFPfDWdo/TR05ujT6ZEjUeLL5WI6whfQTqlV8CEpz5Xz07HaHz4nXrhOx3JhSF8TaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwOj2f99Ed3VaX40+wVXMVC/TJWKNDsooRVbwpPuoBPdZ5E9E5XILNRMiCIcrhy58xAjAT/nnAjb+W1zvLzuj8j9cvJ6u70cdkVFh7puJAY+0Cpdxeyt/wiZwTIbPObhFKYYk=\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"782b34e59cc14010905fc1c2f4762a9f\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "62fd8d7a-ead2-4f49-a7e7-ff9459d214dd" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/QRDofBV/LzdhZt6DzdZVIrBU\u002B2yjRe2kQb8epNjRr/BO2QXTF6viKZBkT1SY8\u002BG15zp8ikM6jA2xxg/Jdto54DAYtF8OxuGw7jGMa0kWo2Z2zNtSV\u002BIfFIM8RTLf46PoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwJcV3aaSI1rzggMdjzTNLBY8ul71QD9UjBHZVAiqiro6SmtfalvXxPz7v1kgmvQ/LAjB23bYCoDlvMdY8HMSBuWT2lOOufTrIWC64PYvVfgsYIDxE3KKEXkFXTU0aR0wJ08k=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ea4dea42def84dfcaac2686603480e78" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "18cb0499-071a-484d-9f68-bb04aa09f68e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/QRDofBV/LzdhZt6DzdZVIrBU\u002B2yjRe2kQb8epNjRr/BO2QXTF6viKZBkT1SY8\u002BG15zp8ikM6jA2xxg/Jdto54DAYtF8OxuGw7jGMa0kWo2Z2zNtSV\u002BIfFIM8RTLf46PoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwJcV3aaSI1rzggMdjzTNLBY8ul71QD9UjBHZVAiqiro6SmtfalvXxPz7v1kgmvQ/LAjB23bYCoDlvMdY8HMSBuWT2lOOufTrIWC64PYvVfgsYIDxE3KKEXkFXTU0aR0wJ08k=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "request_id": "ea4dea42def84dfcaac2686603480e78" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d2fd14d8-c263-4b58-9ae3-f52c2ddc08f5", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvs07Z1OALzKYRyj9C3AjnDcVa5iZyPpkpme7OdViGipAtJ1VrTFsbyvQ1x13MHOFPfDWdo/TR05ujT6ZEjUeLL5WI6whfQTqlV8CEpz5Xz07HaHz4nXrhOx3JhSF8TaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwOj2f99Ed3VaX40+wVXMVC/TJWKNDsooRVbwpPuoBPdZ5E9E5XILNRMiCIcrhy58xAjAT/nnAjb+W1zvLzuj8j9cvJ6u70cdkVFh7puJAY+0Cpdxeyt/wiZwTIbPObhFKYYk=\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"782b34e59cc14010905fc1c2f4762a9f\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e80dd9f3-cd16-4bd8-b664-8f9c99bd307e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "cer": "MIIB2jCCAWGgAwIBAgIQTMi5AGLITlqzoNo6VNZXejAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABP0EQ6HwVfy83YWbeg83WVSKwVPtso0XtpEG/HqTY0a/wTtkF0xer4imQZE9UmPPhtec6fIpDOowNscYPyXbaOeAwGLRfDsbhsO4xjGtJFqNmdszbUlfiHxSDPEUy3\u002BOj6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ2hN0tnCetFraaQM1D8WGOre6q7MB0GA1UdDgQWBBSdoTdLZwnrRa2mkDNQ/Fhjq3uquzAKBggqhkjOPQQDAwNnADBkAjAB3rVvxowgrSF5lFmBBTrlsQPtgAfBK8xUcnSSaq7hOk6ZfSuyorNxsMJk0HdWj/4CMCJKPqIj9SxaHRpGQP3\u002BjMpAUQo/f4Ol601x1uSieaytuH8fxdaWimiuJmGZAeieyg==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1b001c6a-9324-474f-8508-fd35e193c31b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/QRDofBV/LzdhZt6DzdZVIrBU\u002B2yjRe2kQb8epNjRr/BO2QXTF6viKZBkT1SY8\u002BG15zp8ikM6jA2xxg/Jdto54DAYtF8OxuGw7jGMa0kWo2Z2zNtSV\u002BIfFIM8RTLf46PoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwJcV3aaSI1rzggMdjzTNLBY8ul71QD9UjBHZVAiqiro6SmtfalvXxPz7v1kgmvQ/LAjB23bYCoDlvMdY8HMSBuWT2lOOufTrIWC64PYvVfgsYIDxE3KKEXkFXTU0aR0wJ08k=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "request_id": "ea4dea42def84dfcaac2686603480e78" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1c758b13-e50b-4385-b2ae-c6de3966e973", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvs07Z1OALzKYRyj9C3AjnDcVa5iZyPpkpme7OdViGipAtJ1VrTFsbyvQ1x13MHOFPfDWdo/TR05ujT6ZEjUeLL5WI6whfQTqlV8CEpz5Xz07HaHz4nXrhOx3JhSF8TaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwOj2f99Ed3VaX40+wVXMVC/TJWKNDsooRVbwpPuoBPdZ5E9E5XILNRMiCIcrhy58xAjAT/nnAjb+W1zvLzuj8j9cvJ6u70cdkVFh7puJAY+0Cpdxeyt/wiZwTIbPObhFKYYk=\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436\",\"request_id\":\"782b34e59cc14010905fc1c2f4762a9f\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2e2ca3d9-e4ee-4e50-b56c-f315782f2a21", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"x5t\":\"qXGr05lHeSSbDB7K7lPuJuoMdc4\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQWc4PfHZrTWqW/x+ZZFnJqjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMVoXDTI1MDMxNjA4MDkyMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLL7NO2dTgC8ymEco/QtwI5w3FWuYmcj6ZKZnuznVYhoqQLSdVa0xbG8r0NcddzBzhT3w1naP00dObo0+mRI1Hiy+ViOsIX0E6pVfAhKc+V89Ox2h8+J164TsdyYUhfE2qN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDTOwpcNN/FnSTPUOIcc2zdZYi/DMB0GA1UdDgQWBBQ0zsKXDTfxZ0kz1DiHHNs3WWIvwzAKBggqhkjOPQQDAwNoADBlAjBzQF/pcq0kWufaOFYeotBXyUVoIHDuAA057qTb8qd7Q+NWx6YCDLd0Zn415+8J8KgCMQC+KpalShkS4vRbob4wTIQDQoe7qGu/gczAF83o7Qq1g9qHhx0BMMS1NVxqPF5Bz5I=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954158,\"updated\":1678954158}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3d631d67-00b7-4493-ac61-c04d5e4342a8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEsvs07Z1OALzKYRyj9C3AjnDcVa5iZyPpkpme7OdViGipAtJ1VrTFsbyvQ1x13MHOFPfDWdo/TR05ujT6ZEjUeLL5WI6whfQTqlV8CEpz5Xz07HaHz4nXrhOx3JhSF8TaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwOj2f99Ed3VaX40+wVXMVC/TJWKNDsooRVbwpPuoBPdZ5E9E5XILNRMiCIcrhy58xAjAT/nnAjb+W1zvLzuj8j9cvJ6u70cdkVFh7puJAY+0Cpdxeyt/wiZwTIbPObhFKYYk=\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436\",\"request_id\":\"782b34e59cc14010905fc1c2f4762a9f\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert20887903436/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fbae79d5-38bb-493f-bb15-7fa670dd6bb2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert20887903436/b49dd617628b4e8b9705778cbeabdbf4\",\"x5t\":\"qXGr05lHeSSbDB7K7lPuJuoMdc4\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQWc4PfHZrTWqW/x+ZZFnJqjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMVoXDTI1MDMxNjA4MDkyMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLL7NO2dTgC8ymEco/QtwI5w3FWuYmcj6ZKZnuznVYhoqQLSdVa0xbG8r0NcddzBzhT3w1naP00dObo0+mRI1Hiy+ViOsIX0E6pVfAhKc+V89Ox2h8+J164TsdyYUhfE2qN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDTOwpcNN/FnSTPUOIcc2zdZYi/DMB0GA1UdDgQWBBQ0zsKXDTfxZ0kz1DiHHNs3WWIvwzAKBggqhkjOPQQDAwNoADBlAjBzQF/pcq0kWufaOFYeotBXyUVoIHDuAA057qTb8qd7Q+NWx6YCDLd0Zn415+8J8KgCMQC+KpalShkS4vRbob4wTIQDQoe7qGu/gczAF83o7Qq1g9qHhx0BMMS1NVxqPF5Bz5I=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954158,\"updated\":1678954158}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert20887903436" ] + { + "RequestUri": "https://REDACTED/certificates/testcert915910eae03/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "59dd4566-8256-4302-af6c-4ba1b344001f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert915910eae03/c9b990bf42a14896bce27bc08505a546", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "cer": "MIIB2jCCAWGgAwIBAgIQTMi5AGLITlqzoNo6VNZXejAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABP0EQ6HwVfy83YWbeg83WVSKwVPtso0XtpEG/HqTY0a/wTtkF0xer4imQZE9UmPPhtec6fIpDOowNscYPyXbaOeAwGLRfDsbhsO4xjGtJFqNmdszbUlfiHxSDPEUy3\u002BOj6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ2hN0tnCetFraaQM1D8WGOre6q7MB0GA1UdDgQWBBSdoTdLZwnrRa2mkDNQ/Fhjq3uquzAKBggqhkjOPQQDAwNnADBkAjAB3rVvxowgrSF5lFmBBTrlsQPtgAfBK8xUcnSSaq7hOk6ZfSuyorNxsMJk0HdWj/4CMCJKPqIj9SxaHRpGQP3\u002BjMpAUQo/f4Ol601x1uSieaytuH8fxdaWimiuJmGZAeieyg==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03/pending" + } + } + } + ], + "Variables": { + "0": "testcert915910eae03" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicyNotFound[1].json index 7ddbdac6cc40c..b85f0f0ce2e37 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/policy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/policy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c1c756ee-9f0d-4407-a8ac-a77cf57cd79e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "190ff8aa-eab4-4e89-87bd-e42219d62063", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/policy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "30add15d-c92c-40e9-82fe-ecea8cd99b13" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicy[1].json index 36ce072c41a55..79e07721ce86a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificatePolicy[1].json @@ -1,80 +1,377 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert3990480f79a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "145b3d63-4f97-413e-8558-50346d5559fa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9f47a42c-aef7-404d-99b1-961fdec3601c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEhhbC1L/TuzymNTIywvNhS+jQV76TtEtI67wKN4uptaEuNTedUKHVusaumeh2UtbmcgSE0u51VwvU8viVVf6CnIc86mnVIYnjs+yC5qN2j0wcfy06ermF1PUpljov7Jn5oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwAthDUToP/VS+JSUeLO8NbpoKgLwK4KNn6FY29ajyQA8j/JMtnEx3tzGP6Iz949LBAjB2VNCRUTZ7rF6QT+d/hdHmmi/UfzTpmvkjx5UqUf3l4Jh0vTHjbPiNtXzDP71+zWY=\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5b1555473a934644b3ddde2444b7d82e\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/pending?api-version=7.4&request_id=5b1555473a934644b3ddde2444b7d82e", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending?api-version=7.4\u0026request_id=26c398769739477fa344ea1e20341a52", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3a8988f8-225e-4e54-997d-b0a07b036026" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGpn3ySaDTEVRNsaMftX6txOm6gecWp0DFAJqgeqWL5jf3FRnJ\u002BsGjP3903RH3WHINt3bmjI9g4/LCc7PTPalN/cdyclPIGdzexlVq09Mcs4S5jPq34NhdS4HSh0WUZimoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwdz0yYDTJizIigYeIm9nOSgX7PclzhffYiCkZycqw9yRsc75B\u002BgYTsW3HZq6f6fFiAjEAuRecWawGlqjXFhISgG2jqEVmqWuCmxeqLzJxW7\u002BSy7gRbpUhDVz/0KC5NzXP0kAN", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "26c398769739477fa344ea1e20341a52" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert3990480f79a/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "049dc0e6-898a-4f33-b0f3-81b8fbc41117" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGpn3ySaDTEVRNsaMftX6txOm6gecWp0DFAJqgeqWL5jf3FRnJ\u002BsGjP3903RH3WHINt3bmjI9g4/LCc7PTPalN/cdyclPIGdzexlVq09Mcs4S5jPq34NhdS4HSh0WUZimoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwdz0yYDTJizIigYeIm9nOSgX7PclzhffYiCkZycqw9yRsc75B\u002BgYTsW3HZq6f6fFiAjEAuRecWawGlqjXFhISgG2jqEVmqWuCmxeqLzJxW7\u002BSy7gRbpUhDVz/0KC5NzXP0kAN", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "26c398769739477fa344ea1e20341a52" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "64a77c59-1bb5-4698-8a51-3081f7dcf755", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEhhbC1L/TuzymNTIywvNhS+jQV76TtEtI67wKN4uptaEuNTedUKHVusaumeh2UtbmcgSE0u51VwvU8viVVf6CnIc86mnVIYnjs+yC5qN2j0wcfy06ermF1PUpljov7Jn5oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwAthDUToP/VS+JSUeLO8NbpoKgLwK4KNn6FY29ajyQA8j/JMtnEx3tzGP6Iz949LBAjB2VNCRUTZ7rF6QT+d/hdHmmi/UfzTpmvkjx5UqUf3l4Jh0vTHjbPiNtXzDP71+zWY=\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a\",\"request_id\":\"5b1555473a934644b3ddde2444b7d82e\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6cf5d00b-2ca7-4616-8ac8-192c1e91fc15" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGpn3ySaDTEVRNsaMftX6txOm6gecWp0DFAJqgeqWL5jf3FRnJ\u002BsGjP3903RH3WHINt3bmjI9g4/LCc7PTPalN/cdyclPIGdzexlVq09Mcs4S5jPq34NhdS4HSh0WUZimoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwdz0yYDTJizIigYeIm9nOSgX7PclzhffYiCkZycqw9yRsc75B\u002BgYTsW3HZq6f6fFiAjEAuRecWawGlqjXFhISgG2jqEVmqWuCmxeqLzJxW7\u002BSy7gRbpUhDVz/0KC5NzXP0kAN", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "26c398769739477fa344ea1e20341a52" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert3990480f79a/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "691ff1cd-bd5a-4453-8f4f-ba5e2f01ac23" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGpn3ySaDTEVRNsaMftX6txOm6gecWp0DFAJqgeqWL5jf3FRnJ\u002BsGjP3903RH3WHINt3bmjI9g4/LCc7PTPalN/cdyclPIGdzexlVq09Mcs4S5jPq34NhdS4HSh0WUZimoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwdz0yYDTJizIigYeIm9nOSgX7PclzhffYiCkZycqw9yRsc75B\u002BgYTsW3HZq6f6fFiAjEAuRecWawGlqjXFhISgG2jqEVmqWuCmxeqLzJxW7\u002BSy7gRbpUhDVz/0KC5NzXP0kAN", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "26c398769739477fa344ea1e20341a52" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "36ba7b80-cc00-4d70-a881-2d13dae5de0e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/db1ccf53373243ed9fa1565cea5b5f15\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert3990480f79a/db1ccf53373243ed9fa1565cea5b5f15\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert3990480f79a/db1ccf53373243ed9fa1565cea5b5f15\",\"x5t\":\"5oA2b34eiQF-H907cTs_PUxFKUo\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQbDQPy+7ESpa1F3rQ98jYqDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNloXDTI1MDMxNjA4MDkxNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIYWwtS/07s8pjUyMsLzYUvo0Fe+k7RLSOu8CjeLqbWhLjU3nVCh1brGrpnodlLW5nIEhNLudVcL1PL4lVX+gpyHPOpp1SGJ47Psguajdo9MHH8tOnq5hdT1KZY6L+yZ+aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPSBOnFQju3TvLrY2VO6/IFysyTAMB0GA1UdDgQWBBT0gTpxUI7t07y62NlTuvyBcrMkwDAKBggqhkjOPQQDAwNpADBmAjEAnKYQBO3Mn5zoyjACd7EYO7L4EKWHLbsJxRjmOZsrXGIC9Ogtdfc4Xfb3szfXSNztAjEAr0dvrWPzIc0PKjSQzXWkU9sENPAOziJwu3CJ2fNu0eKKOKq7RxI1S51CuKAE/Ttw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3fa8fd81-76f6-434e-aa35-33db2bccf830" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEGpn3ySaDTEVRNsaMftX6txOm6gecWp0DFAJqgeqWL5jf3FRnJ\u002BsGjP3903RH3WHINt3bmjI9g4/LCc7PTPalN/cdyclPIGdzexlVq09Mcs4S5jPq34NhdS4HSh0WUZimoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwdz0yYDTJizIigYeIm9nOSgX7PclzhffYiCkZycqw9yRsc75B\u002BgYTsW3HZq6f6fFiAjEAuRecWawGlqjXFhISgG2jqEVmqWuCmxeqLzJxW7\u002BSy7gRbpUhDVz/0KC5NzXP0kAN", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116", + "request_id": "26c398769739477fa344ea1e20341a52" + } }, - "Exception" : null - } ], - "variables" : [ "testcert3990480f79a" ] + { + "RequestUri": "https://REDACTED/certificates/testcert92278d8e116/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b6395f3f-363a-423c-8f03-5ab854a9586d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/6a4186c82c9b4e91943680bc074615c5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92278d8e116/6a4186c82c9b4e91943680bc074615c5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert92278d8e116/6a4186c82c9b4e91943680bc074615c5", + "x5t": "SD6AmL6YJSJcLneUgerDz7EDrmg", + "cer": "MIIB3DCCAWGgAwIBAgIQbgLINem\u002BQnq0a5LA\u002B/BXKTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBqZ98kmg0xFUTbGjH7V\u002BrcTpuoHnFqdAxQCaoHqli\u002BY39xUZyfrBoz9/dN0R91hyDbd25oyPYOPywnOz0z2pTf3HcnJTyBnc3sZVatPTHLOEuYz6t\u002BDYXUuB0odFlGYpqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMiAvxdMCybYoxR15oeKTM3us\u002B1HMB0GA1UdDgQWBBTIgL8XTAsm2KMUdeaHikzN7rPtRzAKBggqhkjOPQQDAwNpADBmAjEAxTaHMBCo6THKLkNgYlsp3JVGVAjCoaHVKNKHiQ1V1J6OXkY2aIuafR1oQweDJdqBAjEA3jTpxyqNPOhZvmSr35vr16H/hcBWFZeaT8f6cXxOY5v2SEEF7QuPXfFZTixPIzgw", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116/pending" + } + } + } + ], + "Variables": { + "0": "testcert92278d8e116" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateSpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateSpecificVersion[1].json index 46d284d6e2be7..e7e368273c642 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateSpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificateSpecificVersion[1].json @@ -1,80 +1,257 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert82221cd67f8/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert62768ede0a9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0560394e-12b6-403b-b6b0-e967d3b288c9" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "139750ce-256f-4b20-b187-e098ecb17fc4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEjfNlwieIQGU3tvMpysTGdW0lTJ9Ue0O3JcCVqc5kksEs7x1x9gMgvGm7PXw3sb1e6eb+6XFSBuaf8l26ed/LI8E2CuRZ26xFKRZB6bzeE8gjmeNYdWt32qrC5PxmQj70oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAOAZpzOZTZzbOLUdY8RZh2bZAC9nZiLysj9HYNbQQa5DAvFLR3R2Ubbv1Drhi+VJEwIwWheuEUKIf3HpjY15HfxCvUS8PfTJ208zpBP4GcTZkz92qdmqvcU09zTOIPxv6+bG\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"2c15567b815342b5bac63fe5146e248f\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/pending?api-version=7.4&request_id=2c15567b815342b5bac63fe5146e248f", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert62768ede0a9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/pending?api-version=7.4\u0026request_id=260e3026477d4663800848a4f15b14ed", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2bc11018-eca3-4fdc-af3a-038a13e4624f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/cntIOyIuyeFoLhWfqbDNAXREIRH4odCBqUgcFHO28tFfAJMUUFOKKsRuWGCk9eoSUtQDd2AaKYY4BhaTfiT0L9cTqsEoKxQQjAwmL0SqMCGiKeI8GnN0stUBgdIJtfVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwahgbLkvqbYAhWVDp9naiRvgQ399wG128QpoQCOfKTD\u002B0Cb8\u002BVm9n\u002BFeJC\u002BeLRhX6AjAeAFwrSO9fZYyxvUvZHzu3zIMC5/qMU9yOL9p5lD9fxB\u002BxUJmx5wSNZecq2gwqVjE=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "260e3026477d4663800848a4f15b14ed" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert82221cd67f8/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert62768ede0a9/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dc9350a2-b7be-44c3-8141-7b5a571a0585" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/cntIOyIuyeFoLhWfqbDNAXREIRH4odCBqUgcFHO28tFfAJMUUFOKKsRuWGCk9eoSUtQDd2AaKYY4BhaTfiT0L9cTqsEoKxQQjAwmL0SqMCGiKeI8GnN0stUBgdIJtfVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwahgbLkvqbYAhWVDp9naiRvgQ399wG128QpoQCOfKTD\u002B0Cb8\u002BVm9n\u002BFeJC\u002BeLRhX6AjAeAFwrSO9fZYyxvUvZHzu3zIMC5/qMU9yOL9p5lD9fxB\u002BxUJmx5wSNZecq2gwqVjE=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9", + "request_id": "260e3026477d4663800848a4f15b14ed" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "461f1724-1638-4af1-aa1b-fd6c8522e8b9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEjfNlwieIQGU3tvMpysTGdW0lTJ9Ue0O3JcCVqc5kksEs7x1x9gMgvGm7PXw3sb1e6eb+6XFSBuaf8l26ed/LI8E2CuRZ26xFKRZB6bzeE8gjmeNYdWt32qrC5PxmQj70oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAOAZpzOZTZzbOLUdY8RZh2bZAC9nZiLysj9HYNbQQa5DAvFLR3R2Ubbv1Drhi+VJEwIwWheuEUKIf3HpjY15HfxCvUS8PfTJ208zpBP4GcTZkz92qdmqvcU09zTOIPxv6+bG\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8\",\"request_id\":\"2c15567b815342b5bac63fe5146e248f\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert82221cd67f8/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "39b5697a-1743-4070-8693-d246dad38906", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/eb5c0c4244614cae8cc535311aa38384\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert82221cd67f8/eb5c0c4244614cae8cc535311aa38384\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert82221cd67f8/eb5c0c4244614cae8cc535311aa38384\",\"x5t\":\"s7vRlbUkLTmcGdZ4rBNAQ8eDDwQ\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQQBS0rthMTiyF07drqC9SjTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMloXDTI1MDMxNjA4MDkxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABI3zZcIniEBlN7bzKcrExnVtJUyfVHtDtyXAlanOZJLBLO8dcfYDILxpuz18N7G9Xunm/ulxUgbmn/JdunnfyyPBNgrkWdusRSkWQem83hPII5njWHVrd9qqwuT8ZkI+9KN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFC5H79ZDOb47kCUX4zER4D9ZPcqrMB0GA1UdDgQWBBQuR+/WQzm+O5AlF+MxEeA/WT3KqzAKBggqhkjOPQQDAwNnADBkAjAS8Z9DxBzGkfgVg/X4/dPtInIfqqM2uTA2p4IWPcEoX4BpoUjTTY/z4MF1pnqiE3YCMCu2odHDYlYDGm1h36DUZdAjrj26DcITFSyZqoyIzeiQdXrzFlK6KwQ7rJjeXrikwQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert82221cd67f8" ] + { + "RequestUri": "https://REDACTED/certificates/testcert62768ede0a9/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c23b0aa9-08c4-4441-bb0e-73ff846a8cac" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/630f810f4df34c15b7f6c2262f70b809", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert62768ede0a9/630f810f4df34c15b7f6c2262f70b809", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert62768ede0a9/630f810f4df34c15b7f6c2262f70b809", + "x5t": "iwUGnokFBgVVoLjicfdH5ofw1-w", + "cer": "MIIB2zCCAWGgAwIBAgIQO8EvsMG\u002BR0yLe7aQ4XinKzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1OFoXDTI1MDQxMjAyNTE1OFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABP3J7SDsiLsnhaC4Vn6mwzQF0RCER\u002BKHQgalIHBRztvLRXwCTFFBTiirEblhgpPXqElLUA3dgGimGOAYWk34k9C/XE6rBKCsUEIwMJi9EqjAhoiniPBpzdLLVAYHSCbX1aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGNlGcfsxVff/MDsHNarqRB7OrY7MB0GA1UdDgQWBBRjZRnH7MVX3/zA7BzWq6kQezq2OzAKBggqhkjOPQQDAwNoADBlAjEAsn/w/QWDOTvGte9ivOMHQ20p/7dl9NyPffZRT4vbJngVQKGwriLLwWGxuKnLFDMHAjBVIAz6cJBpTRa6qNOl9C0lF52V9jrrxPf2kgK40ct0LKGVk3ase9pDtpBl5cpeXdg=", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9/pending" + } + } + } + ], + "Variables": { + "0": "testcert62768ede0a9" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificate[1].json index 5e7ef6f5bb855..454846bc89bf5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getCertificate[1].json @@ -1,105 +1,457 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert81087515588/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2c093de4-fe1c-4e3a-9840-6cadae0d362b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "11abd360-b5f8-43fa-b931-cda2457f3d54", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8SAALltCRnrnnT4tvluU74DAvX9r5WvDOvaHE/FdsOQFgTlIUMonBKORhwsKIkV7Yy0Ix/rD2fbdbHPRgJ5cKWKvEsSXApSd2opzi84xRny0uAuosPfiCSJNceapHWI/oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALYMgJbaHLsMOEfMj5hCD8dZ2DrCL/sj5O2hdCj8YJnb30bRtdoF0sBLxlNarKBrsgIxAM/EUKTn3PuPGXeWiZgdyYIFyK+wM9nubGFBNiBYxCpsSBF1nZLfUM6GqfghPdre8A==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d7e3784a3f4b41cdacda4bcd42b572b5\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert81087515588/pending?api-version=7.4&request_id=d7e3784a3f4b41cdacda4bcd42b572b5", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:15 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending?api-version=7.4\u0026request_id=85962322306b47daa42b5b99f1019fe1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cbd9b01f-5160-4618-84ec-dd370fad9838" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert81087515588/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0a532888-ccc6-4d92-83e0-beff2ce2e856" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c3f22683-02cf-4f9e-bfd1-528ed960f244", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8SAALltCRnrnnT4tvluU74DAvX9r5WvDOvaHE/FdsOQFgTlIUMonBKORhwsKIkV7Yy0Ix/rD2fbdbHPRgJ5cKWKvEsSXApSd2opzi84xRny0uAuosPfiCSJNceapHWI/oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALYMgJbaHLsMOEfMj5hCD8dZ2DrCL/sj5O2hdCj8YJnb30bRtdoF0sBLxlNarKBrsgIxAM/EUKTn3PuPGXeWiZgdyYIFyK+wM9nubGFBNiBYxCpsSBF1nZLfUM6GqfghPdre8A==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d7e3784a3f4b41cdacda4bcd42b572b5\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1c32b55c-92ee-4f9a-aa32-3b33dca13346" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert81087515588/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3266ce51-cccc-43af-86b2-766c97f20609" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f2582215-6d33-4253-b598-66b5379215a0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8SAALltCRnrnnT4tvluU74DAvX9r5WvDOvaHE/FdsOQFgTlIUMonBKORhwsKIkV7Yy0Ix/rD2fbdbHPRgJ5cKWKvEsSXApSd2opzi84xRny0uAuosPfiCSJNceapHWI/oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALYMgJbaHLsMOEfMj5hCD8dZ2DrCL/sj5O2hdCj8YJnb30bRtdoF0sBLxlNarKBrsgIxAM/EUKTn3PuPGXeWiZgdyYIFyK+wM9nubGFBNiBYxCpsSBF1nZLfUM6GqfghPdre8A==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588\",\"request_id\":\"d7e3784a3f4b41cdacda4bcd42b572b5\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "daedd3a2-beac-41cd-9410-e60ad9c87b47" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert81087515588/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f5802715-5039-4146-937e-b32a6b861203" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aea76376-c4ad-42d6-8a09-e1f6532ca493", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/56cebb5582dd416aa7c0d953282ffa28\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert81087515588/56cebb5582dd416aa7c0d953282ffa28\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert81087515588/56cebb5582dd416aa7c0d953282ffa28\",\"x5t\":\"O7AQlPbPHRqGj97Ro2KHVdn_35A\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQMGhyCK5vSUW4iVJ2lX8lojAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMFoXDTI1MDMxNjA4MDkyMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPEgAC5bQkZ6550+Lb5blO+AwL1/a+Vrwzr2hxPxXbDkBYE5SFDKJwSjkYcLCiJFe2MtCMf6w9n23Wxz0YCeXClirxLElwKUndqKc4vOMUZ8tLgLqLD34gkiTXHmqR1iP6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOewQ1zlCMoN5ASonLDjRrUPz153MB0GA1UdDgQWBBTnsENc5QjKDeQEqJyw40a1D89edzAKBggqhkjOPQQDAwNoADBlAjEA2zf08uNxq2LhyS2wpfYi7ivt5hy54TMKUmkrXnGtVheRROFHlX06LCM1SJBkvdLPAjBjHT9863/aiPYnwbCm9E7n34ECKwbC9VmEEe7HQM5KCPt2L2UVDHprGbtUkrKvC6M=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954159,\"updated\":1678954159}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "23384687-e5e1-4e55-b57d-c38ef2bdf3bb" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFyCw1USjKBkl\u002BXDdYFrfX4VeFmEp5Kly7uRKLNKFLdj/407ceU\u002BlA53MCQ4y4V6JTw44X3\u002Bjl4JtTIP\u002BsyA\u002BvV9bz2oF5zbZI16FwZMCX2IZ2Kx3rYdBZW6tWELegei1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwDoxGqD132JUMaCWOj8kTpPvqzTv/CUQfNC7HTvZnEKnA99ZsOH2Bakzpe4KRvu3RAjA0A0gkrtQn0P08rd2OU0Ds4VIGd35/fIN0k4/xP7g2oUgNjO80AEql6kCWWxE3i7E=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1", + "request_id": "85962322306b47daa42b5b99f1019fe1" + } }, - "Exception" : null - } ], - "variables" : [ "testcert81087515588" ] + { + "RequestUri": "https://REDACTED/certificates/testcert07575ad91d1/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:23:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "53c6b44b-b88c-480d-98c5-03f6c0c2674e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/b684945452bc460da26e8b0f59c59912", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert07575ad91d1/b684945452bc460da26e8b0f59c59912", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert07575ad91d1/b684945452bc460da26e8b0f59c59912", + "x5t": "zOUzPFMzpHPJ3c7R-WfENw5E6sg", + "cer": "MIIB2zCCAWGgAwIBAgIQBSLJAnbgT568BOCFjHzHcTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjA1MTMyMVoXDTI1MDQxMjA1MjMyMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBcgsNVEoygZJflw3WBa31\u002BFXhZhKeSpcu7kSizShS3Y/\u002BNO3HlPpQOdzAkOMuFeiU8OOF9/o5eCbUyD/rMgPr1fW89qBec22SNehcGTAl9iGdisd62HQWVurVhC3oHotaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFNlGvTKePFtKjYjc4iwxUNGlPTTeMB0GA1UdDgQWBBTZRr0ynjxbSo2I3OIsMVDRpT003jAKBggqhkjOPQQDAwNoADBlAjAB7mDYavXn8C81icbdhlXeJDBu7\u002B6UB5DV/9c30RKTIg67Gr82JI\u002BUHbbMd2oTGbkCMQCD4fts/812XrOGXhoAPnWFUCbJgkq2JhnsYhNyFTe\u002B872pxZ90tlQGp5UgvP2fAtM=", + "attributes": { + "enabled": true, + "nbf": 1681276401, + "exp": 1744435401, + "created": 1681277001, + "updated": 1681277001, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681276996, + "updated": 1681276996 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert07575ad91d1/pending" + } + } + } + ], + "Variables": { + "0": "testcert07575ad91d1" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificateNotFound[1].json index 5ccc5e751d8f7..982ba552ea675 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fb28e47f-ab11-44c5-ab08-dcf25d35479c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "579c1b89-fb10-4d48-84d6-d889e3967c38", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "567f946d-5ed5-4076-9fe7-862bf321d716" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificate[1].json index ed70f257e2daf..407cba01f01b5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.getDeletedCertificate[1].json @@ -1,155 +1,521 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18963f6fb20/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert57505e80d81/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4aa87cf2-2092-43cc-850e-e4998a2b9a3a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1fdc5fbf-2719-4df7-84e1-6d85b0644cea", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETnBFbDFXoewcVfHdAbFSKUqw+xDTvGL81WOqc/W4NFjEWDOjOdA4DxcCpKVXAvu5r3VX1KJGc0YGxzcAKY4GkbBTZ4LaHdGBjw7jRTPt2Zoq17aSHjM0QseKJ8cbXaCmoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwEoyjGtaH0OAQ5zCMVn7Q7Q2fLqdiTUrSF+p2vSMpDDKzxn6xo35o9Ts+8sRAa7uGAjEA5OOKm+sPjGu3SywwmSa1KhDS93CkLbcphTo40QuAyozD6hJjiMYmy3bdXHoV8XG0\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"4bb804be1415406ba891e0c9466c8d9c\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending?api-version=7.4&request_id=4bb804be1415406ba891e0c9466c8d9c", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert57505e80d81/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "852", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending?api-version=7.4\u0026request_id=2bdda309bb5747c39ba57bd5d2d51b72", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "01ca9daf-84a8-41e8-bed2-9d7da5f0a1dc" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEfhzHpyvQRcYqrBMAWf4xJ/EZ07qrSyw8ENHJl/fwnHbBpOmSatPXb1NolBwCkHxXf0ivnHl0srH3OXv3wuwzSFW5e3XnnYNH//iSDDGurQ6ubrRQ0voeiWcYQnIEDvteoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAM3SdSlVjAslSJHJ7VH50d5a7JEO01bF5wRLl30R7sH0RMFCJffDjuhbgmNArVYh1wIxAM848ymWubQ9aqafqxG037XQgrxfbLq\u002BjSp5hWxJUYiEvCGyGwxctYTbQ/lbuxCPNg==", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "2bdda309bb5747c39ba57bd5d2d51b72" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18963f6fb20/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert57505e80d81/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ddd69a10-2c17-40e9-8c83-24452bbe824a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEfhzHpyvQRcYqrBMAWf4xJ/EZ07qrSyw8ENHJl/fwnHbBpOmSatPXb1NolBwCkHxXf0ivnHl0srH3OXv3wuwzSFW5e3XnnYNH//iSDDGurQ6ubrRQ0voeiWcYQnIEDvteoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAM3SdSlVjAslSJHJ7VH50d5a7JEO01bF5wRLl30R7sH0RMFCJffDjuhbgmNArVYh1wIxAM848ymWubQ9aqafqxG037XQgrxfbLq\u002BjSp5hWxJUYiEvCGyGwxctYTbQ/lbuxCPNg==", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81", + "request_id": "2bdda309bb5747c39ba57bd5d2d51b72" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a8f58aec-4ffc-4672-8fa2-feed9d490bd7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETnBFbDFXoewcVfHdAbFSKUqw+xDTvGL81WOqc/W4NFjEWDOjOdA4DxcCpKVXAvu5r3VX1KJGc0YGxzcAKY4GkbBTZ4LaHdGBjw7jRTPt2Zoq17aSHjM0QseKJ8cbXaCmoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwEoyjGtaH0OAQ5zCMVn7Q7Q2fLqdiTUrSF+p2vSMpDDKzxn6xo35o9Ts+8sRAa7uGAjEA5OOKm+sPjGu3SywwmSa1KhDS93CkLbcphTo40QuAyozD6hJjiMYmy3bdXHoV8XG0\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20\",\"request_id\":\"4bb804be1415406ba891e0c9466c8d9c\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert57505e80d81/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b2cd2584-81ec-4f13-824f-d3d99a7c202a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "x5t": "Q_I7ag7dGaGJTbSAXYiZes7uYJw", + "cer": "MIIB2zCCAWGgAwIBAgIQcilad5ywTaqqctA2v9f9pzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1OFoXDTI1MDQxMjAyNTE1OFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABH4cx6cr0EXGKqwTAFn\u002BMSfxGdO6q0ssPBDRyZf38Jx2waTpkmrT129TaJQcApB8V39Ir5x5dLKx9zl798LsM0hVuXt1552DR//4kgwxrq0Orm60UNL6HolnGEJyBA77XqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFM2BtmEk4ym8js/F9D9E/ZViWhQaMB0GA1UdDgQWBBTNgbZhJOMpvI7PxfQ/RP2VYloUGjAKBggqhkjOPQQDAwNoADBlAjBiZKetkdMbaC6APprZGVTqN6JMqi8vx/tvqqPVvayMeQI2otoXPuAGaaKbxXMgs5gCMQDIAvgVRScQSrpOTJ\u002BvIr56KeZtMscu4A4Ef5Mh\u002BA6uq2FfEDh5cynQ\u002Bt52LVIMXBw=", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18963f6fb20/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert57505e80d81?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "98fe702a-469f-4404-9fdf-7ddb641bc2ab" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert57505e80d81", + "deletedDate": 1681267918, + "scheduledPurgeDate": 1681872718, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "x5t": "Q_I7ag7dGaGJTbSAXYiZes7uYJw", + "cer": "MIIB2zCCAWGgAwIBAgIQcilad5ywTaqqctA2v9f9pzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1OFoXDTI1MDQxMjAyNTE1OFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABH4cx6cr0EXGKqwTAFn\u002BMSfxGdO6q0ssPBDRyZf38Jx2waTpkmrT129TaJQcApB8V39Ir5x5dLKx9zl798LsM0hVuXt1552DR//4kgwxrq0Orm60UNL6HolnGEJyBA77XqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFM2BtmEk4ym8js/F9D9E/ZViWhQaMB0GA1UdDgQWBBTNgbZhJOMpvI7PxfQ/RP2VYloUGjAKBggqhkjOPQQDAwNoADBlAjBiZKetkdMbaC6APprZGVTqN6JMqi8vx/tvqqPVvayMeQI2otoXPuAGaaKbxXMgs5gCMQDIAvgVRScQSrpOTJ\u002BvIr56KeZtMscu4A4Ef5Mh\u002BA6uq2FfEDh5cynQ\u002Bt52LVIMXBw=", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "96f38a2d-f14c-4f1c-9b4a-4eae6bfda752", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"x5t\":\"UMLD48JJSY8e3euXtnQQNGFJPWo\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQYNy6wWE4Rs+sitcm4vPpwjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkwOVoXDTI1MDMxNjA4MDkwOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABE5wRWwxV6HsHFXx3QGxUilKsPsQ07xi/NVjqnP1uDRYxFgzoznQOA8XAqSlVwL7ua91V9SiRnNGBsc3ACmOBpGwU2eC2h3RgY8O40Uz7dmaKte2kh4zNELHiifHG12gpqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPeUqOy+3yuLzshTPe76sZ9n4JRYMB0GA1UdDgQWBBT3lKjsvt8ri87IUz3u+rGfZ+CUWDAKBggqhkjOPQQDAwNpADBmAjEAu2d4ZpcKuLpyDsu7cIOpSH5dYKr/n+zzgjAEq93JYJy5waNk2+jEfe3pA9FTnlQPAjEA/MrRNxjyQ5W+0YXkfPFaKhwfoubFSMW8reBIFBRqCDUro1yeRqS5cZiA/6l4MoOT\",\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert57505e80d81?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "90e9198e-6eec-40d1-9652-60b3c1542f05" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert57505e80d81" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18963f6fb20?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert57505e80d81?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aeebf7d4-430b-4376-be4e-db9c4edc545e" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert57505e80d81" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c1b57d88-ed8b-46ab-bbce-220c8a8d496b", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert18963f6fb20\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"x5t\":\"UMLD48JJSY8e3euXtnQQNGFJPWo\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQYNy6wWE4Rs+sitcm4vPpwjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkwOVoXDTI1MDMxNjA4MDkwOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABE5wRWwxV6HsHFXx3QGxUilKsPsQ07xi/NVjqnP1uDRYxFgzoznQOA8XAqSlVwL7ua91V9SiRnNGBsc3ACmOBpGwU2eC2h3RgY8O40Uz7dmaKte2kh4zNELHiifHG12gpqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPeUqOy+3yuLzshTPe76sZ9n4JRYMB0GA1UdDgQWBBT3lKjsvt8ri87IUz3u+rGfZ+CUWDAKBggqhkjOPQQDAwNpADBmAjEAu2d4ZpcKuLpyDsu7cIOpSH5dYKr/n+zzgjAEq93JYJy5waNk2+jEfe3pA9FTnlQPAjEA/MrRNxjyQ5W+0YXkfPFaKhwfoubFSMW8reBIFBRqCDUro1yeRqS5cZiA/6l4MoOT\",\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert18963f6fb20?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d9e6a039-71c1-44d8-a262-a70e74305293", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert18963f6fb20\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert18963f6fb20?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "502106b0-36ab-4c8c-b7a3-6bc07957fe2d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert18963f6fb20\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert18963f6fb20/4efaa739702f424cba37ef5dafa58b40\",\"x5t\":\"UMLD48JJSY8e3euXtnQQNGFJPWo\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQYNy6wWE4Rs+sitcm4vPpwjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkwOVoXDTI1MDMxNjA4MDkwOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABE5wRWwxV6HsHFXx3QGxUilKsPsQ07xi/NVjqnP1uDRYxFgzoznQOA8XAqSlVwL7ua91V9SiRnNGBsc3ACmOBpGwU2eC2h3RgY8O40Uz7dmaKte2kh4zNELHiifHG12gpqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPeUqOy+3yuLzshTPe76sZ9n4JRYMB0GA1UdDgQWBBT3lKjsvt8ri87IUz3u+rGfZ+CUWDAKBggqhkjOPQQDAwNpADBmAjEAu2d4ZpcKuLpyDsu7cIOpSH5dYKr/n+zzgjAEq93JYJy5waNk2+jEfe3pA9FTnlQPAjEA/MrRNxjyQ5W+0YXkfPFaKhwfoubFSMW8reBIFBRqCDUro1yeRqS5cZiA/6l4MoOT\",\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert18963f6fb20" ] + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert57505e80d81?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8bce91a9-1f41-4040-839c-8f96dbcafec3" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert57505e80d81", + "deletedDate": 1681267918, + "scheduledPurgeDate": 1681872718, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert57505e80d81/daa0e360742440a1a2f1adec8cb17aa2", + "x5t": "Q_I7ag7dGaGJTbSAXYiZes7uYJw", + "cer": "MIIB2zCCAWGgAwIBAgIQcilad5ywTaqqctA2v9f9pzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1OFoXDTI1MDQxMjAyNTE1OFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABH4cx6cr0EXGKqwTAFn\u002BMSfxGdO6q0ssPBDRyZf38Jx2waTpkmrT129TaJQcApB8V39Ir5x5dLKx9zl798LsM0hVuXt1552DR//4kgwxrq0Orm60UNL6HolnGEJyBA77XqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFM2BtmEk4ym8js/F9D9E/ZViWhQaMB0GA1UdDgQWBBTNgbZhJOMpvI7PxfQ/RP2VYloUGjAKBggqhkjOPQQDAwNoADBlAjBiZKetkdMbaC6APprZGVTqN6JMqi8vx/tvqqPVvayMeQI2otoXPuAGaaKbxXMgs5gCMQDIAvgVRScQSrpOTJ\u002BvIr56KeZtMscu4A4Ef5Mh\u002BA6uq2FfEDh5cynQ\u002Bt52LVIMXBw=", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81/pending" + } + } + } + ], + "Variables": { + "0": "testcert57505e80d81" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importCertificate[1].json index 5658c921ac7c4..32335d4d05d65 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importCertificate[1].json @@ -1,29 +1,136 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/importcertpkcs60786327/import?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/importcertpkcs72765dc3/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bd476875-c615-4c1c-aa44-2dc6db14e57b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2195", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c29743fc-028a-454a-8885-92b3b6f9fcf1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327/26233b4ea3ea4394a7e78b282a22e3ae\",\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs60786327/26233b4ea3ea4394a7e78b282a22e3ae\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs60786327/26233b4ea3ea4394a7e78b282a22e3ae\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"cer\":\"MIIDDzCCAfegAwIBAgIUPnG5OzbWNMDRDWcAs7/z12GGbQQwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MB4XDTIzMDMwNDAxMTQwM1oXDTI0MDMwMzAxMTQwM1owFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv68zJXrJd0QFmzmL0vXjZgER82K5PV5eE+ponTg8LzbAgvXZNTK0W1EjwTe6xwrJeeIDPLN5aKuLHYEAJG5/p5+J/iycqhYM8d33hTq7Iaa0MI0ijbqG7ccQdMmrPMO/dahXNKmHK2RuxrswM9k07ZslXthoiAjQduTaxNcn7dKZ7mOYcTZvPp8Yx11hVcQextA6SGS9/r0BfBClK+OZ6f8jZzGkV5ieVo621ikSfcRC0kywChB1ZEEMDQXofUwto656oLlxsY/B7dtTQMwlFz1QHUYG1PpoyGW0sFl3FMVUZ/jdMwDZWa9NYuzSiyuSW4Jc1YGhNzaIsc3pa8ZcVwIDAQABo1MwUTAdBgNVHQ4EFgQU9rMViA3O61dYZyQLAl5HYbaWR80wHwYDVR0jBBgwFoAU9rMViA3O61dYZyQLAl5HYbaWR80wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAd3+FOKZXVb/+FG5LN3UV+qZP4muFO5caTN2ADWEd3tou5A3SmUotTHvPAax6XfaEhodf4dWIqs2rNGANzLE5ys/fgCtHUK2gkY0CJ+aUYLbXHCnf2wayb2nh12fgMdLM91iwWcHR8eNb1tf5FpKTXjxREHFgc/DziuEElD6u+5IMUXdtbyFkQa9LL9ybDjhBp0RlDYBStWMw8VVtyHmIgOIHR7X0AVyCCjE+ZR1QdnhmImzSZraPQFHAHL8n53JRrnf8SJJqPUPy+1zdtofrsoZEbiFxuqsdAhzF42Tv4Q+cjUfSgKp/EZr9s1lNa3m1IbCsDYFYblWAoZN6oYnYKA==\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":12,\"basic_constraints\":{\"ca\":true}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1678954154,\"updated\":1678954154}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "importcertpkcs60786327" ] + { + "RequestUri": "https://REDACTED/certificates/importcertpkcs72765dc3/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "3283", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "MIIJUQIBAzCCCRcGCSqGSIb3DQEHAaCCCQgEggkEMIIJADCCA7cGCSqGSIb3DQEHBqCCA6gwggOkAgEAMIIDnQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIONsrwr1FhuICAggAgIIDcBQWaArZgVr5K8\u002BzccadOCGIC\u002BWzlAx2V88HT6fQcujZItr3koiHi7\u002BsdTe3mQncnxqZoNGgx4s6Xh\u002BQIIFdHSAo4EL9uGoFKiprKMHAmiCj9PcmM6stTFYMnzmlAiVLCNogPEobi2pfcQIVbDaVUHdm4EczlBGKyMTZSTkXmxI7Ax9VYXucniBpxJ3d0bTHchvHCjqHCLTDCnqyPXTqQH0JpHSYdcq9pxydtoNNgT7NDrKM0QtxIvI29\u002BZlSLZMxB3Mf4qOhn6bmyBakUypK1S8N0b2YPLTjp5\u002BZmb8W24\u002B1bVmgV2p10SFjbt8CacDl3dmRUkwu6C8Cl3QIpgwbMoP8hnJppyaFvIqar9roNNS3seG8RDn/Q4DCYWJ6JhA6Z\u002BgDL3BncwE2q9rekkOwo1MwERNhBEtINrXztKogdA/as1oO443ZbM/qm5pX9ZPh4Hv8Hzgl0aqlxubsUcEr8SIDNEJ3u91/gDdmHWgabnLZif8A7e2TMCqTiCM2nRr3soNUvOqnLHoexAKqsQAvi36VVmdAH1085Q\u002BISpVseCe3PiqPhLsqyfF2Yox\u002BNkI/nOwtg0XhO\u002BmdoAkes03ojctqFXB2ygo/iRH2ng16zGnWes0nSp3rcOaoqcE1c85\u002B/QQZZrzVspdnnNhYWWr1IiwyiOctOAovpmU9oDacY\u002B1u9dOpnVRr5ibwR1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MPwJ12sXwEMCOjUHYxs0jTZcgmti\u002BwBPs8xuWayhJ/9pD1DfFxf6lFOCi1op5zPc7U3NNMbU3gXgSolsrMjm0dJH0rfu4\u002BC0cym62EBoIGdvyABqS9N96YUu1OreBcCYiTP5Qajn87J8i9zj3aa5lFGJYCS6s8EBeDElMCMGCSqGSIb3DQEJFTEWBBTbFJe8LIKzZcXHxz9hFRPuEXeQqTAxMCEwCQYFKw4DAhoFAAQUI7HzgLxeU0ExCw7mUkJyWmnUlckECNF1gKFeLQMGAgIIAA==", + "pwd": "fakePasswordPlaceholder", + "attributes": { + "enabled": true + }, + "tags": { + "key": "val" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2187", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "08b64a91-a204-4d4d-839b-6f0ee1d687d6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3/4f21310545dd467fb413a42c9b33910a", + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs72765dc3/4f21310545dd467fb413a42c9b33910a", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/importcertpkcs72765dc3/4f21310545dd467fb413a42c9b33910a", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "cer": "MIIDDzCCAfegAwIBAgIUPnG5OzbWNMDRDWcAs7/z12GGbQQwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MB4XDTIzMDMwNDAxMTQwM1oXDTI0MDMwMzAxMTQwM1owFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv68zJXrJd0QFmzmL0vXjZgER82K5PV5eE\u002BponTg8LzbAgvXZNTK0W1EjwTe6xwrJeeIDPLN5aKuLHYEAJG5/p5\u002BJ/iycqhYM8d33hTq7Iaa0MI0ijbqG7ccQdMmrPMO/dahXNKmHK2RuxrswM9k07ZslXthoiAjQduTaxNcn7dKZ7mOYcTZvPp8Yx11hVcQextA6SGS9/r0BfBClK\u002BOZ6f8jZzGkV5ieVo621ikSfcRC0kywChB1ZEEMDQXofUwto656oLlxsY/B7dtTQMwlFz1QHUYG1PpoyGW0sFl3FMVUZ/jdMwDZWa9NYuzSiyuSW4Jc1YGhNzaIsc3pa8ZcVwIDAQABo1MwUTAdBgNVHQ4EFgQU9rMViA3O61dYZyQLAl5HYbaWR80wHwYDVR0jBBgwFoAU9rMViA3O61dYZyQLAl5HYbaWR80wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAd3\u002BFOKZXVb/\u002BFG5LN3UV\u002BqZP4muFO5caTN2ADWEd3tou5A3SmUotTHvPAax6XfaEhodf4dWIqs2rNGANzLE5ys/fgCtHUK2gkY0CJ\u002BaUYLbXHCnf2wayb2nh12fgMdLM91iwWcHR8eNb1tf5FpKTXjxREHFgc/DziuEElD6u\u002B5IMUXdtbyFkQa9LL9ybDjhBp0RlDYBStWMw8VVtyHmIgOIHR7X0AVyCCjE\u002BZR1QdnhmImzSZraPQFHAHL8n53JRrnf8SJJqPUPy\u002B1zdtofrsoZEbiFxuqsdAhzF42Tv4Q\u002BcjUfSgKp/EZr9s1lNa3m1IbCsDYFYblWAoZN6oYnYKA==", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=KeyVaultTest", + "ekus": [], + "key_usage": [], + "validity_months": 12, + "basic_constraints": { + "ca": true + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "EmailContacts" + } + } + ], + "issuer": { + "name": "Unknown" + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } + } + } + ], + "Variables": { + "0": "importcertpkcs72765dc3" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importPemCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importPemCertificate[1].json index 03427b36f3e06..e7e7666dc600b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importPemCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.importPemCertificate[1].json @@ -1,29 +1,149 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/importcertpem45586c37/import?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/importcertpem36190600/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9e7d935b-1470-4026-a328-93d67b59e291" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2470", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2770f668-aa2f-4033-ae58-75d6e9719038", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37/9f7e820c1c134416ba2c19120fbf70a7\",\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem45586c37/9f7e820c1c134416ba2c19120fbf70a7\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/importcertpem45586c37/9f7e820c1c134416ba2c19120fbf70a7\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"cer\":\"MIIDqzCCApMCFC+MROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0Ex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yRpkBTDudU3vuYuyAP3PwO6F/ic7Rm9D1uzEI38Va+o6CUh4NJnpIZIBs7T+rPwhKrUuM7BEO0CL7VTh37UzA==\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"E=opensource@microsoft.com, CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Redmond, S=WA, C=US\",\"ekus\":[],\"key_usage\":[],\"validity_months\":60,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "importcertpem45586c37" ] + { + "RequestUri": "https://REDACTED/certificates/importcertpem36190600/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "3323", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "-----BEGIN CERTIFICATE-----\nMIIDqzCCApMCFC\u002BMROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGR\nMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQ\nBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMR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6F/ic7Rm9D1uzEI38Va\u002Bo\n6CUh4NJnpIZIBs7T\u002BrPwhKrUuM7BEO0CL7VTh37UzA==\n-----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----\nREDACTED\n-----END PRIVATE KEY-----\n", + "policy": { + "key_props": {}, + "secret_props": { + "contentType": "application/x-pem-file" + }, + "x509_props": { + "subject": "CN=AzureSDK", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + }, + "tags": { + "key": "val" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ee9dfd3-9a6f-4e06-a392-801cbcc9f8c9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600/6cac15abc47e4642ab8b350b5c56d72d", + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem36190600/6cac15abc47e4642ab8b350b5c56d72d", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/importcertpem36190600/6cac15abc47e4642ab8b350b5c56d72d", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "cer": "MIIDqzCCApMCFC\u002BMROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAlBgk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VTh37UzA==", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pem-file" + }, + "x509_props": { + "subject": "E=opensource@microsoft.com, CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Redmond, S=WA, C=US", + "ekus": [], + "key_usage": [], + "validity_months": 60, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } + } + } + ], + "Variables": { + "0": "importcertpem36190600" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateIssuers[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateIssuers[1].json index ae1e076ef6692..d166fcdb9849f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateIssuers[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateIssuers[1].json @@ -1,304 +1,851 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer82406df0?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer804676aa?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aaa05f53-1e0a-4549-b721-f4d720426530" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6c14cf0a-e8ee-42ae-be79-24c44ef91aa3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer82406df0\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer804676aa?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2a969090-4618-493c-930b-df41a32e5dea" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer804676aa", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer41610bc1?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer57598dd4?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "553a4ce3-6cf6-4e7e-a503-d7e2718b6098" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer57598dd4", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9755f020-b749-4f1a-be9d-dec1b00a6187", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer41610bc1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer05877fff?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "db90bf99-073c-449c-8066-73fcb5542b79" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer05877fff", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer04793e32?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer877419d0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "eae0b786-667d-4a4d-946f-44edb03a07ef" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer877419d0", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "43a2eb88-1244-4be5-87af-0e55d54013fa", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04793e32\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer64709f46?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ada83e0-c85a-4359-9cf3-21be1e53e08c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer64709f46", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer72931efd?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer67123b89?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b8d12e4a-d182-4786-967b-529d53f47faa" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer67123b89", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "79d4821a-832e-4743-86c1-5ed42f29d4c8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72931efd\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer53350b92?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b035328a-7c41-4360-a278-7ba9fa745d37" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer53350b92", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer92832fff?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer61891310?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4c565e1f-8a48-47de-bac6-7bcad0df193f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer61891310", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f3731407-51db-4276-90ac-2acb5149c962", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer92832fff\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer59410e79?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "890446dd-b92d-4417-b83a-275571cf1c18" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer59410e79", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer49224b67?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer02356c85?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4b14770a-607a-48ee-8633-f12fef9085a3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer02356c85", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "33fff390-6e15-411f-9599-abbd89c84713", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer49224b67\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954150,\"updated\":1678954150}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer220739e6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1af45d77-defa-4cca-a3ec-638b92acde41", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer220739e6\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954150,\"updated\":1678954150}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer0621158e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "31bf3f8a-7349-4064-8088-b3cf490aa1ac", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer0621158e\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954150,\"updated\":1678954150}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer38738d22?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "78974d2b-2b3f-4c5a-9d77-e7a193798997", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer38738d22\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954150,\"updated\":1678954150}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer72498e40?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "529e5ee0-849f-4555-93d5-849a5b64e1a2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72498e40\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954150,\"updated\":1678954150}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/Issuers?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3154", - "x-ms-request-id" : "51078ef2-ac83-4642-bf6e-9e6eca555519", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04793e32\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer05607230\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer0621158e\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer09453b03\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer145535c1\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer184706a6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer220739e6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer38738d22\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer41610bc1\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer49224b67\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer511445a6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer5137339a\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer5337485b\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer53852b25\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer56875732\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer63743750\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72498e40\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72931efd\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer82406df0\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer92832fff\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer35432e6337\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer3944587159\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer409028ab59\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5356974891\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5628623d2a\",\"provider\":\"Test\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates/issuers?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01EUXdJV05sY25ScFptbGpZWFJsTDBsVFUxVkZVbE12VkVWVFZFbFRVMVZGVWpjME1qTTNOekV6TnpnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates/issuers?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01EUXdJV05sY25ScFptbGpZWFJsTDBsVFUxVkZVbE12VkVWVFZFbFRVMVZGVWpjME1qTTNOekV6TnpnaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "138", - "x-ms-request-id" : "2529c0a8-0de5-4916-880c-ddeb042b4886", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer83488cdbeb\",\"provider\":\"Test\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertissuer38738d22", "listcertissuer04793e32", "listcertissuer82406df0", "listcertissuer0621158e", "listcertissuer49224b67", "listcertissuer72931efd", "listcertissuer72498e40", "listcertissuer41610bc1", "listcertissuer92832fff", "listcertissuer220739e6" ] + { + "RequestUri": "https://REDACTED/certificates/Issuers?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d8ab742c-bd4e-4528-98bb-72aa59a5f29a" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer02356c85", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer05877fff", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer53350b92", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer57598dd4", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer59410e79", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer61891310", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer64709f46", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer67123b89", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer804676aa", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer877419d0", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8499016d15", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer937724e3ff", + "provider": "Test" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listcertissuer877419d0", + "1": "listcertissuer59410e79", + "2": "listcertissuer67123b89", + "3": "listcertissuer61891310", + "4": "listcertissuer804676aa", + "5": "listcertissuer02356c85", + "6": "listcertissuer57598dd4", + "7": "listcertissuer64709f46", + "8": "listcertissuer53350b92", + "9": "listcertissuer05877fff" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateVersions[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateVersions[1].json index c94945c5d1ccb..34094fd571301 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificateVersions[1].json @@ -1,459 +1,1577 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3bf52480-ece1-4636-b3c6-428da0edfb9d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5fc0e2f3-682c-4c6e-ab82-5a548df7d931", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALq+qfiIe1nlQ7xMa0uQrh/FvPtuThPNEhK/2fyaatfPgpDWEVFjqj5EuAwxT78QHRIAGaftIyVvNweKi9lx123b3Kpj5CN2M7F+k+OPMEuJxqxX4JBgGBklZRM9l8ZhVrwqmUXEPpTEngdgHicTYADc4C+CUxZnXtvmdJPIp/xEVVbql66YRB1OrUIRuObwOm2zjWiJ4xBgOg9bbo4Xg+HtqPzZttiZHOw251wKbYvfFfTzphGt0PSf5hr9lzDM4nPZf0m9UbMMI3W33OuoaBnT8bL+i1Q8AUeunm6d076wKUhOlAorZ5IJEMkhqzitN3dEP7VQyHxBH8A2nB+PFh0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBPVupBulwYA7bkblHczMJPD+2CbjO0XUmhjfDz1SPX1LsiAPaD+VWvVGnR/WbbCu+1wyfUcaTtZlBB7GF6dLuqPijFzTemobVhaVFgWycvxIx54xgTouuzPz+AYUC+bJxf6D6QFJTW0dHoD+dRQCR+l3s7VPGUTDPKsYgYU0jPocSLbpahCJGsK2itMyzJuikC8kNtoQfCs59zbKVPvl7WG5aSz7qsS4vGhnY16nz9GrA/rmoIVy0s8tfaVFhTJMzHzelTyaYPk9LTMkjnkeIqUC6WDS4pPRZuHIdRf/1v5Ix3qgqHwjscL2bgXlqJUSQb2ZmMkSIonOQMU8y7KpuD\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a00a007580c8428abfc96d4ea78c9f30\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4&request_id=a00a007580c8428abfc96d4ea78c9f30", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending?api-version=7.4\u0026request_id=c878a1b124364ea49f71010c00d85a4a", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9d7d156e-0440-4a5d-86ca-d06333341238" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMgFYDcPeKQtGGJ\u002BtqJrNbwTg\u002Bo0zn8HYJD6EqJTzj0K8nwilip1G6pT39QbTs6WV6JR9XvVNLp7IkWWnsTl/l/ZyaPxaX/GNgtK4HvJV60f50VnoTs0FoawVW1QWI3XTabc5qv33yQMzOWr\u002Bas5juTtTBSa3v3mTH1G7wgykuYC0PBSMG3RiRtq7pjm3UuMznWS0GlPkmnRcR/MPA9RSw5F00GtFF4Gpk\u002BjEjZKRnvy3NW7AwVjvh47McXomsyffWvLwq9iNH/UpRD3vOJws\u002BWnqc8kV8ka2ZII/qp8CDnn\u002BxjdIEX3v9SVxfKbOTFJqUZ4r52TwNHz/KN6LRYDomECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC6V5MkVpfO5lc4frB1NXRWi\u002BSsm7uv6LPoFJBxzrPw9P1lf1zEnlQKouOgV0tLdlR4aw7CAQaB60pNCS9hoXqEO6ux\u002B65w80\u002BuvnnV9T9l9i2bdD5s0XEqfKjcVSeULi16fmYrlDMpza7IproOqV4kTUdvZgtmfZhzK7RRoH6y1qV/WIDp5SO9DYwzRQSzvL/2J85jwc4Fu4oaX\u002BpQSR4T\u002BYmiAFZ838SsONCAoie88nTNIUIGxw/cIOlpE6M0snk0eWagSjpemC5l4/gZxiqhq2rTQgHzeNHbT5vwdJJbgybssDnrs02vclAEVIPoJwOMmVBn5Y8wUP7VKPe2d1yl", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "c878a1b124364ea49f71010c00d85a4a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "214e2ae9-05ca-4248-8e50-dfc494f28fc6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMgFYDcPeKQtGGJ\u002BtqJrNbwTg\u002Bo0zn8HYJD6EqJTzj0K8nwilip1G6pT39QbTs6WV6JR9XvVNLp7IkWWnsTl/l/ZyaPxaX/GNgtK4HvJV60f50VnoTs0FoawVW1QWI3XTabc5qv33yQMzOWr\u002Bas5juTtTBSa3v3mTH1G7wgykuYC0PBSMG3RiRtq7pjm3UuMznWS0GlPkmnRcR/MPA9RSw5F00GtFF4Gpk\u002BjEjZKRnvy3NW7AwVjvh47McXomsyffWvLwq9iNH/UpRD3vOJws\u002BWnqc8kV8ka2ZII/qp8CDnn\u002BxjdIEX3v9SVxfKbOTFJqUZ4r52TwNHz/KN6LRYDomECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC6V5MkVpfO5lc4frB1NXRWi\u002BSsm7uv6LPoFJBxzrPw9P1lf1zEnlQKouOgV0tLdlR4aw7CAQaB60pNCS9hoXqEO6ux\u002B65w80\u002BuvnnV9T9l9i2bdD5s0XEqfKjcVSeULi16fmYrlDMpza7IproOqV4kTUdvZgtmfZhzK7RRoH6y1qV/WIDp5SO9DYwzRQSzvL/2J85jwc4Fu4oaX\u002BpQSR4T\u002BYmiAFZ838SsONCAoie88nTNIUIGxw/cIOlpE6M0snk0eWagSjpemC5l4/gZxiqhq2rTQgHzeNHbT5vwdJJbgybssDnrs02vclAEVIPoJwOMmVBn5Y8wUP7VKPe2d1yl", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "c878a1b124364ea49f71010c00d85a4a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "95cd1e73-72db-46cc-8358-3b8087bcdd58", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALq+qfiIe1nlQ7xMa0uQrh/FvPtuThPNEhK/2fyaatfPgpDWEVFjqj5EuAwxT78QHRIAGaftIyVvNweKi9lx123b3Kpj5CN2M7F+k+OPMEuJxqxX4JBgGBklZRM9l8ZhVrwqmUXEPpTEngdgHicTYADc4C+CUxZnXtvmdJPIp/xEVVbql66YRB1OrUIRuObwOm2zjWiJ4xBgOg9bbo4Xg+HtqPzZttiZHOw251wKbYvfFfTzphGt0PSf5hr9lzDM4nPZf0m9UbMMI3W33OuoaBnT8bL+i1Q8AUeunm6d076wKUhOlAorZ5IJEMkhqzitN3dEP7VQyHxBH8A2nB+PFh0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBPVupBulwYA7bkblHczMJPD+2CbjO0XUmhjfDz1SPX1LsiAPaD+VWvVGnR/WbbCu+1wyfUcaTtZlBB7GF6dLuqPijFzTemobVhaVFgWycvxIx54xgTouuzPz+AYUC+bJxf6D6QFJTW0dHoD+dRQCR+l3s7VPGUTDPKsYgYU0jPocSLbpahCJGsK2itMyzJuikC8kNtoQfCs59zbKVPvl7WG5aSz7qsS4vGhnY16nz9GrA/rmoIVy0s8tfaVFhTJMzHzelTyaYPk9LTMkjnkeIqUC6WDS4pPRZuHIdRf/1v5Ix3qgqHwjscL2bgXlqJUSQb2ZmMkSIonOQMU8y7KpuD\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a00a007580c8428abfc96d4ea78c9f30\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2ce7776c-9ef4-41ca-9953-213b6681e7c8" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMgFYDcPeKQtGGJ\u002BtqJrNbwTg\u002Bo0zn8HYJD6EqJTzj0K8nwilip1G6pT39QbTs6WV6JR9XvVNLp7IkWWnsTl/l/ZyaPxaX/GNgtK4HvJV60f50VnoTs0FoawVW1QWI3XTabc5qv33yQMzOWr\u002Bas5juTtTBSa3v3mTH1G7wgykuYC0PBSMG3RiRtq7pjm3UuMznWS0GlPkmnRcR/MPA9RSw5F00GtFF4Gpk\u002BjEjZKRnvy3NW7AwVjvh47McXomsyffWvLwq9iNH/UpRD3vOJws\u002BWnqc8kV8ka2ZII/qp8CDnn\u002BxjdIEX3v9SVxfKbOTFJqUZ4r52TwNHz/KN6LRYDomECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC6V5MkVpfO5lc4frB1NXRWi\u002BSsm7uv6LPoFJBxzrPw9P1lf1zEnlQKouOgV0tLdlR4aw7CAQaB60pNCS9hoXqEO6ux\u002B65w80\u002BuvnnV9T9l9i2bdD5s0XEqfKjcVSeULi16fmYrlDMpza7IproOqV4kTUdvZgtmfZhzK7RRoH6y1qV/WIDp5SO9DYwzRQSzvL/2J85jwc4Fu4oaX\u002BpQSR4T\u002BYmiAFZ838SsONCAoie88nTNIUIGxw/cIOlpE6M0snk0eWagSjpemC5l4/gZxiqhq2rTQgHzeNHbT5vwdJJbgybssDnrs02vclAEVIPoJwOMmVBn5Y8wUP7VKPe2d1yl", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "request_id": "c878a1b124364ea49f71010c00d85a4a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "758ec84e-a716-4b72-bd04-97ca9fbbcf89" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/69ec84a5e5744b88944891810b82665b", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972/69ec84a5e5744b88944891810b82665b", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testlistcertversion90972/69ec84a5e5744b88944891810b82665b", + "x5t": "KQaC9kMBP6hOVeQNWpBCkeYzsMg", + "cer": "MIIDNjCCAh6gAwIBAgIQeFZeraFfRPu2O4Dzd9rxSzANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMgFYDcPeKQtGGJ\u002BtqJrNbwTg\u002Bo0zn8HYJD6EqJTzj0K8nwilip1G6pT39QbTs6WV6JR9XvVNLp7IkWWnsTl/l/ZyaPxaX/GNgtK4HvJV60f50VnoTs0FoawVW1QWI3XTabc5qv33yQMzOWr\u002Bas5juTtTBSa3v3mTH1G7wgykuYC0PBSMG3RiRtq7pjm3UuMznWS0GlPkmnRcR/MPA9RSw5F00GtFF4Gpk\u002BjEjZKRnvy3NW7AwVjvh47McXomsyffWvLwq9iNH/UpRD3vOJws\u002BWnqc8kV8ka2ZII/qp8CDnn\u002BxjdIEX3v9SVxfKbOTFJqUZ4r52TwNHz/KN6LRYDomECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFP8/a3\u002BibgLNiYJp/FS3VVrzTbhEMB0GA1UdDgQWBBT/P2t/om4CzYmCafxUt1Va8024RDANBgkqhkiG9w0BAQsFAAOCAQEAc7GA3mpXuKQaZL95H22z0PU793W9o0l9ZNJAiSRTQhg1BjbgY94zYIS77/Z7lWJQeYHOwwb6Temn3uTQytMr6JTeC9RA3xut\u002BB8r/WCWpqdS3X21PqrpMbzFsqWZxacZJP68k2xd3G/H0Sm2rtbWzgrR1xJULxw/LKsKhKmN5S7snisvYJKFytM5zQdMarAfOY5vIXz8al2zN\u002BgAf6cx7PZgvBJ1coQdmSc6sQgMRZDGhzqwDA1XsBGdaQ4A2kGeXyhmoI\u002BaVd58aB0nPmJqIjfFTUk/Eu46jIb6yRAfKXaZZtwlh2riIqaJi1HPOep4cVhNEUrP8zRLKSo5IscQkA==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b122128f-c99c-4f1b-81a1-3ceaa99fea09", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALq+qfiIe1nlQ7xMa0uQrh/FvPtuThPNEhK/2fyaatfPgpDWEVFjqj5EuAwxT78QHRIAGaftIyVvNweKi9lx123b3Kpj5CN2M7F+k+OPMEuJxqxX4JBgGBklZRM9l8ZhVrwqmUXEPpTEngdgHicTYADc4C+CUxZnXtvmdJPIp/xEVVbql66YRB1OrUIRuObwOm2zjWiJ4xBgOg9bbo4Xg+HtqPzZttiZHOw251wKbYvfFfTzphGt0PSf5hr9lzDM4nPZf0m9UbMMI3W33OuoaBnT8bL+i1Q8AUeunm6d076wKUhOlAorZ5IJEMkhqzitN3dEP7VQyHxBH8A2nB+PFh0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBPVupBulwYA7bkblHczMJPD+2CbjO0XUmhjfDz1SPX1LsiAPaD+VWvVGnR/WbbCu+1wyfUcaTtZlBB7GF6dLuqPijFzTemobVhaVFgWycvxIx54xgTouuzPz+AYUC+bJxf6D6QFJTW0dHoD+dRQCR+l3s7VPGUTDPKsYgYU0jPocSLbpahCJGsK2itMyzJuikC8kNtoQfCs59zbKVPvl7WG5aSz7qsS4vGhnY16nz9GrA/rmoIVy0s8tfaVFhTJMzHzelTyaYPk9LTMkjnkeIqUC6WDS4pPRZuHIdRf/1v5Ix3qgqHwjscL2bgXlqJUSQb2ZmMkSIonOQMU8y7KpuD\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"request_id\":\"a00a007580c8428abfc96d4ea78c9f30\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ed569892-57fb-4f4e-acbc-6c5ce05341dc" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dcd23bb6-e4c1-43e6-82f1-dc7e9e750649" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cb09d9c1-6fa2-4fa4-b038-adbc3680f642", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/0d9b42eab99d450ca92a52833be26c18\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704/0d9b42eab99d450ca92a52833be26c18\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion87704/0d9b42eab99d450ca92a52833be26c18\",\"x5t\":\"hQ-3-odVzbVz54nXQc4hlmH1FmI\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQLOR8v6VYSNW0WRl404qyizANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyM1oXDTI0MDMxNjA4MDkyM1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALq+qfiIe1nlQ7xMa0uQrh/FvPtuThPNEhK/2fyaatfPgpDWEVFjqj5EuAwxT78QHRIAGaftIyVvNweKi9lx123b3Kpj5CN2M7F+k+OPMEuJxqxX4JBgGBklZRM9l8ZhVrwqmUXEPpTEngdgHicTYADc4C+CUxZnXtvmdJPIp/xEVVbql66YRB1OrUIRuObwOm2zjWiJ4xBgOg9bbo4Xg+HtqPzZttiZHOw251wKbYvfFfTzphGt0PSf5hr9lzDM4nPZf0m9UbMMI3W33OuoaBnT8bL+i1Q8AUeunm6d076wKUhOlAorZ5IJEMkhqzitN3dEP7VQyHxBH8A2nB+PFh0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFCuf4YooSIi2oczM5gnGcLBXlvSMMB0GA1UdDgQWBBQrn+GKKEiItqHMzOYJxnCwV5b0jDANBgkqhkiG9w0BAQsFAAOCAQEAZu/EfBoHAIkRhLJZyrlMiEp1tDMLGU6C6EGz1rSIy0ksopFKwvVLDvp1UV22Q0XPJPgnXPUnGuVqBSC5ySwZolerhux+0ufl25V11azxS1EM51UOZHIe02If9Y9DULpgoXY0Zff0T952KiCT8wXbZyDqs3Jz4LPOEBLaDm3D3dxgyqROypInm8fdMQI3HZN/9tLzwDd2SoWL9OeWsKQfi4Z05Myzmyfs6B72g5A4G2Y1nD7tNOBG5JjhnZVbEmChdCQEP1/t8mmbssS8t/zymswZbmK79MxGijXrTVBHt57sOg9CBYeEmm1LmIbqDqUhJT7Fd2sLBe7i1eihrFYovQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953563,\"exp\":1710576563,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954162}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dab6d11b-4a09-4aa2-a1d6-bb4affc8cc29" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:18 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending?api-version=7.4\u0026request_id=ee3149b33d3744ceb05ecc4e4a25bfc3", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "28ae2d39-54b2-408b-8d6f-6d4dd1fe9ff6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9qLshTBBh84\u002BG5xj9UuQBwr5Fntf9i/aKqXqVHBq7gCMJrOhB/lI6BrpANrZu6ie5rHS4/aZbia57FQnBvh59HJWzIJMcS3wz7zLX4CWR5YQ12ueh\u002BOnqBil7XKMYkXSuPqSJ03qeiu/JqoLw3hqGPtpGgiKqsAg37u5391LkdjKaVmDDXd8NbYVt0wdVYO7JM\u002BAlYwQfxl4wjxNVmkSsHKMvMZCIlUYy2/1\u002BS40pKuNYEZSZckpSCicEDLD3LK9LllPBiu59BW6MMOOyYTHy8U0e1vTVPL27z5lulcuu3/KppoRV8iDBt2Dj1g9pJ6CAxz8gpjYUfkeqSjyzvFIECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3Q9gJnSAPYkFYoo6DSDKzlaxKczHfVGWqcdsr\u002BdYSPTJBxOvJTx6BBUNKArpskTckLAHOayJevNTUAuz1g/O0ZXAW\u002BYkKOtrAcCxtMP4MoGfNOauGmNX4hS2U\u002BhxHnpzi4YEHgCi\u002BhTs855oX6RpgPQ1mmZsAly2XNXP0fuKr4pcPK6LiqQlP6x9yyrbNyIhWDuaH6gIPIG3KJCdXeSdQAnur6FDDUynL/idID2XG2o3eRG7ukUNJhJVrMlHCKpqBIQRV0g89Dm4CqdnTph2mUMEmt4/BYaH0PrKWNV1zSEysorSCAYrVHlTtruxW3WumWpMmOe2t1xLV/MPZVzw7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ee3149b33d3744ceb05ecc4e4a25bfc3" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5924acea-bfde-41a1-a817-edd56e4b12f8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMnby2+h98agC+fYaLGVMJZe9cvZ807quvuMTJ6nGQlf9I/DVi/FdEdE3EmnTFk6z7a2ep6hd9GgNF+Y87VEL5qxE1kZ5sISHwwQjHaRekldONZF3ppp5NRJJvPWsr7ZE6Y6ZPCqa0T0pDcARZwGG7qpW0DfxI77UxtrSQmQ+6JfJVPQz59qvRlLP7rTS0y7RwDXzkY4uecSD+7zXTHv3GYOpXKq1NqoFUVFMXn6b73i272FnVHmTr+13vBsZrB/CwGaOod7L2llm2/2N7sFeqa0+KQEdlixlLpt3pb7qEMZPW2Vx9QiRcPMWucJoDoCcGAhU0mTXdGxdupprkbmigECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCWDARAYcQYCBwlSQ1skMeYtNAdXWdXvwK5RI2r7Y/lzJRRFv+k0JRRa5AXGDk2Nw1D0Y1O8cu/vWa7fpKHjR0Ee5muQXZfppcHnUfIHp5BB9NthDh1qze+qt6ChAgKyGLVV7ibOLyAlFSVvgo0ri3N4Gi1qvd8qkYj8pFueov8675VzMYcv1YsHsJ0UR9NnTaxsKWyAJ/VLBOwG6lMfBv/bKhmFDFAC1D7fCp6CB8xF7qJN6UeaM6eNSjyjRXKxv07mWAKYMjaEYsdvJ3LKO6lmfUqPlmZqBfI1poz5uJAiwAzuEYXzeH6aM5K+b7iOhBNuYyFzOwpZkP8oyrRkfVw\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"c1e5646f916b4692927a951d27e7e6d5\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4&request_id=c1e5646f916b4692927a951d27e7e6d5", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a442f418-b115-4c8e-8938-daad9cfe8195" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9qLshTBBh84\u002BG5xj9UuQBwr5Fntf9i/aKqXqVHBq7gCMJrOhB/lI6BrpANrZu6ie5rHS4/aZbia57FQnBvh59HJWzIJMcS3wz7zLX4CWR5YQ12ueh\u002BOnqBil7XKMYkXSuPqSJ03qeiu/JqoLw3hqGPtpGgiKqsAg37u5391LkdjKaVmDDXd8NbYVt0wdVYO7JM\u002BAlYwQfxl4wjxNVmkSsHKMvMZCIlUYy2/1\u002BS40pKuNYEZSZckpSCicEDLD3LK9LllPBiu59BW6MMOOyYTHy8U0e1vTVPL27z5lulcuu3/KppoRV8iDBt2Dj1g9pJ6CAxz8gpjYUfkeqSjyzvFIECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3Q9gJnSAPYkFYoo6DSDKzlaxKczHfVGWqcdsr\u002BdYSPTJBxOvJTx6BBUNKArpskTckLAHOayJevNTUAuz1g/O0ZXAW\u002BYkKOtrAcCxtMP4MoGfNOauGmNX4hS2U\u002BhxHnpzi4YEHgCi\u002BhTs855oX6RpgPQ1mmZsAly2XNXP0fuKr4pcPK6LiqQlP6x9yyrbNyIhWDuaH6gIPIG3KJCdXeSdQAnur6FDDUynL/idID2XG2o3eRG7ukUNJhJVrMlHCKpqBIQRV0g89Dm4CqdnTph2mUMEmt4/BYaH0PrKWNV1zSEysorSCAYrVHlTtruxW3WumWpMmOe2t1xLV/MPZVzw7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ee3149b33d3744ceb05ecc4e4a25bfc3" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c292e3c7-b392-4692-923e-2a3dfe741518" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9qLshTBBh84\u002BG5xj9UuQBwr5Fntf9i/aKqXqVHBq7gCMJrOhB/lI6BrpANrZu6ie5rHS4/aZbia57FQnBvh59HJWzIJMcS3wz7zLX4CWR5YQ12ueh\u002BOnqBil7XKMYkXSuPqSJ03qeiu/JqoLw3hqGPtpGgiKqsAg37u5391LkdjKaVmDDXd8NbYVt0wdVYO7JM\u002BAlYwQfxl4wjxNVmkSsHKMvMZCIlUYy2/1\u002BS40pKuNYEZSZckpSCicEDLD3LK9LllPBiu59BW6MMOOyYTHy8U0e1vTVPL27z5lulcuu3/KppoRV8iDBt2Dj1g9pJ6CAxz8gpjYUfkeqSjyzvFIECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3Q9gJnSAPYkFYoo6DSDKzlaxKczHfVGWqcdsr\u002BdYSPTJBxOvJTx6BBUNKArpskTckLAHOayJevNTUAuz1g/O0ZXAW\u002BYkKOtrAcCxtMP4MoGfNOauGmNX4hS2U\u002BhxHnpzi4YEHgCi\u002BhTs855oX6RpgPQ1mmZsAly2XNXP0fuKr4pcPK6LiqQlP6x9yyrbNyIhWDuaH6gIPIG3KJCdXeSdQAnur6FDDUynL/idID2XG2o3eRG7ukUNJhJVrMlHCKpqBIQRV0g89Dm4CqdnTph2mUMEmt4/BYaH0PrKWNV1zSEysorSCAYrVHlTtruxW3WumWpMmOe2t1xLV/MPZVzw7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ee3149b33d3744ceb05ecc4e4a25bfc3" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4d469f87-2106-4b42-8d8d-bae013f1cacd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMnby2+h98agC+fYaLGVMJZe9cvZ807quvuMTJ6nGQlf9I/DVi/FdEdE3EmnTFk6z7a2ep6hd9GgNF+Y87VEL5qxE1kZ5sISHwwQjHaRekldONZF3ppp5NRJJvPWsr7ZE6Y6ZPCqa0T0pDcARZwGG7qpW0DfxI77UxtrSQmQ+6JfJVPQz59qvRlLP7rTS0y7RwDXzkY4uecSD+7zXTHv3GYOpXKq1NqoFUVFMXn6b73i272FnVHmTr+13vBsZrB/CwGaOod7L2llm2/2N7sFeqa0+KQEdlixlLpt3pb7qEMZPW2Vx9QiRcPMWucJoDoCcGAhU0mTXdGxdupprkbmigECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCWDARAYcQYCBwlSQ1skMeYtNAdXWdXvwK5RI2r7Y/lzJRRFv+k0JRRa5AXGDk2Nw1D0Y1O8cu/vWa7fpKHjR0Ee5muQXZfppcHnUfIHp5BB9NthDh1qze+qt6ChAgKyGLVV7ibOLyAlFSVvgo0ri3N4Gi1qvd8qkYj8pFueov8675VzMYcv1YsHsJ0UR9NnTaxsKWyAJ/VLBOwG6lMfBv/bKhmFDFAC1D7fCp6CB8xF7qJN6UeaM6eNSjyjRXKxv07mWAKYMjaEYsdvJ3LKO6lmfUqPlmZqBfI1poz5uJAiwAzuEYXzeH6aM5K+b7iOhBNuYyFzOwpZkP8oyrRkfVw\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"c1e5646f916b4692927a951d27e7e6d5\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5bd70994-0d31-41a0-bba3-7ed8795f3dff" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9qLshTBBh84\u002BG5xj9UuQBwr5Fntf9i/aKqXqVHBq7gCMJrOhB/lI6BrpANrZu6ie5rHS4/aZbia57FQnBvh59HJWzIJMcS3wz7zLX4CWR5YQ12ueh\u002BOnqBil7XKMYkXSuPqSJ03qeiu/JqoLw3hqGPtpGgiKqsAg37u5391LkdjKaVmDDXd8NbYVt0wdVYO7JM\u002BAlYwQfxl4wjxNVmkSsHKMvMZCIlUYy2/1\u002BS40pKuNYEZSZckpSCicEDLD3LK9LllPBiu59BW6MMOOyYTHy8U0e1vTVPL27z5lulcuu3/KppoRV8iDBt2Dj1g9pJ6CAxz8gpjYUfkeqSjyzvFIECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQC3Q9gJnSAPYkFYoo6DSDKzlaxKczHfVGWqcdsr\u002BdYSPTJBxOvJTx6BBUNKArpskTckLAHOayJevNTUAuz1g/O0ZXAW\u002BYkKOtrAcCxtMP4MoGfNOauGmNX4hS2U\u002BhxHnpzi4YEHgCi\u002BhTs855oX6RpgPQ1mmZsAly2XNXP0fuKr4pcPK6LiqQlP6x9yyrbNyIhWDuaH6gIPIG3KJCdXeSdQAnur6FDDUynL/idID2XG2o3eRG7ukUNJhJVrMlHCKpqBIQRV0g89Dm4CqdnTph2mUMEmt4/BYaH0PrKWNV1zSEysorSCAYrVHlTtruxW3WumWpMmOe2t1xLV/MPZVzw7", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "request_id": "ee3149b33d3744ceb05ecc4e4a25bfc3" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6d0b1b67-8c47-4d8c-9073-e7cbec8d01cc" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/1985700feda44358a630e02b6307603c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972/1985700feda44358a630e02b6307603c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testlistcertversion90972/1985700feda44358a630e02b6307603c", + "x5t": "F-YzFHUuiQ-UjfgMgAV-KIRhCYg", + "cer": "MIIDNjCCAh6gAwIBAgIQDp0/MpRtSB2sYYB4EDbSYjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIyMVoXDTI0MDQxMjAyNTIyMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9qLshTBBh84\u002BG5xj9UuQBwr5Fntf9i/aKqXqVHBq7gCMJrOhB/lI6BrpANrZu6ie5rHS4/aZbia57FQnBvh59HJWzIJMcS3wz7zLX4CWR5YQ12ueh\u002BOnqBil7XKMYkXSuPqSJ03qeiu/JqoLw3hqGPtpGgiKqsAg37u5391LkdjKaVmDDXd8NbYVt0wdVYO7JM\u002BAlYwQfxl4wjxNVmkSsHKMvMZCIlUYy2/1\u002BS40pKuNYEZSZckpSCicEDLD3LK9LllPBiu59BW6MMOOyYTHy8U0e1vTVPL27z5lulcuu3/KppoRV8iDBt2Dj1g9pJ6CAxz8gpjYUfkeqSjyzvFIECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFiEQReaZuHTjbOftLVv4rnvh9cLMB0GA1UdDgQWBBRYhEEXmmbh042zn7S1b\u002BK574fXCzANBgkqhkiG9w0BAQsFAAOCAQEAjKOMKXphxLv\u002BUWiA8t0Uu0N63AbMuIR2gNK3W3Ga28jgc3LPosATpj2hTrWP9q8\u002BFe8jRE9uHvIWPI6DVFEZvEjRf860BfTWmvwALF4PffUg64eKvitC3mcDdFr0ts0tnH7s6X\u002B/S2zSkotmfmQ7jC7macQ4UYJw1I7XuBsmTP/Ia3hrPP6VDjHShf/gt9eoDXMdbyh\u002Bof94j5sDW4T68J7MYGGMs1tngHrMmNwkD5IrV\u002BqPdKMNfkkepfUOnitBONfMBMsenxKWVLMDo6PLjsrDi8b4Q9vaRKaISLC9XqAPIS2aPtGvLIeWPxG0528uXBj7PYTDrkpy45wxzgBgMg==", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267939 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e091d457-9a47-4385-9969-071da97d8ab0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMnby2+h98agC+fYaLGVMJZe9cvZ807quvuMTJ6nGQlf9I/DVi/FdEdE3EmnTFk6z7a2ep6hd9GgNF+Y87VEL5qxE1kZ5sISHwwQjHaRekldONZF3ppp5NRJJvPWsr7ZE6Y6ZPCqa0T0pDcARZwGG7qpW0DfxI77UxtrSQmQ+6JfJVPQz59qvRlLP7rTS0y7RwDXzkY4uecSD+7zXTHv3GYOpXKq1NqoFUVFMXn6b73i272FnVHmTr+13vBsZrB/CwGaOod7L2llm2/2N7sFeqa0+KQEdlixlLpt3pb7qEMZPW2Vx9QiRcPMWucJoDoCcGAhU0mTXdGxdupprkbmigECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCWDARAYcQYCBwlSQ1skMeYtNAdXWdXvwK5RI2r7Y/lzJRRFv+k0JRRa5AXGDk2Nw1D0Y1O8cu/vWa7fpKHjR0Ee5muQXZfppcHnUfIHp5BB9NthDh1qze+qt6ChAgKyGLVV7ibOLyAlFSVvgo0ri3N4Gi1qvd8qkYj8pFueov8675VzMYcv1YsHsJ0UR9NnTaxsKWyAJ/VLBOwG6lMfBv/bKhmFDFAC1D7fCp6CB8xF7qJN6UeaM6eNSjyjRXKxv07mWAKYMjaEYsdvJ3LKO6lmfUqPlmZqBfI1poz5uJAiwAzuEYXzeH6aM5K+b7iOhBNuYyFzOwpZkP8oyrRkfVw\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"request_id\":\"c1e5646f916b4692927a951d27e7e6d5\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7d41a442-8211-41db-8d30-f49d86684382" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "11514e66-183d-4cf3-a19c-6b175102bb9b" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1233447c-2631-45b1-8658-f8b93d9dd317", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/fc5c0398b1de49dcbae4ccf79b8c0446\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704/fc5c0398b1de49dcbae4ccf79b8c0446\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion87704/fc5c0398b1de49dcbae4ccf79b8c0446\",\"x5t\":\"OoOTk9yYnYU3c9PSMSegvkA_1aw\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQ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nFTgNrA==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954165}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6d5de8fb-cf06-4788-95e4-8c532110ae0b" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c8e5e472-0533-4e3f-88bf-050fbc390294" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3d25adda-b958-4a6e-aa7f-d03b0e9c3e1f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALtSXhLqD5ZRW3Pm7TkpHfkMlAkBZZMDiskcX/dxTZE5+WaE1zMnMpTKYHmudgbP+10iZ7MS3XnlpOBAxXLvcNBoGVGHFH1dEzTj96pgmc0feqKw5GtebCJHSRGHYmDriUokjmTg5ETG9b3V+rJ3cq5jTd9T2HyiQGTUU7YCdvaScvjczzCuL61qvmzb10g7Oxb8rHpqR4/bwrz7qJ6HWeklXePVa14N3FQgypDIhBb8Z0X3LLhOodcQHp3+FsC2Yj5bkWynS5MYak3XvUhZ6NcY9LK0z1pzMg4O9ZTw4mLBU5cUhi3bLwwbLSo7Rr2Cc7TvgHyMYP/t4yToSkSMVaUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBCxrDgnbYAuI6MNmQtqjPZSHVK1x+++NUfUTj3gdWelDQK+R8PkD1HzgrKfqJEdSV7FEFTsXhBDBcCcbbUdKIIKl8UGgspo+Wc4rraRHSkX64NCnIbTYGgxcCmHn2bdWFpav3jTrT1mDqpKby70R/ytFP1ZIKaMN4JG/df+bpM+XUZ2/inwt/5Kv7ruIMEXf4DhL8+ZQJ6QhflpL0jE+tM9vJKouxSqtyaRoPsDs3O1m5tv7V21pUrUFZHbGDNWw26rA+spWqNCN1N6dnt4Yuv4MYGg39Js7ruM7qgk3NT6NVY5PU0D0xkn35R3auGJWdirdYNBNCcjbj1sZKrRqjD\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"d860802870fd46ac8cebb82539308ba7\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4&request_id=d860802870fd46ac8cebb82539308ba7", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending?api-version=7.4\u0026request_id=474099b205b64c60a7e75907b7a8f7d5", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b3ecb66d-da3e-4653-96ad-9ee8b79f6a19" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAModsqruAYRuQNRbuDZ3dmNgGJeFV1WMRZ2FLwKWPmgFGQNbg4sgi6gGAunG/zFxmQzv\u002B2VChejWQ2fEtbxtxsO4l6U0QTs6cas\u002BXadaCg9y5kuayDDsWn3Rt6OqN0QVWtV8gqh3vAH8BLFbJ4q1LbLmBBEEhmQE31Bh518D3INCVEk/XJNAIgq\u002BW2Ch8j15vV2BWaYGKmF8FxqAcf9f06xUKn27ZCNcGYRTTQbrR5G6Xpck6XXl0l1zyizWFvSUTFUWAXGaGNzwfJzRUK4oh6yc4TyMSZPt3pjcc\u002BUKtgAAxuwtwHyXcnC9N/q9EtcrsRrmWHNifr\u002BAibKoWEJ5oIUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBbUOuAMhr32nuxuQ3Cuh3ony\u002B\u002BZ47s2wGJnlwFFbO1TqNt7AWYM8xhl1pDEXhTHtSpL/vmrQRy4BNDsN77HVJ0/6kZwzquIZlyWY7cG2l98I4dd8QGAZrGRY2wqTZw0YRUgMC9bnSdSdAtxMYYZMiscQF0YMuTl6ax5ERBOQz4HZDqiAQNV3ismmHdHESqRpOyipyGVL0yd5RVIk9OXk6FMnEUD39KaY2lhyfalfeyG9cm\u002BCuAsTThliD26PqOMOx6eaYlAoYRLdhUc8OJ9DCUBJIiauqfasLlYqvbS4EY3HKI2jFuAlk9pXHhqMFvGInsNXdhj62AUOrjFwCL7rF\u002B", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "474099b205b64c60a7e75907b7a8f7d5" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4bc3b59e-660b-486e-8ba1-7fa66bcc0e30" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAModsqruAYRuQNRbuDZ3dmNgGJeFV1WMRZ2FLwKWPmgFGQNbg4sgi6gGAunG/zFxmQzv\u002B2VChejWQ2fEtbxtxsO4l6U0QTs6cas\u002BXadaCg9y5kuayDDsWn3Rt6OqN0QVWtV8gqh3vAH8BLFbJ4q1LbLmBBEEhmQE31Bh518D3INCVEk/XJNAIgq\u002BW2Ch8j15vV2BWaYGKmF8FxqAcf9f06xUKn27ZCNcGYRTTQbrR5G6Xpck6XXl0l1zyizWFvSUTFUWAXGaGNzwfJzRUK4oh6yc4TyMSZPt3pjcc\u002BUKtgAAxuwtwHyXcnC9N/q9EtcrsRrmWHNifr\u002BAibKoWEJ5oIUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBbUOuAMhr32nuxuQ3Cuh3ony\u002B\u002BZ47s2wGJnlwFFbO1TqNt7AWYM8xhl1pDEXhTHtSpL/vmrQRy4BNDsN77HVJ0/6kZwzquIZlyWY7cG2l98I4dd8QGAZrGRY2wqTZw0YRUgMC9bnSdSdAtxMYYZMiscQF0YMuTl6ax5ERBOQz4HZDqiAQNV3ismmHdHESqRpOyipyGVL0yd5RVIk9OXk6FMnEUD39KaY2lhyfalfeyG9cm\u002BCuAsTThliD26PqOMOx6eaYlAoYRLdhUc8OJ9DCUBJIiauqfasLlYqvbS4EY3HKI2jFuAlk9pXHhqMFvGInsNXdhj62AUOrjFwCL7rF\u002B", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "request_id": "474099b205b64c60a7e75907b7a8f7d5" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "301b27ba-e079-41e1-a9f1-a3188c524a3a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALtSXhLqD5ZRW3Pm7TkpHfkMlAkBZZMDiskcX/dxTZE5+WaE1zMnMpTKYHmudgbP+10iZ7MS3XnlpOBAxXLvcNBoGVGHFH1dEzTj96pgmc0feqKw5GtebCJHSRGHYmDriUokjmTg5ETG9b3V+rJ3cq5jTd9T2HyiQGTUU7YCdvaScvjczzCuL61qvmzb10g7Oxb8rHpqR4/bwrz7qJ6HWeklXePVa14N3FQgypDIhBb8Z0X3LLhOodcQHp3+FsC2Yj5bkWynS5MYak3XvUhZ6NcY9LK0z1pzMg4O9ZTw4mLBU5cUhi3bLwwbLSo7Rr2Cc7TvgHyMYP/t4yToSkSMVaUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBCxrDgnbYAuI6MNmQtqjPZSHVK1x+++NUfUTj3gdWelDQK+R8PkD1HzgrKfqJEdSV7FEFTsXhBDBcCcbbUdKIIKl8UGgspo+Wc4rraRHSkX64NCnIbTYGgxcCmHn2bdWFpav3jTrT1mDqpKby70R/ytFP1ZIKaMN4JG/df+bpM+XUZ2/inwt/5Kv7ruIMEXf4DhL8+ZQJ6QhflpL0jE+tM9vJKouxSqtyaRoPsDs3O1m5tv7V21pUrUFZHbGDNWw26rA+spWqNCN1N6dnt4Yuv4MYGg39Js7ruM7qgk3NT6NVY5PU0D0xkn35R3auGJWdirdYNBNCcjbj1sZKrRqjD\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"request_id\":\"d860802870fd46ac8cebb82539308ba7\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1d651f6-a269-4920-8d24-0342424ab30f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/4b082cabd08c4512a77439373be57324", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972/4b082cabd08c4512a77439373be57324", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testlistcertversion90972/4b082cabd08c4512a77439373be57324", + "x5t": "I5qa60nBp1UOwPwCoxEdHSti9eA", + "cer": "MIIDNjCCAh6gAwIBAgIQdYJ/0EpKTmq0TGBe1v7VnzANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI1NloXDTI0MDQxMjAyNTI1NlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAModsqruAYRuQNRbuDZ3dmNgGJeFV1WMRZ2FLwKWPmgFGQNbg4sgi6gGAunG/zFxmQzv\u002B2VChejWQ2fEtbxtxsO4l6U0QTs6cas\u002BXadaCg9y5kuayDDsWn3Rt6OqN0QVWtV8gqh3vAH8BLFbJ4q1LbLmBBEEhmQE31Bh518D3INCVEk/XJNAIgq\u002BW2Ch8j15vV2BWaYGKmF8FxqAcf9f06xUKn27ZCNcGYRTTQbrR5G6Xpck6XXl0l1zyizWFvSUTFUWAXGaGNzwfJzRUK4oh6yc4TyMSZPt3pjcc\u002BUKtgAAxuwtwHyXcnC9N/q9EtcrsRrmWHNifr\u002BAibKoWEJ5oIUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIqr97bhxso02HEIqIB8Zkt4emkEMB0GA1UdDgQWBBSKq/e24cbKNNhxCKiAfGZLeHppBDANBgkqhkiG9w0BAQsFAAOCAQEAHdYIdj/R0fu/mSzlaNxuzYUibMlbvo8uC4aPuT/7c3Ef2O0rP1X4D6luf2Mbdt9m1BI6BkQd9SbDnhWy30k9XCs1R2fpD0961cbxcjJR\u002BtR5bzBnxBQNq55LEQSPER5Sk03ubgBs8dH7DM\u002BPF6ttWSc38YmNxPNtlNvGDFJ5yMMgdo\u002BelvUR9/HUnejifNkmPNKOr5xeDQJq0cPPNjX7Wdww\u002Bjo0dIP7\u002BkhkYzQOarl633/xvklQ7QcSLHY80JsOcZBUu2coohMDpsUK5NwqEAzwgcoOPDVV1TGvP567M31R\u002BUU1ZZrx1lS25YqI40cu9xyDKZ54ER5r0Wy9Esxu0A==", + "attributes": { + "enabled": true, + "nbf": 1681267376, + "exp": 1712890376, + "created": 1681267977, + "updated": 1681267977, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267976 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending?api-version=7.4\u0026request_id=d51615be59564710b8c3ebdb4b7593a9", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cbb521dd-4013-4647-86fb-f3498d0d1d38" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ8Ev527wSZH5EpF\u002BGaocwaTv5MhLc6WRR2Xq0UOFAu5yL85OKzFcZ5FYkn6qNZtOpotWZAuSQhU1ENBbbspHw94gGn9YDGqqpqZm\u002BJtdEDe1GNp44leFKl2zPGqF7Nhk0PsMn2kOzs\u002BhUzCiVVGsh5Kq6MmH1QrS/Myx4L5tskhgH2SvsQPFrO9CyRNU\u002BSx46WNFPIMUDyxahWLOzuACfJxYDeUVjyMFJwR2TwuBiuz45AhQxZhyPy34Nc7T\u002BBFK1sS/\u002BxTL5l3csL5FAq5WxPUB4bBBjO6n/DNLjcp0nIzAzhekGHy6zIbvW0NBDBahpo5ZGHY0tRUqzMyNR1PxvkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAOLLk2S7g2iAqNo2JfRaZ7wAbwZBv\u002BS0osTyylFlrRQo3JzvEdv7VRt3s/gkIwU/aiCQhPWqBzeM0ldk5gIAsk0gVIAi7AjUkO/AvRkYW5dMjwG8FMrB533E8D8sIA7UKjXJE7hzXJQ/yimfiKhQRYwWAjvs5tvUSibPyPf9EHR0LDK1VanjIRxZ7rGszBguFXSOyB/o5VjGcXXunpFRZRsq/Yk2\u002B1GdGxBxHlU0BCUnm8l/h/O8T1jb2afKc6bvH9yPWBhqNDU8KvqPfs1L3NMWhm6GTbaqxeXCZMNdwGKaCyuDx5yho/wH8qULaPAxPyeDfrpsFPZEO4Vl9O7nD2", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "d51615be59564710b8c3ebdb4b7593a9" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b0ddc564-ddbc-42a8-83e9-0215a7c5fd47", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/1f139751c4d541e6af7cdb243923625b\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704/1f139751c4d541e6af7cdb243923625b\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion87704/1f139751c4d541e6af7cdb243923625b\",\"x5t\":\"BLF1Fhou8Tk2mDElGWCNBTchOSQ\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQNXrCB0FhTWiQVV4HIUp1UjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyOFoXDTI0MDMx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izedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954168}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "14a2d751-7425-4e02-be68-36e8d940a6c3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ8Ev527wSZH5EpF\u002BGaocwaTv5MhLc6WRR2Xq0UOFAu5yL85OKzFcZ5FYkn6qNZtOpotWZAuSQhU1ENBbbspHw94gGn9YDGqqpqZm\u002BJtdEDe1GNp44leFKl2zPGqF7Nhk0PsMn2kOzs\u002BhUzCiVVGsh5Kq6MmH1QrS/Myx4L5tskhgH2SvsQPFrO9CyRNU\u002BSx46WNFPIMUDyxahWLOzuACfJxYDeUVjyMFJwR2TwuBiuz45AhQxZhyPy34Nc7T\u002BBFK1sS/\u002BxTL5l3csL5FAq5WxPUB4bBBjO6n/DNLjcp0nIzAzhekGHy6zIbvW0NBDBahpo5ZGHY0tRUqzMyNR1PxvkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAOLLk2S7g2iAqNo2JfRaZ7wAbwZBv\u002BS0osTyylFlrRQo3JzvEdv7VRt3s/gkIwU/aiCQhPWqBzeM0ldk5gIAsk0gVIAi7AjUkO/AvRkYW5dMjwG8FMrB533E8D8sIA7UKjXJE7hzXJQ/yimfiKhQRYwWAjvs5tvUSibPyPf9EHR0LDK1VanjIRxZ7rGszBguFXSOyB/o5VjGcXXunpFRZRsq/Yk2\u002B1GdGxBxHlU0BCUnm8l/h/O8T1jb2afKc6bvH9yPWBhqNDU8KvqPfs1L3NMWhm6GTbaqxeXCZMNdwGKaCyuDx5yho/wH8qULaPAxPyeDfrpsFPZEO4Vl9O7nD2", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "request_id": "d51615be59564710b8c3ebdb4b7593a9" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a766afe3-fef3-4edb-963e-0ad0fa5de35a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/41769450b3214aef82086c547690e935", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972/41769450b3214aef82086c547690e935", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testlistcertversion90972/41769450b3214aef82086c547690e935", + "x5t": "3zqq7q9_N4eyF7Tg0EIvVYdzlYI", + "cer": "MIIDNjCCAh6gAwIBAgIQC/PuzzjsRCmOVy4j2RlQwjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI1OFoXDTI0MDQxMjAyNTI1OFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ8Ev527wSZH5EpF\u002BGaocwaTv5MhLc6WRR2Xq0UOFAu5yL85OKzFcZ5FYkn6qNZtOpotWZAuSQhU1ENBbbspHw94gGn9YDGqqpqZm\u002BJtdEDe1GNp44leFKl2zPGqF7Nhk0PsMn2kOzs\u002BhUzCiVVGsh5Kq6MmH1QrS/Myx4L5tskhgH2SvsQPFrO9CyRNU\u002BSx46WNFPIMUDyxahWLOzuACfJxYDeUVjyMFJwR2TwuBiuz45AhQxZhyPy34Nc7T\u002BBFK1sS/\u002BxTL5l3csL5FAq5WxPUB4bBBjO6n/DNLjcp0nIzAzhekGHy6zIbvW0NBDBahpo5ZGHY0tRUqzMyNR1PxvkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIsfqfNHtP6K5ukJXzYNBI8pYZvbMB0GA1UdDgQWBBSLH6nzR7T\u002BiubpCV82DQSPKWGb2zANBgkqhkiG9w0BAQsFAAOCAQEAb9UB9/pCfN2IxkL2Xr7Uoksv0xBgPLV9CxcF54UR\u002B0ZwiSDSACpBWCVNVLWQ94BOK25v46J/Nj\u002BPBJ5WB5jTOMgcKXgl84NiGQiPVzQrcC4iqVYCrs26roJ9zEYeL85QusMkke3GsW\u002BfjKWTGPjBFi/5/deowoVw2N\u002BJssmd/JgoUbnW9mYWj/t3rDLgD8pf\u002BYlVkWnv7O4f2wcAh2uxdXYnrwHkl6TVqU2HPMPodNUfJwGeTQftmXcRz30F754oh9MWcs03olZPx8DOaxXLWszCWw9EQkgEx8khmrJhOSIQKes7yn7ST8J0OqcMu4OKfuRDmcdSNwrVAW09kkdTnA==", + "attributes": { + "enabled": true, + "nbf": 1681267378, + "exp": 1712890378, + "created": 1681267978, + "updated": 1681267978, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267977 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "922133a4-30d7-4780-91f9-7e5fc0460df2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKvjAZ8/QNmRTLWlJWs8hG1cMVxrHbPOYqyc3JNp8ieHj7d8JwnjZY79gYwaraatkfDzgyWnkAweoRHk1pwfAcQuT4IegvlJYN+e/ypjEQTLCxXhdtztPrsIew0b5ax9xtxQ0HQYe+aFcOGgd9zv6sxygbrmGI4oLSMkO7eiUNashp5lLupd5kUQNaem51sGzO36kGVmXP7vozV+SIUUOGpUAhGbjYenNMU/ww0WVuhubDQytDq/BHAzAkVAM8VQD0lFafFtUFOpwijYKlPO7YSDFdnC1OOFyYfHxirR+F3EC5a6fb/RvNHJXpdfjwvuQJSE+KOAO66t/EjD0Qw60CkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDbUiCAUZUR7MIXmCy05vi3N/vyTIOqoILHoDtjKwSzIcVC4gVmeeY/3wzlZFZLYVUXz/7g94Kkdq6vZSP3sVPX7g3rc4/SXNxjuPHXpjrgTGwYN14X7N/6cVcyEjUo33687IrMu+S6HBwxYx6vAaDwmzlTpcYaX/0XiV70GF8uxA+aBSIO37FPuJ/oTGpKGrKSWi9dmosM0JZ7P3ZlL8FrdG6yZvYag5G/EllRZAlnr1cddb3DaOW4pEZVeoCWvJZYdWxwf2BWrKRui9hd1IZmGTCpQcO/HtUdmbsX3LjRSkk+ByV3eJstq9d2e9XkAOJ3353rDGbtc7S+inwLrw7\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"ab1862bd17314b7e94d70efbe7cd7f01\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4&request_id=ab1862bd17314b7e94d70efbe7cd7f01", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending?api-version=7.4\u0026request_id=a957378729c343b298fa310889f9a9d1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8a7db4be-1578-45a9-b041-30ee6804a1a0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKI8EE6QeO\u002B2iVsflbml5ekQk26xn5IU3k6JBtvjQLEYC9ejkXOYMzip6KbcJ7wmkR\u002B4yb0pgmzO3YsaLEKVk8MsDIZSa7q7DcLoWVEXilwly62LS3\u002BE04gTDTx\u002BDF\u002BPXC97wEoHOJ9T\u002BF6jd4zKhjkwCyydfSTliTaiUAlbMRRoGtSaF84gaRXTeraFPTklQTu4YqlmhwPX67w3m\u002BsMUXoQTF9B4tUKwKxBjbNtAvWSjAqAHXvC6cyR7YS1wq4qG5mqt/q5MSjA4y0DTEofE2RcWeeQFXrCpAiX9gEymu23Mkf4NoZnDntF\u002BES5HW76FW4xD0hv2yolo6/Z6K3GuHECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBZRg5t1K\u002BTdQOUFgQtc\u002B0diKm4LLTQLu0mlxRgfgryI7U1Fh8/kJV9YD0T8elo76xGTlBdjfqqKLugZWzxvYYlEgEzcpUr7S7JL7/bVLKLhcVtae5K9vH97vp0Y0qnechB4sZTrmyHxJmsBr7L5IoF8wU7gSitZrNtUznY/DcSvjcetvTXGTIZ7WwYd88DStX3KazEhah/ObJ0lTQnmERfDqYMiepk7yQF7ofkGBHpFtJXp7\u002BilZ\u002BjmMhtulCJ8mWNS\u002B9a1KzVT8UCuNfryXo6HOo168C8CArzaCX6Ju62ONo8qW1cvWPcvdTSd1qTrz7vpoPbkHsy8Ef5BpyQ2bVD", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a957378729c343b298fa310889f9a9d1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:53:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6e0acdae-f57a-4553-9403-98e4f62c4c25" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKI8EE6QeO\u002B2iVsflbml5ekQk26xn5IU3k6JBtvjQLEYC9ejkXOYMzip6KbcJ7wmkR\u002B4yb0pgmzO3YsaLEKVk8MsDIZSa7q7DcLoWVEXilwly62LS3\u002BE04gTDTx\u002BDF\u002BPXC97wEoHOJ9T\u002BF6jd4zKhjkwCyydfSTliTaiUAlbMRRoGtSaF84gaRXTeraFPTklQTu4YqlmhwPX67w3m\u002BsMUXoQTF9B4tUKwKxBjbNtAvWSjAqAHXvC6cyR7YS1wq4qG5mqt/q5MSjA4y0DTEofE2RcWeeQFXrCpAiX9gEymu23Mkf4NoZnDntF\u002BES5HW76FW4xD0hv2yolo6/Z6K3GuHECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBZRg5t1K\u002BTdQOUFgQtc\u002B0diKm4LLTQLu0mlxRgfgryI7U1Fh8/kJV9YD0T8elo76xGTlBdjfqqKLugZWzxvYYlEgEzcpUr7S7JL7/bVLKLhcVtae5K9vH97vp0Y0qnechB4sZTrmyHxJmsBr7L5IoF8wU7gSitZrNtUznY/DcSvjcetvTXGTIZ7WwYd88DStX3KazEhah/ObJ0lTQnmERfDqYMiepk7yQF7ofkGBHpFtJXp7\u002BilZ\u002BjmMhtulCJ8mWNS\u002B9a1KzVT8UCuNfryXo6HOo168C8CArzaCX6Ju62ONo8qW1cvWPcvdTSd1qTrz7vpoPbkHsy8Ef5BpyQ2bVD", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a957378729c343b298fa310889f9a9d1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2dce0bd0-580c-415e-9a5f-afe572d86e94", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKvjAZ8/QNmRTLWlJWs8hG1cMVxrHbPOYqyc3JNp8ieHj7d8JwnjZY79gYwaraatkfDzgyWnkAweoRHk1pwfAcQuT4IegvlJYN+e/ypjEQTLCxXhdtztPrsIew0b5ax9xtxQ0HQYe+aFcOGgd9zv6sxygbrmGI4oLSMkO7eiUNashp5lLupd5kUQNaem51sGzO36kGVmXP7vozV+SIUUOGpUAhGbjYenNMU/ww0WVuhubDQytDq/BHAzAkVAM8VQD0lFafFtUFOpwijYKlPO7YSDFdnC1OOFyYfHxirR+F3EC5a6fb/RvNHJXpdfjwvuQJSE+KOAO66t/EjD0Qw60CkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDbUiCAUZUR7MIXmCy05vi3N/vyTIOqoILHoDtjKwSzIcVC4gVmeeY/3wzlZFZLYVUXz/7g94Kkdq6vZSP3sVPX7g3rc4/SXNxjuPHXpjrgTGwYN14X7N/6cVcyEjUo33687IrMu+S6HBwxYx6vAaDwmzlTpcYaX/0XiV70GF8uxA+aBSIO37FPuJ/oTGpKGrKSWi9dmosM0JZ7P3ZlL8FrdG6yZvYag5G/EllRZAlnr1cddb3DaOW4pEZVeoCWvJZYdWxwf2BWrKRui9hd1IZmGTCpQcO/HtUdmbsX3LjRSkk+ByV3eJstq9d2e9XkAOJ3353rDGbtc7S+inwLrw7\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"request_id\":\"ab1862bd17314b7e94d70efbe7cd7f01\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:53:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "04084ec3-c9a2-45e6-9a55-dab0d37f8042" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKI8EE6QeO\u002B2iVsflbml5ekQk26xn5IU3k6JBtvjQLEYC9ejkXOYMzip6KbcJ7wmkR\u002B4yb0pgmzO3YsaLEKVk8MsDIZSa7q7DcLoWVEXilwly62LS3\u002BE04gTDTx\u002BDF\u002BPXC97wEoHOJ9T\u002BF6jd4zKhjkwCyydfSTliTaiUAlbMRRoGtSaF84gaRXTeraFPTklQTu4YqlmhwPX67w3m\u002BsMUXoQTF9B4tUKwKxBjbNtAvWSjAqAHXvC6cyR7YS1wq4qG5mqt/q5MSjA4y0DTEofE2RcWeeQFXrCpAiX9gEymu23Mkf4NoZnDntF\u002BES5HW76FW4xD0hv2yolo6/Z6K3GuHECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBZRg5t1K\u002BTdQOUFgQtc\u002B0diKm4LLTQLu0mlxRgfgryI7U1Fh8/kJV9YD0T8elo76xGTlBdjfqqKLugZWzxvYYlEgEzcpUr7S7JL7/bVLKLhcVtae5K9vH97vp0Y0qnechB4sZTrmyHxJmsBr7L5IoF8wU7gSitZrNtUznY/DcSvjcetvTXGTIZ7WwYd88DStX3KazEhah/ObJ0lTQnmERfDqYMiepk7yQF7ofkGBHpFtJXp7\u002BilZ\u002BjmMhtulCJ8mWNS\u002B9a1KzVT8UCuNfryXo6HOo168C8CArzaCX6Ju62ONo8qW1cvWPcvdTSd1qTrz7vpoPbkHsy8Ef5BpyQ2bVD", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "request_id": "a957378729c343b298fa310889f9a9d1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:53:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "87c5bab1-bcaa-4816-bb17-25d574121a97" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/072435351a1743eb8f7570b0e8d79c86", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972/072435351a1743eb8f7570b0e8d79c86", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testlistcertversion90972/072435351a1743eb8f7570b0e8d79c86", + "x5t": "gvjVzC0XOt7S-Pi5363IBhK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PIGjSRsEkGc\u002B84N0w1GgxLFfLYr0OTsJEplzosfI3W7gPUjlcCjRXHm7pgWRZf5AvdHWihKK7diKtJ15uw==", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267979 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "367d4e52-04d2-4653-8c62-4c659a761ceb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/353d38fe9b604f68bfea97623010fa0f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704/353d38fe9b604f68bfea97623010fa0f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion87704/353d38fe9b604f68bfea97623010fa0f\",\"x5t\":\"xFK0I816GSwICzUmSCJQm2KA54I\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQb+9bBYgHSD2Hlj5kboT4EzANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMFoXDTI0MDMxNjA4MDkzMFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKvjAZ8/QNmRTLWlJWs8hG1cMVxrHbPOYqyc3JNp8ieHj7d8JwnjZY79gYwaraatkfDzgyWnkAweoRHk1pwfAcQuT4IegvlJYN+e/ypjEQTLCxXhdtztPrsIew0b5ax9xtxQ0HQYe+aFcOGgd9zv6sxygbrmGI4oLSMkO7eiUNashp5lLupd5kUQNaem51sGzO36kGVmXP7vozV+SIUUOGpUAhGbjYenNMU/ww0WVuhubDQytDq/BHAzAkVAM8VQD0lFafFtUFOpwijYKlPO7YSDFdnC1OOFyYfHxirR+F3EC5a6fb/RvNHJXpdfjwvuQJSE+KOAO66t/EjD0Qw60CkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFE9stk5vwLwy+JTX0a1cVfDxOXjSMB0GA1UdDgQWBBRPbLZOb8C8MviU19GtXFXw8Tl40jANBgkqhkiG9w0BAQsFAAOCAQEAlbt0OjSwQ2imlwnwJwXNSjStd4MKsA+NFwIWMub39ez8Jub5I5JL2jzLbN/m/7ax05eQj1j9VRIoLaNMdaBjPOWbwWBgZBqBkEy7Lp3ohHGAiKybTgZB5OTkkffhI0mT9nS68/xhIMKvQJsXDrQSW3LV6FMpNq38DKIt7AkgxE0/BzLViEqF3rUBejHAmcWgpkreTBcb/8KPEPysxeByd6Rku3C3mIlpUSTR0GskDwEtPDO5hMbTMGYivAwS77qlQ8631pSMRGJOme9fczpd2UVQ00G8pKDWkaafqRNJOJ8S8BQS7BgH6R29kr4MrqMY0qtEaxeeSTAbWuv+RRHqyA==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954169}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "78493f32-b3e1-4fa0-aea3-33c3fafe01f3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcPX1s/rbuO6dPsWKJFwKFSeXnh0nMA+hvoObE16sY8pIvUjRR3j3kT9StIaxH3AjbTGvrW6tHRv19VyjO5lNdUWshs61Ci0Pb1fyF62EJIsN51B+s/BkzEhWrzYP05mXOCl7rYkFG/luzlfqtLQkMZ0l6VDROTEsdSVQrmJNTF7fQXNLEGXff+59U1YN4kBGzFES/upA6jX05iRHIDjyDRz7Z9PDWIg3o0VKoCn0islyjDFxndI2gmQyT+MdfMJpEoW0GEu5b5Nh6aKiOGIXaIfBZCdfxH++zylS1p7ybGbDZXPIi9waNevkNDcT1rZIqLhiFqE8EZHDiKj9wZpHECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCbtVSsTJh/Zlb59O629cLLcEZSry/Ai/BzVYSZJb5smwcS8fk1LNyTI40sOmtw6voRkYk2hhAO+JvYVKZm65P04h5Ii5hexGrsgDohrohvLLwA8InNCc0kHQLcK90b6OKjeFlQkA3HWqLLiesiIcoHzN5jOZWXDTj/AYRdLZZPp4HkUiZF3U2neiVWZopDoKE0EZL94k27m7A5ZW5Q1eRmtWUcuXYERThXfUdiO3O5mPMlyOlYcnzUN9VzbJbVXjwwjiwCAYlTTy7rIZ0vCen8cnnL7cK9ZtWHtMO++X06vrTn3QBQj6wdPQzvgEt/3ffNBw2SVGvb6OGdehrZt3YO\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"ec3cc7dfb2fe41b499b81215cf4c0d57\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4&request_id=ec3cc7dfb2fe41b499b81215cf4c0d57", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "27b2c7a4-3ba8-4f06-9730-abb297ce4deb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcPX1s/rbuO6dPsWKJFwKFSeXnh0nMA+hvoObE16sY8pIvUjRR3j3kT9StIaxH3AjbTGvrW6tHRv19VyjO5lNdUWshs61Ci0Pb1fyF62EJIsN51B+s/BkzEhWrzYP05mXOCl7rYkFG/luzlfqtLQkMZ0l6VDROTEsdSVQrmJNTF7fQXNLEGXff+59U1YN4kBGzFES/upA6jX05iRHIDjyDRz7Z9PDWIg3o0VKoCn0islyjDFxndI2gmQyT+MdfMJpEoW0GEu5b5Nh6aKiOGIXaIfBZCdfxH++zylS1p7ybGbDZXPIi9waNevkNDcT1rZIqLhiFqE8EZHDiKj9wZpHECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCbtVSsTJh/Zlb59O629cLLcEZSry/Ai/BzVYSZJb5smwcS8fk1LNyTI40sOmtw6voRkYk2hhAO+JvYVKZm65P04h5Ii5hexGrsgDohrohvLLwA8InNCc0kHQLcK90b6OKjeFlQkA3HWqLLiesiIcoHzN5jOZWXDTj/AYRdLZZPp4HkUiZF3U2neiVWZopDoKE0EZL94k27m7A5ZW5Q1eRmtWUcuXYERThXfUdiO3O5mPMlyOlYcnzUN9VzbJbVXjwwjiwCAYlTTy7rIZ0vCen8cnnL7cK9ZtWHtMO++X06vrTn3QBQj6wdPQzvgEt/3ffNBw2SVGvb6OGdehrZt3YO\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"request_id\":\"ec3cc7dfb2fe41b499b81215cf4c0d57\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e185468c-678f-4f02-a4b4-54cdfc81ad36", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/ee927fb93c874aa5ae487ad522971c63\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704/ee927fb93c874aa5ae487ad522971c63\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion87704/ee927fb93c874aa5ae487ad522971c63\",\"x5t\":\"Ef9hub8VN-I6G0EzohvknmVQPf8\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQcxP6KSEtQMaZanYAYt2JQDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMVoXDTI0MDMxNjA4MDkzMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcPX1s/rbuO6dPsWKJFwKFSeXnh0nMA+hvoObE16sY8pIvUjRR3j3kT9StIaxH3AjbTGvrW6tHRv19VyjO5lNdUWshs61Ci0Pb1fyF62EJIsN51B+s/BkzEhWrzYP05mXOCl7rYkFG/luzlfqtLQkMZ0l6VDROTEsdSVQrmJNTF7fQXNLEGXff+59U1YN4kBGzFES/upA6jX05iRHIDjyDRz7Z9PDWIg3o0VKoCn0islyjDFxndI2gmQyT+MdfMJpEoW0GEu5b5Nh6aKiOGIXaIfBZCdfxH++zylS1p7ybGbDZXPIi9waNevkNDcT1rZIqLhiFqE8EZHDiKj9wZpHECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPn+djC62RbMoLa1XjABJYhFxndpMB0GA1UdDgQWBBT5/nYwutkWzKC2tV4wASWIRcZ3aTANBgkqhkiG9w0BAQsFAAOCAQEAjyBgHQxhh1GL3hY8NjtSko0SP7MJ/AWo6YSTqG4GcjAZkxAKIXo9X3e6hFj1KmUvlGcUkhRluX6H/HLt3jH/t6FU6/exgwqiSVDMNgxl2s+ipYzEkkaF5tO2IW9clFni/PqdbPq9NwMXp9FQNhfVIK+Cx3JROpDoUepz4TLoxXLqk4B+BU0FwLQNHdKvq86wSEo8s4kfNI4dEQZ+eLO7+LU4ZxYhDDl559ONBBGc0/J9QJW5x3BCItkN8EOgp7Ho/w7rqhpN/yp5ZHnX7GawyQC2zduxF8dQrE2KJ7sEyx88w87wny5iTchxBuQDHvDExtpfAg2L6ftzPkzybRPn4Q==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954162,\"updated\":1678954171}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion87704/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1412", - "x-ms-request-id" : "b2a62cb3-6672-49fe-a558-ad60399cf395", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/0d9b42eab99d450ca92a52833be26c18\",\"x5t\":\"hQ-3-odVzbVz54nXQc4hlmH1FmI\",\"attributes\":{\"enabled\":true,\"nbf\":1678953563,\"exp\":1710576563,\"created\":1678954164,\"updated\":1678954164},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/1f139751c4d541e6af7cdb243923625b\",\"x5t\":\"BLF1Fhou8Tk2mDElGWCNBTchOSQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953568,\"exp\":1710576568,\"created\":1678954169,\"updated\":1678954169},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/353d38fe9b604f68bfea97623010fa0f\",\"x5t\":\"xFK0I816GSwICzUmSCJQm2KA54I\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/ee927fb93c874aa5ae487ad522971c63\",\"x5t\":\"Ef9hub8VN-I6G0EzohvknmVQPf8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704/fc5c0398b1de49dcbae4ccf79b8c0446\",\"x5t\":\"OoOTk9yYnYU3c9PSMSegvkA_1aw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testlistcertversion87704" ] + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion90972/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:53:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f9ce059b-8a02-4edd-aa64-f153acd1c559" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/072435351a1743eb8f7570b0e8d79c86", + "x5t": "gvjVzC0XOt7S-Pi5363IBhKhsi8", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/1985700feda44358a630e02b6307603c", + "x5t": "F-YzFHUuiQ-UjfgMgAV-KIRhCYg", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/41769450b3214aef82086c547690e935", + "x5t": "3zqq7q9_N4eyF7Tg0EIvVYdzlYI", + "attributes": { + "enabled": true, + "nbf": 1681267378, + "exp": 1712890378, + "created": 1681267978, + "updated": 1681267978 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/4b082cabd08c4512a77439373be57324", + "x5t": "I5qa60nBp1UOwPwCoxEdHSti9eA", + "attributes": { + "enabled": true, + "nbf": 1681267376, + "exp": 1712890376, + "created": 1681267977, + "updated": 1681267977 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972/69ec84a5e5744b88944891810b82665b", + "x5t": "KQaC9kMBP6hOVeQNWpBCkeYzsMg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "testlistcertversion90972" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificates[1].json index e7fb09508518e..f73764069d42d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listCertificates[1].json @@ -1,256 +1,728 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey14728c014/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listcertkey73640952b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e891fe6a-4e74-4b78-b696-09277a49fe61" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f2348b84-2749-46fc-b6a8-14b893430d06", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMtNwa71/fnV3Z4s/ODeX/ObqAAIwIB4bdzT15q4HGFiHEbC6QK18pUJ/3NHAmOiyvelChRmN9YyvVBTV0t9ZKTWCpDA/kJ9r7T59AQbmPFPwReDe0/rMzMDUt1Na4fkmD2+lNVBO8DCPkvvA1xFpOS44fx/LUC5ICakllZUhPTkCY36PZxcpyO7gmbKhEI3FdlWBeXm3jJc2ls0zFiXNLJqHP/x7+2ztsdto8ArXUgPfMhRSbfrCU7HfFVQwxWte4frYOif3pE0B03QEqn9uaSRDeE78QQIs0qI53xyUPU0kw8ujPQLgAoXeKmWN8YasNktvC+6p49dD+yks5K6IGUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAMeroSmEw7aqP5VJRP0ZmDt+/y4HrCot6dXQu6ushKDkR07cPFM+EuDYle2h6kxzX37U9uwrfFyb+XYShuPNXWQN3IVUaBcbKlB9+DYdBPUPCiOXfz6W/R3VbdEkZ5kSGa6OqkIN71X/rSVPUr6vJCyCN5y4PXvurXIL0ygoqJZDD0uAx0kdriL9EDODTzB9Wi7WxgLIcJIQ3DGt5S80B+clwe5B/kRti4SeoK+yrMgiriOKq+1oucbM9UU1HNHrNoAoaJqv4zEcYd8yFdqRBdSR4c32UNcQFeu/LjR9Thow+sko8avrGh9LcLb/zyXTtgG00PUsQ+5hkDFoHo+8tU\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"2e1193819dca405c81e8d7ba749a4b33\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey14728c014/pending?api-version=7.4&request_id=2e1193819dca405c81e8d7ba749a4b33", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey73640952b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b/pending?api-version=7.4\u0026request_id=73b8e502fda74b59a4438d60a939bd55", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "07de3908-964e-4720-8507-4842ee4b6417" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJp8x6i6/pXRmp6D1bsS0dw5soLyJqwVqFhY/8GboXovo7wgx8onebITkgcgxxPrYeoSO6qTlzRcNOGedZs\u002BrVFB8HM63nriCVPHcUTnloRCjaiwJvOFWf7\u002BAT9pK/Q91X229vVIQq16P7\u002BZ4IhPUwIR3QM/k1vnRTjzPwiqbK9aUhHJ\u002BXGFKfG6dP/aQFETsJq0SeR2nsiB3wj\u002BHBbSpbKJu546EZXJGWj\u002BuUIrME5wTzAw/03Q6yh\u002BkWe8ZDo/HIPuqwCIJQL2fYrb4TC8WhQPBLo6j7DBWk2BtMgIZVkdDYVqjyM43YL20BwYWSeE/QHxw5EtxSe1x7lxvEXiF8kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQATxvRDpaF2P6qOjrj9qJppnGpa8y2ok/WGSu2puQ6dFw\u002BZ1ijJeMwNxi9YAiSFSKYssgBYLKBrXIyKgMS7MOgk7WNVUAzu4PQIS1HKPh3aN0UkQlWRRHyhsPoh\u002B1hk/h/kXE6CSt86LinwAldYUhznDDY\u002BgjxjJ4GsFi30NrDPk5VjgR4BBLIUyTkeneVwGp3gkAsLY3W82cR8\u002BP6ss3U3VUDQVM8CD\u002BZcYpnIvxIzvwznCoDSvnWcWprzzZxgtYDyodikCZjhZifIGt7PrFny2Q7v9xT2IhSOFxM81tIvIQ5sAL0NxGiMVK0MJhS8C9tIG5GGNnjw/HFhq4dBZaRY", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "73b8e502fda74b59a4438d60a939bd55" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey14728c014/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey73640952b/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3dc9dc9c-3596-4202-b2af-41b7519782ad" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJp8x6i6/pXRmp6D1bsS0dw5soLyJqwVqFhY/8GboXovo7wgx8onebITkgcgxxPrYeoSO6qTlzRcNOGedZs\u002BrVFB8HM63nriCVPHcUTnloRCjaiwJvOFWf7\u002BAT9pK/Q91X229vVIQq16P7\u002BZ4IhPUwIR3QM/k1vnRTjzPwiqbK9aUhHJ\u002BXGFKfG6dP/aQFETsJq0SeR2nsiB3wj\u002BHBbSpbKJu546EZXJGWj\u002BuUIrME5wTzAw/03Q6yh\u002BkWe8ZDo/HIPuqwCIJQL2fYrb4TC8WhQPBLo6j7DBWk2BtMgIZVkdDYVqjyM43YL20BwYWSeE/QHxw5EtxSe1x7lxvEXiF8kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQATxvRDpaF2P6qOjrj9qJppnGpa8y2ok/WGSu2puQ6dFw\u002BZ1ijJeMwNxi9YAiSFSKYssgBYLKBrXIyKgMS7MOgk7WNVUAzu4PQIS1HKPh3aN0UkQlWRRHyhsPoh\u002B1hk/h/kXE6CSt86LinwAldYUhznDDY\u002BgjxjJ4GsFi30NrDPk5VjgR4BBLIUyTkeneVwGp3gkAsLY3W82cR8\u002BP6ss3U3VUDQVM8CD\u002BZcYpnIvxIzvwznCoDSvnWcWprzzZxgtYDyodikCZjhZifIGt7PrFny2Q7v9xT2IhSOFxM81tIvIQ5sAL0NxGiMVK0MJhS8C9tIG5GGNnjw/HFhq4dBZaRY", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b", + "request_id": "73b8e502fda74b59a4438d60a939bd55" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3a59bdd7-a936-4e3a-a455-7077fde557c9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMtNwa71/fnV3Z4s/ODeX/ObqAAIwIB4bdzT15q4HGFiHEbC6QK18pUJ/3NHAmOiyvelChRmN9YyvVBTV0t9ZKTWCpDA/kJ9r7T59AQbmPFPwReDe0/rMzMDUt1Na4fkmD2+lNVBO8DCPkvvA1xFpOS44fx/LUC5ICakllZUhPTkCY36PZxcpyO7gmbKhEI3FdlWBeXm3jJc2ls0zFiXNLJqHP/x7+2ztsdto8ArXUgPfMhRSbfrCU7HfFVQwxWte4frYOif3pE0B03QEqn9uaSRDeE78QQIs0qI53xyUPU0kw8ujPQLgAoXeKmWN8YasNktvC+6p49dD+yks5K6IGUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAMeroSmEw7aqP5VJRP0ZmDt+/y4HrCot6dXQu6ushKDkR07cPFM+EuDYle2h6kxzX37U9uwrfFyb+XYShuPNXWQN3IVUaBcbKlB9+DYdBPUPCiOXfz6W/R3VbdEkZ5kSGa6OqkIN71X/rSVPUr6vJCyCN5y4PXvurXIL0ygoqJZDD0uAx0kdriL9EDODTzB9Wi7WxgLIcJIQ3DGt5S80B+clwe5B/kRti4SeoK+yrMgiriOKq+1oucbM9UU1HNHrNoAoaJqv4zEcYd8yFdqRBdSR4c32UNcQFeu/LjR9Thow+sko8avrGh9LcLb/zyXTtgG00PUsQ+5hkDFoHo+8tU\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"2e1193819dca405c81e8d7ba749a4b33\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey35523cfe7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7/pending?api-version=7.4\u0026request_id=6b153c275f3b49fc99b3fa9b6e97a9f6", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "65040822-5b90-4ad4-a04b-b3eef297a530" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJgCci9EBCMeFgw9tPMYc1T0CVFaS0orJIOgOYhu1fyMyHVae/Mdl7VKvhNjmAQSqSEQSNPkltERZucGHCNhA9sdLmIpdp\u002Bqq6FFt0LCKec1ZRxuVoaDskY1glc9xRvTUk7X255B5bLk5zdF5Ns\u002BWyHfaVe2LUDgcx\u002Bvgr6tru3nosfDPkzyO2\u002BuPTXjiXi3NlrqIovMnwF4yUyzIjEdOMbU4VdWtZCqviqGrcMNVS0RShS52aEVSV00AXjZ6IiclwIAuF147yO6SchS2h\u002Bprzxcsja52qHeTKb5XC4FzjpVLNjkUb3sayYEaMmzkItvMXAz6AJT47j5oilCd9p9kikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAHRqhrTQnh/xTbAtVgNxXDAxlMvEeFNUoNfYpALzwKg0Dw8eVMan79aPZ7oC46tx6YLrzbxqRjB1kFvnpENXANodNMmjNIVMbCZwwt2Ff61ZOmtzm61fwAuOB0TaGkKc33f1emaVta1pHMzZ8fHd5BvBfiDhooChuGDyKNrWPrbR9mJsWT671DcwNCV5kIdg3cJsow0Ppi\u002BsKRDpLboBF0oXiWZE7DixbcRAJ307H8\u002BW3ocZVv30Uiw7AdwaZqOoM5gSl7iqbKX9ip5PwJ09vJ1tkB0fZAB\u002BujEAnNhbcOcTK6HI\u002BRf7lrG6ZPFh15CXy0GHTR0tO985ntqtN7Kc3L", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "6b153c275f3b49fc99b3fa9b6e97a9f6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey14728c014/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey35523cfe7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a7d613a6-6396-49c5-9405-7525f56e2a39" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJgCci9EBCMeFgw9tPMYc1T0CVFaS0orJIOgOYhu1fyMyHVae/Mdl7VKvhNjmAQSqSEQSNPkltERZucGHCNhA9sdLmIpdp\u002Bqq6FFt0LCKec1ZRxuVoaDskY1glc9xRvTUk7X255B5bLk5zdF5Ns\u002BWyHfaVe2LUDgcx\u002Bvgr6tru3nosfDPkzyO2\u002BuPTXjiXi3NlrqIovMnwF4yUyzIjEdOMbU4VdWtZCqviqGrcMNVS0RShS52aEVSV00AXjZ6IiclwIAuF147yO6SchS2h\u002Bprzxcsja52qHeTKb5XC4FzjpVLNjkUb3sayYEaMmzkItvMXAz6AJT47j5oilCd9p9kikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAHRqhrTQnh/xTbAtVgNxXDAxlMvEeFNUoNfYpALzwKg0Dw8eVMan79aPZ7oC46tx6YLrzbxqRjB1kFvnpENXANodNMmjNIVMbCZwwt2Ff61ZOmtzm61fwAuOB0TaGkKc33f1emaVta1pHMzZ8fHd5BvBfiDhooChuGDyKNrWPrbR9mJsWT671DcwNCV5kIdg3cJsow0Ppi\u002BsKRDpLboBF0oXiWZE7DixbcRAJ307H8\u002BW3ocZVv30Uiw7AdwaZqOoM5gSl7iqbKX9ip5PwJ09vJ1tkB0fZAB\u002BujEAnNhbcOcTK6HI\u002BRf7lrG6ZPFh15CXy0GHTR0tO985ntqtN7Kc3L", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "6b153c275f3b49fc99b3fa9b6e97a9f6" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4ad7a141-5d13-40c5-bdd5-102d428e17c0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMtNwa71/fnV3Z4s/ODeX/ObqAAIwIB4bdzT15q4HGFiHEbC6QK18pUJ/3NHAmOiyvelChRmN9YyvVBTV0t9ZKTWCpDA/kJ9r7T59AQbmPFPwReDe0/rMzMDUt1Na4fkmD2+lNVBO8DCPkvvA1xFpOS44fx/LUC5ICakllZUhPTkCY36PZxcpyO7gmbKhEI3FdlWBeXm3jJc2ls0zFiXNLJqHP/x7+2ztsdto8ArXUgPfMhRSbfrCU7HfFVQwxWte4frYOif3pE0B03QEqn9uaSRDeE78QQIs0qI53xyUPU0kw8ujPQLgAoXeKmWN8YasNktvC+6p49dD+yks5K6IGUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAMeroSmEw7aqP5VJRP0ZmDt+/y4HrCot6dXQu6ushKDkR07cPFM+EuDYle2h6kxzX37U9uwrfFyb+XYShuPNXWQN3IVUaBcbKlB9+DYdBPUPCiOXfz6W/R3VbdEkZ5kSGa6OqkIN71X/rSVPUr6vJCyCN5y4PXvurXIL0ygoqJZDD0uAx0kdriL9EDODTzB9Wi7WxgLIcJIQ3DGt5S80B+clwe5B/kRti4SeoK+yrMgiriOKq+1oucbM9UU1HNHrNoAoaJqv4zEcYd8yFdqRBdSR4c32UNcQFeu/LjR9Thow+sko8avrGh9LcLb/zyXTtgG00PUsQ+5hkDFoHo+8tU\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014\",\"request_id\":\"2e1193819dca405c81e8d7ba749a4b33\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey35523cfe7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8c8e8bd8-8511-4cb6-89a1-3d5389b48759" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJgCci9EBCMeFgw9tPMYc1T0CVFaS0orJIOgOYhu1fyMyHVae/Mdl7VKvhNjmAQSqSEQSNPkltERZucGHCNhA9sdLmIpdp\u002Bqq6FFt0LCKec1ZRxuVoaDskY1glc9xRvTUk7X255B5bLk5zdF5Ns\u002BWyHfaVe2LUDgcx\u002Bvgr6tru3nosfDPkzyO2\u002BuPTXjiXi3NlrqIovMnwF4yUyzIjEdOMbU4VdWtZCqviqGrcMNVS0RShS52aEVSV00AXjZ6IiclwIAuF147yO6SchS2h\u002Bprzxcsja52qHeTKb5XC4FzjpVLNjkUb3sayYEaMmzkItvMXAz6AJT47j5oilCd9p9kikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAHRqhrTQnh/xTbAtVgNxXDAxlMvEeFNUoNfYpALzwKg0Dw8eVMan79aPZ7oC46tx6YLrzbxqRjB1kFvnpENXANodNMmjNIVMbCZwwt2Ff61ZOmtzm61fwAuOB0TaGkKc33f1emaVta1pHMzZ8fHd5BvBfiDhooChuGDyKNrWPrbR9mJsWT671DcwNCV5kIdg3cJsow0Ppi\u002BsKRDpLboBF0oXiWZE7DixbcRAJ307H8\u002BW3ocZVv30Uiw7AdwaZqOoM5gSl7iqbKX9ip5PwJ09vJ1tkB0fZAB\u002BujEAnNhbcOcTK6HI\u002BRf7lrG6ZPFh15CXy0GHTR0tO985ntqtN7Kc3L", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "6b153c275f3b49fc99b3fa9b6e97a9f6" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey365168328/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey35523cfe7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c292b678-92af-4ef5-8be7-b03b60722727" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJgCci9EBCMeFgw9tPMYc1T0CVFaS0orJIOgOYhu1fyMyHVae/Mdl7VKvhNjmAQSqSEQSNPkltERZucGHCNhA9sdLmIpdp\u002Bqq6FFt0LCKec1ZRxuVoaDskY1glc9xRvTUk7X255B5bLk5zdF5Ns\u002BWyHfaVe2LUDgcx\u002Bvgr6tru3nosfDPkzyO2\u002BuPTXjiXi3NlrqIovMnwF4yUyzIjEdOMbU4VdWtZCqviqGrcMNVS0RShS52aEVSV00AXjZ6IiclwIAuF147yO6SchS2h\u002Bprzxcsja52qHeTKb5XC4FzjpVLNjkUb3sayYEaMmzkItvMXAz6AJT47j5oilCd9p9kikCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAHRqhrTQnh/xTbAtVgNxXDAxlMvEeFNUoNfYpALzwKg0Dw8eVMan79aPZ7oC46tx6YLrzbxqRjB1kFvnpENXANodNMmjNIVMbCZwwt2Ff61ZOmtzm61fwAuOB0TaGkKc33f1emaVta1pHMzZ8fHd5BvBfiDhooChuGDyKNrWPrbR9mJsWT671DcwNCV5kIdg3cJsow0Ppi\u002BsKRDpLboBF0oXiWZE7DixbcRAJ307H8\u002BW3ocZVv30Uiw7AdwaZqOoM5gSl7iqbKX9ip5PwJ09vJ1tkB0fZAB\u002BujEAnNhbcOcTK6HI\u002BRf7lrG6ZPFh15CXy0GHTR0tO985ntqtN7Kc3L", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7", + "request_id": "6b153c275f3b49fc99b3fa9b6e97a9f6" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ab5351b6-f449-4cdb-af45-ea5cce27d96c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANs15nat9okE2eMHifP46vJM4CuIlXniRFlclVTVVW7FKvvw/Ip40b7pzX05LSiBGmf5TIj5JMyNEtXb5jqMvWG1U2zpUtj/0M+FHAREm/7Oy9rQ4fkqXR9o+sKTDWk4ptBsmSmwR3sxKj4DERCsG2obULalDR4PCNOmm2exRGizQZhHGBSEnTH5iaEfWlbMjFE9XUcPFyowRTD7D+MSent4YJh4oPMvr4fRphQQlXbUQQKOmGnrg7W3AMsSOdlw0OHYVYqIzvUbO1Lj7QUMNvJYviK48b1AlF7kw7cQDaL0RRcBKs6FCdTLD158WnkUezrN/xsOSrISGsITCWZ6lQECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDT9QwbdlPQnQEOTPaKjwlpU+VLpYH67L1DG8xIQ/nBBYmZSiYkoVV53RYj3SgMuC7Jb7+/cOp0L2HRS0mjipTCovi1SEEffWWqBCs/1o/MaL+ZAhF+6zkGGgsUwSf4vDFqwHg08XpORaotCk68VQb7mnovjEXFvsGM3RI9DmQ2U83Bw2tW4AhGGoQ9JuV30MrAf8jqLfbgvoWUsUipO9FbxWniyfH+oOc6vinFRXTSi57G+8dLHfCc0T72zfE9PQG9t/Sbg4RvvYvmQLWx0KUb6ndU7c5h2GN7J6DA1qzv9sKnEzLOEa7WF6v40YOkzGzGKUHum3NZjA0BqmD7HDlP\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"ce9e1b5dd90f4401be0a71b8c1d6b23d\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey365168328/pending?api-version=7.4&request_id=ce9e1b5dd90f4401be0a71b8c1d6b23d", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d75285e5-56ce-4142-a72d-99549d8841e0" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147", + "x5t": "8LAmk_UWI5Q2whl4hKn8ph3xD-I", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02", + "x5t": "qgHNG0AAUyUa_1FcyN9K3c6a4Do", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7", + "x5t": "qXX0p1tt0REJbDBCVO-k7W9Mt08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey371743fe3", + "x5t": "wsawakXGb7qn9dgvemY8bHWyO6Y", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b", + "x5t": "EITCNfvPGXImmhsVyZmtbBp_y0M", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/myalias", + "x5t": "8z5vNk677FGkqcRg6lQyODOdiwc", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "x5t": "1GGxAlnsHSR29xqi89t33Qvzo2c", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08", + "x5t": "DyUbMQUcONQLXu0Feixr6gY1uHU", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc", + "x5t": "gDWghXWmU_2967VBmY1griWD0ls", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a", + "x5t": "RTg3ayHS2pAQ0IichADtQezB82Y", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30", + "x5t": "eAEcQrp0Pza52PxnfwO22mP7mcc", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25", + "x5t": "YqN1h7oMHc2vQ_a6vxM6bdU36Wk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad", + "x5t": "wLp-LJn6S5fcikpsbLf-rPDP2KQ", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9", + "x5t": "iwUGnokFBgVVoLjicfdH5ofw1-w", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686", + "x5t": "t0kq2x1JRsvQlJQfUFs2-ClNxOA", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXTmxjblJwWm1sallYUmxMMVJGVTFSRFJWSlVPRFUzT0RBeU56RWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey365168328/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "620ef52e-e087-408b-9fbe-700da566ef08", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANs15nat9okE2eMHifP46vJM4CuIlXniRFlclVTVVW7FKvvw/Ip40b7pzX05LSiBGmf5TIj5JMyNEtXb5jqMvWG1U2zpUtj/0M+FHAREm/7Oy9rQ4fkqXR9o+sKTDWk4ptBsmSmwR3sxKj4DERCsG2obULalDR4PCNOmm2exRGizQZhHGBSEnTH5iaEfWlbMjFE9XUcPFyowRTD7D+MSent4YJh4oPMvr4fRphQQlXbUQQKOmGnrg7W3AMsSOdlw0OHYVYqIzvUbO1Lj7QUMNvJYviK48b1AlF7kw7cQDaL0RRcBKs6FCdTLD158WnkUezrN/xsOSrISGsITCWZ6lQECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDT9QwbdlPQnQEOTPaKjwlpU+VLpYH67L1DG8xIQ/nBBYmZSiYkoVV53RYj3SgMuC7Jb7+/cOp0L2HRS0mjipTCovi1SEEffWWqBCs/1o/MaL+ZAhF+6zkGGgsUwSf4vDFqwHg08XpORaotCk68VQb7mnovjEXFvsGM3RI9DmQ2U83Bw2tW4AhGGoQ9JuV30MrAf8jqLfbgvoWUsUipO9FbxWniyfH+oOc6vinFRXTSi57G+8dLHfCc0T72zfE9PQG9t/Sbg4RvvYvmQLWx0KUb6ndU7c5h2GN7J6DA1qzv9sKnEzLOEa7WF6v40YOkzGzGKUHum3NZjA0BqmD7HDlP\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"ce9e1b5dd90f4401be0a71b8c1d6b23d\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey365168328/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a08998aa-bd18-4d80-b724-9a247733d9f3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANs15nat9okE2eMHifP46vJM4CuIlXniRFlclVTVVW7FKvvw/Ip40b7pzX05LSiBGmf5TIj5JMyNEtXb5jqMvWG1U2zpUtj/0M+FHAREm/7Oy9rQ4fkqXR9o+sKTDWk4ptBsmSmwR3sxKj4DERCsG2obULalDR4PCNOmm2exRGizQZhHGBSEnTH5iaEfWlbMjFE9XUcPFyowRTD7D+MSent4YJh4oPMvr4fRphQQlXbUQQKOmGnrg7W3AMsSOdlw0OHYVYqIzvUbO1Lj7QUMNvJYviK48b1AlF7kw7cQDaL0RRcBKs6FCdTLD158WnkUezrN/xsOSrISGsITCWZ6lQECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDT9QwbdlPQnQEOTPaKjwlpU+VLpYH67L1DG8xIQ/nBBYmZSiYkoVV53RYj3SgMuC7Jb7+/cOp0L2HRS0mjipTCovi1SEEffWWqBCs/1o/MaL+ZAhF+6zkGGgsUwSf4vDFqwHg08XpORaotCk68VQb7mnovjEXFvsGM3RI9DmQ2U83Bw2tW4AhGGoQ9JuV30MrAf8jqLfbgvoWUsUipO9FbxWniyfH+oOc6vinFRXTSi57G+8dLHfCc0T72zfE9PQG9t/Sbg4RvvYvmQLWx0KUb6ndU7c5h2GN7J6DA1qzv9sKnEzLOEa7WF6v40YOkzGzGKUHum3NZjA0BqmD7HDlP\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328\",\"request_id\":\"ce9e1b5dd90f4401be0a71b8c1d6b23d\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4813", - "x-ms-request-id" : "e962901b-df38-417a-bd2e-f764d90145a5", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem70052b83\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem92624d14\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs27461b85\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs75353a38\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey020515346\",\"x5t\":\"ejfrKgF-VZlKskHpc-_BeR7Q5B0\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey140384932\",\"x5t\":\"avHXcDUhov15q9VG2gMEakhOktA\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014\",\"x5t\":\"HZGPq0QOCsfZ_WmhhdoSKgRAA0U\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey30234f065\",\"x5t\":\"cePzk1vgK3jocy_iR46TYlLix-k\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey3491808e4\",\"x5t\":\"1DwOXqEst7Y14XXhJbcBhQKFEWQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328\",\"x5t\":\"gAHKoe84oAIdtsGsYd874AvSP_Y\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey492960bb6\",\"x5t\":\"XhkDcU5rDk2_71Yl-Qu-pIlA7Q8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey628397873\",\"x5t\":\"fXKiQY2k449MPBH7pUf_mdcxUnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey683522e3c\",\"x5t\":\"9sH7UN7gBH3mUdarXxB-J6LA_qU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7\",\"x5t\":\"MfsoELZfLDYBw8dZvnz2tTtXO6M\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey958720254\",\"x5t\":\"7P04miiKhhnbTByl4hy-DvsRf9I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWRGd5T0RnelFrWXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWRGd5T0RnelFrWXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4389", - "x-ms-request-id" : "d05ed888-e490-4d95-bb89-55f9d29edda4", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/myalias\",\"x5t\":\"wDCSFKAxoTm9grFzPgkhopDDlJc\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert0041741853c\",\"x5t\":\"BlwxGmfjBCNjx-sfMetJrCALT4M\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05138d67\",\"x5t\":\"0SNobHiEQdsN0csu62e2FPqfn5U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert056438d4a20\",\"x5t\":\"ICx_qsQWj1GjeyPr1N3mIjcp-Ao\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1092295324b\",\"x5t\":\"E6WLFelB6Vg5-qD7WF5pAYbQz_0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert127097d0dc8\",\"x5t\":\"dXVk70-6RCX7rQYbnv5AkS7FoLg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert224271757ba\",\"x5t\":\"Qh22tMuNVhrt_NKbcCtzTESO33s\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert26201762259\",\"x5t\":\"itApNub45W58UvI_fuG7TKWZDwU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27558598b2c\",\"x5t\":\"mX2a3otTr9sZlQS_wH7nBn0ziYs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27808513219\",\"x5t\":\"MQ1fqHABOz6nDRxB-HNaha_jrzE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert30284660cd8\",\"x5t\":\"iotT1KbJ0_9ZQgXDtF6cU1Qn5EQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert324948604ee\",\"x5t\":\"OKdJx9sidjbhaHappYsbA-bPYjs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert35510d74ced\",\"x5t\":\"mXFRphZcmhsmrIjVgI9vg_Xd-1Q\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a\",\"x5t\":\"5oA2b34eiQF-H907cTs_PUxFKUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e\",\"x5t\":\"1i92wRpBy8kuwYJDTDlV5T7ReHw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert47882934afa\",\"x5t\":\"deyZLLtv-MveYf0_JYEAIACFLiE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTkRjNE9ESTVNelJCUmtFdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTkRjNE9ESTVNelJCUmtFdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5355", - "x-ms-request-id" : "89a9a04c-5f57-4d07-b027-2a43f18edf40", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert49907fe70ac\",\"x5t\":\"poYuYvv6BNUPJw5zWMaW4UeZSoc\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert510992ef0be\",\"x5t\":\"vvlEtHPeX_cUbDtpHNkiXQ06jrM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert56810496c6b\",\"x5t\":\"7-s5Fe6kI7bqvM7eWw-f22J2pwk\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6210194afab\",\"x5t\":\"sqkD1d6Ld3VQ6CguPTvcdWzX71U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6384478e5bf\",\"x5t\":\"ss10YAsLILfVVJTwuotinCYUJak\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00\",\"x5t\":\"h-CJtnU02x2a7hsGM_ANDPJCoUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert708698d2\",\"x5t\":\"hw5_szQZniSK25bwGWHAE4j1x_s\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert721471bd873\",\"x5t\":\"yAF6k-sNUpn1rUxjTgGZqCsJ4g8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5\",\"x5t\":\"tJRERVpJiQl09q59sp0Adgim-vQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72544647\",\"x5t\":\"kV9KJxfYzLX8kRCSGv_hZm0K69I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7280530dd15\",\"x5t\":\"908QyOX0FNSnHzA25t7ahRHRGNU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert742555f1\",\"x5t\":\"fFBc5osj_QfRgYzPcJ-wH2NWA4o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b\",\"x5t\":\"b8zbsTC2Qaw07Vgb0iutBXyzCqc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8\",\"x5t\":\"s7vRlbUkLTmcGdZ4rBNAQ8eDDwQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert838336ea\",\"x5t\":\"tZY_jc2w5VtcHbANhCK3f0GD7fg\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert879909fb\",\"x5t\":\"F44INSxE5tBSPpvkNdksu-JuA1o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert88427430\",\"x5t\":\"tzLxambFCsMKrVEEIweYgWAhwOo\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92201a19a66\",\"x5t\":\"rmmvC9DcPBeebHeCUxNn936VCRI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92673e6be72\",\"x5t\":\"vU_Y0bK22LsQq-sk3JTUUeEbQJE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert937620dadf7\",\"x5t\":\"11a7NiEVZc6m3qz-97VC3NuF_ow\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert98347e92\",\"x5t\":\"c7ZaY3_e582OE8ex4WMce-LtLIM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1Rnek5EZEZPVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1Rnek5EZEZPVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "515", - "x-ms-request-id" : "7854468a-e476-42a0-ab05-3fb2bcf2b994", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion09939\",\"x5t\":\"faSSHl62NiDeLdiiFctYhoNEzZQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion88662\",\"x5t\":\"R3fkxrOa8nRuwCpSRVStvo8LzjM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertkey14728c014", "listcertkey365168328" ] + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXTmxjblJwWm1sallYUmxMMVJGVTFSRFJWSlVPRFUzT0RBeU56RWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1996", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6705da4a-06ee-4c78-9099-55da9667b5c2" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert85780271", + "x5t": "nfgFBy9lEBZ5lJFye63m8TSBFzY", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116", + "x5t": "SD6AmL6YJSJcLneUgerDz7EDrmg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert930083972c7", + "x5t": "fQDn1P_LNd2gD6n_a6wFtKeL7iM", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert99539ad0580", + "x5t": "VwdxGWZPYsHjMnuFct9J2stqNk4", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "x5t": "KQaC9kMBP6hOVeQNWpBCkeYzsMg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listcertkey73640952b", + "1": "listcertkey35523cfe7" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listContacts[1].json index 803efe6a428c7..0dfbe49455163 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listContacts[1].json @@ -1,54 +1,123 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:02:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aeaf5254-3a22-4600-8a5e-5b8dce4ed226" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "6ab1b59d-aaf4-4286-99d9-5f518be00406", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:02:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d090b570-098b-4d9d-8f3a-7422b0c25319" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "c341eae5-2851-4a78-adda-e4e6a6827a5f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:03:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1e97ccca-49e4-4e64-b2d8-e4d78b5012ab" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listDeletedCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listDeletedCertificates[1].json index b3b245bc388c9..c542d7cf51c38 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listDeletedCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listDeletedCertificates[1].json @@ -1,557 +1,1347 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert0371855/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2cff1d7d-b586-451d-814c-cfc95a4cf05b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "29d0f96f-c20b-4c60-ae6e-7ca3dd71f708", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ9eqVaoRYI1j8Jg36ZgnZnBR521oS5yq76h+wRXJswxWe0CIuQvDbF/CYzxOdsHdVgrNQW5enun8n69Qd/RDHX8TbfbPLXAIQ/LbgpV81VkPru+728rglJjmuhYgKfe+7BoyzM3fqIObdMUQRL893UpUTLnPUKGYmL8bmEkLUHNUJQluJKuGMq7EpGfoKGJA+UzIrZYPmEaLJo87cIlHOS14Pu5vO85KYwbkuGdEugosrRQnxdHA/tPs1Hw1zX6Xd6xvmOf7I+76j4+EbSLiPo3fYxNKS3xIttDH3EgyQWoH2ACcenegX2tSXbsj9XvS+O/6+r47+JAz8qkA5YRO4UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBXOGLmqPj6azPx5z0gChye+i/xkp5xZN/WUZA+sjM4YW2fPCtMk4WGDNiN3l4/nSmdeGQKQN7+iboYVGPIrqJ/YnT4nMiEZvy/9fDt8R51dGqHe7tz1iRmrNNTGFGTgOUjT6BjJUG7Frpo2Dr+wx9wGIt70eykWUJjU7EJ9wepcuFYi8wksk6Xsjri2FNHSTyLXmvbRtU+PWLv8c7tW4W6U21snpH9M5QNUy3PY4dq6EyNshGNIwMUs9uWL7jIZk0Uwvosf75oFy5pVklczmbCy0NLW5rCkg4HtvzDXK9c8lirKhXS+bHaZZaEpc0tasnF//ilSpupW6TtWHy2dHjB\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"6f7f45bcd7c14222bdcdd02e7719d246\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending?api-version=7.4&request_id=6f7f45bcd7c14222bdcdd02e7719d246", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending?api-version=7.4\u0026request_id=8f31cc8211ad432bad1e2b836923b9e2", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c8337dfb-19e9-43c2-8af0-9aa1a69b5baa" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDxk17tmrue6vH1Ko6NcviOzc7MJOAg/i3ZrmQ8BmcJXhYGPojU6/FlP12l04B8aH/e4fLS4hZja3M998hvVoyKCCFDEwhR5HVxtueCv8KjLrZZ7RUkkcXmrCZC43YI8ZOC/sLgxApqwnrBfg25TNv5TACuLObvSDsrjE97cmrSwd6dL8YEvx4eYX1zEDMkzer8r81r6sJJ/E6xYd6cKdAvrhZs4Ovza4hSdplqKhzccFhKw4fnNnXvZoPJJ3mI1Kv3ZglOY4FehWUh/VcWedAQh5LnxjfikOz4jiz7qGAXnADOu0nrSTA\u002BZ3MsGgsNDpJwv9Bl0u0Hkg5Il9y5xMiz", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "8f31cc8211ad432bad1e2b836923b9e2" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert0371855/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4b6efde9-19b3-4425-b90e-6532fb16b5d9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDxk17tmrue6vH1Ko6NcviOzc7MJOAg/i3ZrmQ8BmcJXhYGPojU6/FlP12l04B8aH/e4fLS4hZja3M998hvVoyKCCFDEwhR5HVxtueCv8KjLrZZ7RUkkcXmrCZC43YI8ZOC/sLgxApqwnrBfg25TNv5TACuLObvSDsrjE97cmrSwd6dL8YEvx4eYX1zEDMkzer8r81r6sJJ/E6xYd6cKdAvrhZs4Ovza4hSdplqKhzccFhKw4fnNnXvZoPJJ3mI1Kv3ZglOY4FehWUh/VcWedAQh5LnxjfikOz4jiz7qGAXnADOu0nrSTA\u002BZ3MsGgsNDpJwv9Bl0u0Hkg5Il9y5xMiz", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "8f31cc8211ad432bad1e2b836923b9e2" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "05a0e315-bf5c-4648-a43f-4decc3e89ebf", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ9eqVaoRYI1j8Jg36ZgnZnBR521oS5yq76h+wRXJswxWe0CIuQvDbF/CYzxOdsHdVgrNQW5enun8n69Qd/RDHX8TbfbPLXAIQ/LbgpV81VkPru+728rglJjmuhYgKfe+7BoyzM3fqIObdMUQRL893UpUTLnPUKGYmL8bmEkLUHNUJQluJKuGMq7EpGfoKGJA+UzIrZYPmEaLJo87cIlHOS14Pu5vO85KYwbkuGdEugosrRQnxdHA/tPs1Hw1zX6Xd6xvmOf7I+76j4+EbSLiPo3fYxNKS3xIttDH3EgyQWoH2ACcenegX2tSXbsj9XvS+O/6+r47+JAz8qkA5YRO4UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBXOGLmqPj6azPx5z0gChye+i/xkp5xZN/WUZA+sjM4YW2fPCtMk4WGDNiN3l4/nSmdeGQKQN7+iboYVGPIrqJ/YnT4nMiEZvy/9fDt8R51dGqHe7tz1iRmrNNTGFGTgOUjT6BjJUG7Frpo2Dr+wx9wGIt70eykWUJjU7EJ9wepcuFYi8wksk6Xsjri2FNHSTyLXmvbRtU+PWLv8c7tW4W6U21snpH9M5QNUy3PY4dq6EyNshGNIwMUs9uWL7jIZk0Uwvosf75oFy5pVklczmbCy0NLW5rCkg4HtvzDXK9c8lirKhXS+bHaZZaEpc0tasnF//ilSpupW6TtWHy2dHjB\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"6f7f45bcd7c14222bdcdd02e7719d246\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "425e0b61-4586-4856-bc05-a0b06a8548a0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDxk17tmrue6vH1Ko6NcviOzc7MJOAg/i3ZrmQ8BmcJXhYGPojU6/FlP12l04B8aH/e4fLS4hZja3M998hvVoyKCCFDEwhR5HVxtueCv8KjLrZZ7RUkkcXmrCZC43YI8ZOC/sLgxApqwnrBfg25TNv5TACuLObvSDsrjE97cmrSwd6dL8YEvx4eYX1zEDMkzer8r81r6sJJ/E6xYd6cKdAvrhZs4Ovza4hSdplqKhzccFhKw4fnNnXvZoPJJ3mI1Kv3ZglOY4FehWUh/VcWedAQh5LnxjfikOz4jiz7qGAXnADOu0nrSTA\u002BZ3MsGgsNDpJwv9Bl0u0Hkg5Il9y5xMiz", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "8f31cc8211ad432bad1e2b836923b9e2" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert0371855/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ffed27cc-7682-40b5-9500-4d8317bcc602" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDxk17tmrue6vH1Ko6NcviOzc7MJOAg/i3ZrmQ8BmcJXhYGPojU6/FlP12l04B8aH/e4fLS4hZja3M998hvVoyKCCFDEwhR5HVxtueCv8KjLrZZ7RUkkcXmrCZC43YI8ZOC/sLgxApqwnrBfg25TNv5TACuLObvSDsrjE97cmrSwd6dL8YEvx4eYX1zEDMkzer8r81r6sJJ/E6xYd6cKdAvrhZs4Ovza4hSdplqKhzccFhKw4fnNnXvZoPJJ3mI1Kv3ZglOY4FehWUh/VcWedAQh5LnxjfikOz4jiz7qGAXnADOu0nrSTA\u002BZ3MsGgsNDpJwv9Bl0u0Hkg5Il9y5xMiz", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "request_id": "8f31cc8211ad432bad1e2b836923b9e2" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c52cc25d-e4cc-40f9-8a26-0d7534032fc9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ9eqVaoRYI1j8Jg36ZgnZnBR521oS5yq76h+wRXJswxWe0CIuQvDbF/CYzxOdsHdVgrNQW5enun8n69Qd/RDHX8TbfbPLXAIQ/LbgpV81VkPru+728rglJjmuhYgKfe+7BoyzM3fqIObdMUQRL893UpUTLnPUKGYmL8bmEkLUHNUJQluJKuGMq7EpGfoKGJA+UzIrZYPmEaLJo87cIlHOS14Pu5vO85KYwbkuGdEugosrRQnxdHA/tPs1Hw1zX6Xd6xvmOf7I+76j4+EbSLiPo3fYxNKS3xIttDH3EgyQWoH2ACcenegX2tSXbsj9XvS+O/6+r47+JAz8qkA5YRO4UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBXOGLmqPj6azPx5z0gChye+i/xkp5xZN/WUZA+sjM4YW2fPCtMk4WGDNiN3l4/nSmdeGQKQN7+iboYVGPIrqJ/YnT4nMiEZvy/9fDt8R51dGqHe7tz1iRmrNNTGFGTgOUjT6BjJUG7Frpo2Dr+wx9wGIt70eykWUJjU7EJ9wepcuFYi8wksk6Xsjri2FNHSTyLXmvbRtU+PWLv8c7tW4W6U21snpH9M5QNUy3PY4dq6EyNshGNIwMUs9uWL7jIZk0Uwvosf75oFy5pVklczmbCy0NLW5rCkg4HtvzDXK9c8lirKhXS+bHaZZaEpc0tasnF//ilSpupW6TtWHy2dHjB\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855\",\"request_id\":\"6f7f45bcd7c14222bdcdd02e7719d246\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert48766a1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7652f8b0-b694-48e2-b782-217405e1f7d1" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert18831f7/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert48766a1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/pending?api-version=7.4\u0026request_id=aa5c39edec9e496eb86ae9b0a9469886", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b2284e02-0b4c-4dca-8fbe-db576c26ec70" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANPiDPpa9U\u002BUld2lZFIipnrZ9Tg9rtAvVESteWYhxuAlJxMgsEEpN57T0MJSu3p9My27VRjcNyqIR93GKz3v7FpkWTSNyYJJF1nxEs5Gy9qBpkHJ32\u002Bn64O/6jm7NR/B/51WygAiz3pf8CC48Uxyf1E817JnRa\u002BO9NDh3z4QNtiodVvfOY\u002Br00nvH3ZX7ouWVwpvS0RrY1zcqk1JBvYAgK4wIfjtmUyLnTBh2wLftBJGnxeuQEYUVSfJdQ5ISyDYVmGQ8moV3T6TPzUpfNzKpNbiemE9N2hnWGUNretAxS/km2FOJhWoq2f2G2WK\u002BpdcLa1SAIV2v0yYUUiGRRcE7s0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCio\u002BSkEt6JjAFQNfWKePf68CUguVvL4UmGwILQfQgo/uqBgJ8XowRC841l\u002B0v9u3Drkv/peFaN8vINfvX9CUE6D3TNmhvmt8ddpBkN5kdmWBmqzLfWNzPEv71Gk2K1QCFucH\u002BV4N1YEhQUCnmCV8waEDFjUNOXRdkj6PQKT5qoKvpaAyHvtL2F\u002BD6db29iTqjHP/mDOdL62/yZgpv2NL89ljJhJ83rf0Q0jwVDMT\u002BAnunnrV287pI0jKEyogLYpVYIM0P3v5Fkloo2oqsiaaofLSUb8Z1GYgdUX37HoIlep7l97als5Ru5Qo1\u002B5SXaqoMCNBlsZyhefrhDlhRw2xPY", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "aa5c39edec9e496eb86ae9b0a9469886" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "183fde98-0c80-417f-95f7-7e13c4c29fcd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPMXfdk7db1xe032fzGKlHhtMXdsoVhBWs9VBeP5Ldtki5Iq+f9nj/ovB7Z43xMMmREviZC93YCjmAGJfvUa69t2+mPXe3InPYMHfga07UZ9IfAYW+EfmJjnfgap+S7l+l4JdhZPhx6Y4KvXDPpTcSvQkF3480TSimIbLKdelo1karNxkNQiIeUy+h4PLLxAjWDJXriTwwh4ewzkf99s1t0LbRpj29rE4OYpPb2tdHcmW+Q1LPh9ju0BeYSQOTcD0O24J2SHidqIYrP9O+0U2gs0ob3fiuyPrw0o0HdIGPAs24EYwzVXrnJALhrhCAS9QW+yNmkD5G50CUA53pUplBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB9t8vuGhqjETkAadKiiR1hDGmJHv+sJ6BGN52jqtk7F6RfcYr8NAO5UOwRYemxbwDLdmtR88wln4HdZjxH52vdGS9TYyGEoXQzk+/txGJTDsFa4atOXQruUB5pQLqAtfdfDiV2RHs5MPcg+M03WXPtqPnb2s2+z4EoXN1i3qdIs17x7/cdG2wdRpjTkl/Lg5+gvShzDdIeBKO1MVDKshjPM1Vf8mRNSAMHK0IXH1QOx7J8nABvT9UOODChXSL5bPTGA9oyl95IHPCCr6/S4CBUWfWbQ/pbBH7vf2QRTcDCFeK1jlj9wTxPejTc1TMzQNxnRXmx41SMojPn6hXSnb7h\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"696fe393b7f449ddadb40e56169414e9\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending?api-version=7.4&request_id=696fe393b7f449ddadb40e56169414e9", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert48766a1/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f8dff84-876f-405f-ae79-c237967b9449" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANPiDPpa9U\u002BUld2lZFIipnrZ9Tg9rtAvVESteWYhxuAlJxMgsEEpN57T0MJSu3p9My27VRjcNyqIR93GKz3v7FpkWTSNyYJJF1nxEs5Gy9qBpkHJ32\u002Bn64O/6jm7NR/B/51WygAiz3pf8CC48Uxyf1E817JnRa\u002BO9NDh3z4QNtiodVvfOY\u002Br00nvH3ZX7ouWVwpvS0RrY1zcqk1JBvYAgK4wIfjtmUyLnTBh2wLftBJGnxeuQEYUVSfJdQ5ISyDYVmGQ8moV3T6TPzUpfNzKpNbiemE9N2hnWGUNretAxS/km2FOJhWoq2f2G2WK\u002BpdcLa1SAIV2v0yYUUiGRRcE7s0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCio\u002BSkEt6JjAFQNfWKePf68CUguVvL4UmGwILQfQgo/uqBgJ8XowRC841l\u002B0v9u3Drkv/peFaN8vINfvX9CUE6D3TNmhvmt8ddpBkN5kdmWBmqzLfWNzPEv71Gk2K1QCFucH\u002BV4N1YEhQUCnmCV8waEDFjUNOXRdkj6PQKT5qoKvpaAyHvtL2F\u002BD6db29iTqjHP/mDOdL62/yZgpv2NL89ljJhJ83rf0Q0jwVDMT\u002BAnunnrV287pI0jKEyogLYpVYIM0P3v5Fkloo2oqsiaaofLSUb8Z1GYgdUX37HoIlep7l97als5Ru5Qo1\u002B5SXaqoMCNBlsZyhefrhDlhRw2xPY", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1", + "request_id": "aa5c39edec9e496eb86ae9b0a9469886" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert18831f7/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert5835444/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/pending?api-version=7.4\u0026request_id=f45769e03881489dad64b0b45a5761f6", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dcf10b25-18f8-4c48-9bd5-5d0ef5c38d15" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMin/c91/t/JCblO1zXrUHZcK6yI1TxDAt96TwyCmgTehHDmMzIZGxDG3Gd6J\u002BGIhmoFBGjxJJCuokZJA9x3wdlq6Wb57rb8ZryHE4emAJMPYCeoz2P/NCTft4BuDs\u002B6L9LaY6zlynQ/ii1XBlU7faez1aLIPoTA93LtKdI8lVxZFsk6bnlhRvys1ctGJe47vYq2z12c63mvMIf9x46YQ4dlBHwEGSoJfaE6GYJtFLEyr3T6r6RCoz8CHMhhqNv2b\u002BoH4A2LuabhEqvcLuuPHVIYj3sXx16tSYrYB4PMxzooj9\u002BR1PgEtNVwbksDwt4H\u002BywURuLvJ7Uhi0wbz0vT8TkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDhRTSkEslLUVtvv26U1Eddwdgkr2U5hmDq1itHcp\u002B9m9uOucw\u002BvE6HqaruDwZEbyWZPmYQtsHFaAwh0XeWmBeY\u002BIW\u002B56t4RHj4wrA2BFGh5sfdwvucq8tjk\u002BMnU9wNsIzbBOUZF6H8QmZY8/K6XAvybXr5C0w3\u002Byg3UpbnjrDlSmQqKZWlHlyx8XsnXdQM9u2nLNgaEjDErI49SwxqcrS9kYpU2Owq3RJpbIte/O6rVrwaufdxOnjxOpG/3cSoxbEQBXlWtZe8QnJ4WgnJdqm31b1mBxNSEQmXa1xgmu/r235Czt6eEMbmtMAbYqXiXh90VsJgNKmRVB0n8pA422N", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "f45769e03881489dad64b0b45a5761f6" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "38b1fdb2-f077-49e5-8001-b48b167cdbed", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPMXfdk7db1xe032fzGKlHhtMXdsoVhBWs9VBeP5Ldtki5Iq+f9nj/ovB7Z43xMMmREviZC93YCjmAGJfvUa69t2+mPXe3InPYMHfga07UZ9IfAYW+EfmJjnfgap+S7l+l4JdhZPhx6Y4KvXDPpTcSvQkF3480TSimIbLKdelo1karNxkNQiIeUy+h4PLLxAjWDJXriTwwh4ewzkf99s1t0LbRpj29rE4OYpPb2tdHcmW+Q1LPh9ju0BeYSQOTcD0O24J2SHidqIYrP9O+0U2gs0ob3fiuyPrw0o0HdIGPAs24EYwzVXrnJALhrhCAS9QW+yNmkD5G50CUA53pUplBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB9t8vuGhqjETkAadKiiR1hDGmJHv+sJ6BGN52jqtk7F6RfcYr8NAO5UOwRYemxbwDLdmtR88wln4HdZjxH52vdGS9TYyGEoXQzk+/txGJTDsFa4atOXQruUB5pQLqAtfdfDiV2RHs5MPcg+M03WXPtqPnb2s2+z4EoXN1i3qdIs17x7/cdG2wdRpjTkl/Lg5+gvShzDdIeBKO1MVDKshjPM1Vf8mRNSAMHK0IXH1QOx7J8nABvT9UOODChXSL5bPTGA9oyl95IHPCCr6/S4CBUWfWbQ/pbBH7vf2QRTcDCFeK1jlj9wTxPejTc1TMzQNxnRXmx41SMojPn6hXSnb7h\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"696fe393b7f449ddadb40e56169414e9\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert5835444/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ee4642f0-5134-4b53-b31c-33d716ee6e0b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMin/c91/t/JCblO1zXrUHZcK6yI1TxDAt96TwyCmgTehHDmMzIZGxDG3Gd6J\u002BGIhmoFBGjxJJCuokZJA9x3wdlq6Wb57rb8ZryHE4emAJMPYCeoz2P/NCTft4BuDs\u002B6L9LaY6zlynQ/ii1XBlU7faez1aLIPoTA93LtKdI8lVxZFsk6bnlhRvys1ctGJe47vYq2z12c63mvMIf9x46YQ4dlBHwEGSoJfaE6GYJtFLEyr3T6r6RCoz8CHMhhqNv2b\u002BoH4A2LuabhEqvcLuuPHVIYj3sXx16tSYrYB4PMxzooj9\u002BR1PgEtNVwbksDwt4H\u002BywURuLvJ7Uhi0wbz0vT8TkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDhRTSkEslLUVtvv26U1Eddwdgkr2U5hmDq1itHcp\u002B9m9uOucw\u002BvE6HqaruDwZEbyWZPmYQtsHFaAwh0XeWmBeY\u002BIW\u002B56t4RHj4wrA2BFGh5sfdwvucq8tjk\u002BMnU9wNsIzbBOUZF6H8QmZY8/K6XAvybXr5C0w3\u002Byg3UpbnjrDlSmQqKZWlHlyx8XsnXdQM9u2nLNgaEjDErI49SwxqcrS9kYpU2Owq3RJpbIte/O6rVrwaufdxOnjxOpG/3cSoxbEQBXlWtZe8QnJ4WgnJdqm31b1mBxNSEQmXa1xgmu/r235Czt6eEMbmtMAbYqXiXh90VsJgNKmRVB0n8pA422N", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444", + "request_id": "f45769e03881489dad64b0b45a5761f6" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert18831f7/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert48766a1?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8ee87b6f-c495-4ae9-a0f4-4f0a0f4408ff" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert48766a1", + "deletedDate": 1681267928, + "scheduledPurgeDate": 1681872728, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "x5t": "ov7XBBiOE90df9LiFH9x9g6HYCM", + "cer": "MIIDNjCCAh6gAwIBAgIQWtjQ0deOSEuN/ZM2OwKs6zANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwN1oXDTI0MDQxMjAyNTIwN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANPiDPpa9U\u002BUld2lZFIipnrZ9Tg9rtAvVESteWYhxuAlJxMgsEEpN57T0MJSu3p9My27VRjcNyqIR93GKz3v7FpkWTSNyYJJF1nxEs5Gy9qBpkHJ32\u002Bn64O/6jm7NR/B/51WygAiz3pf8CC48Uxyf1E817JnRa\u002BO9NDh3z4QNtiodVvfOY\u002Br00nvH3ZX7ouWVwpvS0RrY1zcqk1JBvYAgK4wIfjtmUyLnTBh2wLftBJGnxeuQEYUVSfJdQ5ISyDYVmGQ8moV3T6TPzUpfNzKpNbiemE9N2hnWGUNretAxS/km2FOJhWoq2f2G2WK\u002BpdcLa1SAIV2v0yYUUiGRRcE7s0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFA8\u002BCtW4Le0pdC2vyZ3T0hZH9oniMB0GA1UdDgQWBBQPPgrVuC3tKXQtr8md09IWR/aJ4jANBgkqhkiG9w0BAQsFAAOCAQEAKPTE4KQh5lToSE40Bl\u002B7yWGVXW9k1vN/Kcw0zUXrh2RAhmnZ4ouoxhsRZ8kEhRix3QtbUTWyNZg8uSo67HwkaPjfy7/RhMFtsuZ2T1Iv6WUi8eT1eUppApMfqBc8zo\u002BbIbFRqCEmaFUeib49fsw79l1Ts2AOkfCMxv63EHAVcPQMNjhpyxcSyi7/MvS2NT2emdaSvlHAZdQsZsPvvanu/5zhwH2EPMt5DxDWOEs2CtQAGIUNSJQ\u002Bugtdetk88GSQrcu/NGy76gQ1xXFRJpMSc\u002BmrAvxc15GyXCxscliX8\u002BOaTggHEHap666CHC9U7jDR64ZngyM5drvtauFpNvsKWQ==", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267926, + "updated": 1681267926 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1f72eff6-363b-4990-856d-a8cb0090ebb2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPMXfdk7db1xe032fzGKlHhtMXdsoVhBWs9VBeP5Ldtki5Iq+f9nj/ovB7Z43xMMmREviZC93YCjmAGJfvUa69t2+mPXe3InPYMHfga07UZ9IfAYW+EfmJjnfgap+S7l+l4JdhZPhx6Y4KvXDPpTcSvQkF3480TSimIbLKdelo1karNxkNQiIeUy+h4PLLxAjWDJXriTwwh4ewzkf99s1t0LbRpj29rE4OYpPb2tdHcmW+Q1LPh9ju0BeYSQOTcD0O24J2SHidqIYrP9O+0U2gs0ob3fiuyPrw0o0HdIGPAs24EYwzVXrnJALhrhCAS9QW+yNmkD5G50CUA53pUplBkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB9t8vuGhqjETkAadKiiR1hDGmJHv+sJ6BGN52jqtk7F6RfcYr8NAO5UOwRYemxbwDLdmtR88wln4HdZjxH52vdGS9TYyGEoXQzk+/txGJTDsFa4atOXQruUB5pQLqAtfdfDiV2RHs5MPcg+M03WXPtqPnb2s2+z4EoXN1i3qdIs17x7/cdG2wdRpjTkl/Lg5+gvShzDdIeBKO1MVDKshjPM1Vf8mRNSAMHK0IXH1QOx7J8nABvT9UOODChXSL5bPTGA9oyl95IHPCCr6/S4CBUWfWbQ/pbBH7vf2QRTcDCFeK1jlj9wTxPejTc1TMzQNxnRXmx41SMojPn6hXSnb7h\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7\",\"request_id\":\"696fe393b7f449ddadb40e56169414e9\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert48766a1?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2af2cb0a-4556-4bcf-9433-3012330de92b" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert48766a1" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert51963bf/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert48766a1?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c8c40c82-73d4-46a3-a337-e3a7a24f10b1" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert48766a1" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5ddff548-2671-4bdd-b2a8-289ac073c99a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzO0rWWkRYzobY8JjAB55sEaG57oBVduNA0VpsVEyxUIAyrVfARb8xVCso0ABhNTgs06U3BwP3Z8GNGqpIs07epaLnoFC4zgjTaC/LGSRwEVFFCaMsrA6gpuM+KlKi6+VmUov7U4DEYXWfHGUOn7VQT2yDn3DsbS0PiwsOzoYgbGz/wzowMP6JgS3v4vXgwtTwqSlHsnNd5/Fk5V/vugk264hpvakVSROarIM8VZUOYGipnHPxJQBRWI60qtj9dFjkAQCdtYYWUbOL1E3j1voYUG8hziWA7uutHHpOPUlEBlmGoKskbYy/OTbJjhvvjPWpn1DsgL7VCYh7y222X0hECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBu04AuWae3en+t7RHmlVbWIbZue83dWmtw1coVC1Rgki++QmeVwJvf/wAQIwdUiVeXFCXvT8ijgn7HI8IdQFJ8XGYZg9zzvsjoUzfZR7+uedoph+DZ7oddv1ClRuNNkKOsHOc5g5r+gTa5HSvia9BfS2PX0bEBUgpug9UUY/xPWj6Mef5E/2ysx/KpTaAwT05Jm+2rEAd/H66oKuWU26PcX/ZZETozS09T27xKGwmfmkTnDmkjcrFTqV4Mi1db5AIs5ZFzdro8S54xCnpf8pttedmVFP+S7k1ZCXNqYtwOVtneVplauIEoZVNm5HpJ6H1qTkm+/rwEnmm+wpSJeeIG\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e8e67c31c57a400891a1476af6991469\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending?api-version=7.4&request_id=e8e67c31c57a400891a1476af6991469", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert48766a1?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f947fa46-8b93-4063-9d3b-ac7d9c5177d0" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert48766a1" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert51963bf/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert48766a1?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4cc2a41e-fcf3-47c1-ac0c-7098e6bd2349" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert48766a1", + "deletedDate": 1681267928, + "scheduledPurgeDate": 1681872728, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert48766a1/4512ad20e2cf43189fdedcad16e8bdfa", + "x5t": "ov7XBBiOE90df9LiFH9x9g6HYCM", + "cer": "MIIDNjCCAh6gAwIBAgIQWtjQ0deOSEuN/ZM2OwKs6zANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwN1oXDTI0MDQxMjAyNTIwN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANPiDPpa9U\u002BUld2lZFIipnrZ9Tg9rtAvVESteWYhxuAlJxMgsEEpN57T0MJSu3p9My27VRjcNyqIR93GKz3v7FpkWTSNyYJJF1nxEs5Gy9qBpkHJ32\u002Bn64O/6jm7NR/B/51WygAiz3pf8CC48Uxyf1E817JnRa\u002BO9NDh3z4QNtiodVvfOY\u002Br00nvH3ZX7ouWVwpvS0RrY1zcqk1JBvYAgK4wIfjtmUyLnTBh2wLftBJGnxeuQEYUVSfJdQ5ISyDYVmGQ8moV3T6TPzUpfNzKpNbiemE9N2hnWGUNretAxS/km2FOJhWoq2f2G2WK\u002BpdcLa1SAIV2v0yYUUiGRRcE7s0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFA8\u002BCtW4Le0pdC2vyZ3T0hZH9oniMB0GA1UdDgQWBBQPPgrVuC3tKXQtr8md09IWR/aJ4jANBgkqhkiG9w0BAQsFAAOCAQEAKPTE4KQh5lToSE40Bl\u002B7yWGVXW9k1vN/Kcw0zUXrh2RAhmnZ4ouoxhsRZ8kEhRix3QtbUTWyNZg8uSo67HwkaPjfy7/RhMFtsuZ2T1Iv6WUi8eT1eUppApMfqBc8zo\u002BbIbFRqCEmaFUeib49fsw79l1Ts2AOkfCMxv63EHAVcPQMNjhpyxcSyi7/MvS2NT2emdaSvlHAZdQsZsPvvanu/5zhwH2EPMt5DxDWOEs2CtQAGIUNSJQ\u002Bugtdetk88GSQrcu/NGy76gQ1xXFRJpMSc\u002BmrAvxc15GyXCxscliX8\u002BOaTggHEHap666CHC9U7jDR64ZngyM5drvtauFpNvsKWQ==", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267926, + "updated": 1681267926 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1e0d33ea-0df6-4c75-a4ec-5e648c0930ea", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzO0rWWkRYzobY8JjAB55sEaG57oBVduNA0VpsVEyxUIAyrVfARb8xVCso0ABhNTgs06U3BwP3Z8GNGqpIs07epaLnoFC4zgjTaC/LGSRwEVFFCaMsrA6gpuM+KlKi6+VmUov7U4DEYXWfHGUOn7VQT2yDn3DsbS0PiwsOzoYgbGz/wzowMP6JgS3v4vXgwtTwqSlHsnNd5/Fk5V/vugk264hpvakVSROarIM8VZUOYGipnHPxJQBRWI60qtj9dFjkAQCdtYYWUbOL1E3j1voYUG8hziWA7uutHHpOPUlEBlmGoKskbYy/OTbJjhvvjPWpn1DsgL7VCYh7y222X0hECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBu04AuWae3en+t7RHmlVbWIbZue83dWmtw1coVC1Rgki++QmeVwJvf/wAQIwdUiVeXFCXvT8ijgn7HI8IdQFJ8XGYZg9zzvsjoUzfZR7+uedoph+DZ7oddv1ClRuNNkKOsHOc5g5r+gTa5HSvia9BfS2PX0bEBUgpug9UUY/xPWj6Mef5E/2ysx/KpTaAwT05Jm+2rEAd/H66oKuWU26PcX/ZZETozS09T27xKGwmfmkTnDmkjcrFTqV4Mi1db5AIs5ZFzdro8S54xCnpf8pttedmVFP+S7k1ZCXNqYtwOVtneVplauIEoZVNm5HpJ6H1qTkm+/rwEnmm+wpSJeeIG\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e8e67c31c57a400891a1476af6991469\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert397723c?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "705b238b-321f-4cec-840c-d1a17d3f71bf" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert397723c", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "cer": "MIIDNjCCAh6gAwIBAgIQTLkEL3GoSm2IR/Xpq\u002BtMlDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPEa/NuDCvCcLnosYsHQvpH36rupMB0GA1UdDgQWBBTxGvzbgwrwnC56LGLB0L6R9\u002Bq7qTANBgkqhkiG9w0BAQsFAAOCAQEAa5XXO4gNp0YalX989LR2\u002B2Wg1pQmh/OBwSZe1zlpI\u002BziNipaK4cs7p8FsVpgxC1FADgpnDvJPPaEt\u002B7vzvwtwu1XbOUYk0hC9nUxKRyWqDGrjF9OzQCwXFCGGSxFbY7RzOIUtOpDgi5vOz7wFI0i4mL4Wp09B0IXXtt9SZiTLw9ncYWFMe59NMUy3WbvFnklXi3UYO0ptEDjn/SCMtm0XKmI3P7FgWZ8MFA07c2LeLA3M\u002BdMvo8ba8jGVchnPY6arB65/iEeyeajKQJtmzV8DXdFL\u002Bvx30k1OXOgz2B5RhS2M79fJMZjsKSPlzr36GXJGivsG4bD6zKePA/a80Mgig==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert51963bf/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert397723c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ccfd0fef-cd96-40ac-a30a-1708ff15d084" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert397723c", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert397723c/dae2d946f2444a7f966e3717b1484c5f", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "cer": "MIIDNjCCAh6gAwIBAgIQTLkEL3GoSm2IR/Xpq\u002BtMlDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAP3oNL4D6kNIxFY\u002B2RrID2m6\u002Bbo27aKcGlkD1sG7OczohmKrP4MwNbLrkmoaBxQc3C6i5KMGpiCp7HrR0dHdZiWggBt5gdLvvGvngJIq\u002BxuZ74DMjxkXLR5yCRBx3hCcpvYK4c9j9wZbhSjSV9mwBZ7xRLmGiomQu\u002BtQHdDL24y3csCojvqswY/QRgzCpPkwIhQfN3BR4pjx88wGALzO\u002BjZslqZ8JzInzyPdiM5QjnktC1XMH1acdFCBTrp1QhOUXMzOwhKXIqmQp8eiry5V6n1lbVeued1BUiPihYYMG0rvUdnNC6sNFhk4fR\u002BxmmLQEc32Dm35mY1qdCYc7gzcGmUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFPEa/NuDCvCcLnosYsHQvpH36rupMB0GA1UdDgQWBBTxGvzbgwrwnC56LGLB0L6R9\u002Bq7qTANBgkqhkiG9w0BAQsFAAOCAQEAa5XXO4gNp0YalX989LR2\u002B2Wg1pQmh/OBwSZe1zlpI\u002BziNipaK4cs7p8FsVpgxC1FADgpnDvJPPaEt\u002B7vzvwtwu1XbOUYk0hC9nUxKRyWqDGrjF9OzQCwXFCGGSxFbY7RzOIUtOpDgi5vOz7wFI0i4mL4Wp09B0IXXtt9SZiTLw9ncYWFMe59NMUy3WbvFnklXi3UYO0ptEDjn/SCMtm0XKmI3P7FgWZ8MFA07c2LeLA3M\u002BdMvo8ba8jGVchnPY6arB65/iEeyeajKQJtmzV8DXdFL\u002Bvx30k1OXOgz2B5RhS2M79fJMZjsKSPlzr36GXJGivsG4bD6zKePA/a80Mgig==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ffc53b69-07b4-48c5-9068-e164b4f9b7b3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzO0rWWkRYzobY8JjAB55sEaG57oBVduNA0VpsVEyxUIAyrVfARb8xVCso0ABhNTgs06U3BwP3Z8GNGqpIs07epaLnoFC4zgjTaC/LGSRwEVFFCaMsrA6gpuM+KlKi6+VmUov7U4DEYXWfHGUOn7VQT2yDn3DsbS0PiwsOzoYgbGz/wzowMP6JgS3v4vXgwtTwqSlHsnNd5/Fk5V/vugk264hpvakVSROarIM8VZUOYGipnHPxJQBRWI60qtj9dFjkAQCdtYYWUbOL1E3j1voYUG8hziWA7uutHHpOPUlEBlmGoKskbYy/OTbJjhvvjPWpn1DsgL7VCYh7y222X0hECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBu04AuWae3en+t7RHmlVbWIbZue83dWmtw1coVC1Rgki++QmeVwJvf/wAQIwdUiVeXFCXvT8ijgn7HI8IdQFJ8XGYZg9zzvsjoUzfZR7+uedoph+DZ7oddv1ClRuNNkKOsHOc5g5r+gTa5HSvia9BfS2PX0bEBUgpug9UUY/xPWj6Mef5E/2ysx/KpTaAwT05Jm+2rEAd/H66oKuWU26PcX/ZZETozS09T27xKGwmfmkTnDmkjcrFTqV4Mi1db5AIs5ZFzdro8S54xCnpf8pttedmVFP+S7k1ZCXNqYtwOVtneVplauIEoZVNm5HpJ6H1qTkm+/rwEnmm+wpSJeeIG\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf\",\"request_id\":\"e8e67c31c57a400891a1476af6991469\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert5835444?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b48572fe-c7e5-48ff-91a4-91b689d7b3cd" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert5835444", + "deletedDate": 1681267934, + "scheduledPurgeDate": 1681872734, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "x5t": "yFi_gLd1SMNIRrVN0mtv-lhpVlQ", + "cer": "MIIDNjCCAh6gAwIBAgIQckq4f2YjSRSGx1Gx/9yZiTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwOFoXDTI0MDQxMjAyNTIwOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMin/c91/t/JCblO1zXrUHZcK6yI1TxDAt96TwyCmgTehHDmMzIZGxDG3Gd6J\u002BGIhmoFBGjxJJCuokZJA9x3wdlq6Wb57rb8ZryHE4emAJMPYCeoz2P/NCTft4BuDs\u002B6L9LaY6zlynQ/ii1XBlU7faez1aLIPoTA93LtKdI8lVxZFsk6bnlhRvys1ctGJe47vYq2z12c63mvMIf9x46YQ4dlBHwEGSoJfaE6GYJtFLEyr3T6r6RCoz8CHMhhqNv2b\u002BoH4A2LuabhEqvcLuuPHVIYj3sXx16tSYrYB4PMxzooj9\u002BR1PgEtNVwbksDwt4H\u002BywURuLvJ7Uhi0wbz0vT8TkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOIquKyUU9l5gFPOceeUIc4m/rsrMB0GA1UdDgQWBBTiKrislFPZeYBTznHnlCHOJv67KzANBgkqhkiG9w0BAQsFAAOCAQEArSUhjou0rg1xW51vWf3L6mia/AEk3MIwZpSas5bfTliDsWhfp8mrlNFpJWRYEUR5jTrSu4P/7aHgjlqBQrxLPdTDvRUpTdnSbn8fYosfQgsjAlm0kSptC4shXd3G3X52KkGBFt9Pw7OBkEoZYJln74cof5ZKtT4xEdKOPCWGYSr4Ct\u002BHefNpmt2bBnis5axuYFpJY5m94SflCnaqcFa7DF0ClSSyEzGAuYXD6aymo3EfqXUEBEnwW7jL3LHZ9b49ZPMBHDXnl2dE1HrivvQo5XagC2cCKvHsGmloBuKvwQU7Jb5oznG8dQ9l7NeKmsuyK/NbDXjAbMoGTgw4Rh6vFQ==", + "attributes": { + "enabled": true, + "nbf": 1681267328, + "exp": 1712890328, + "created": 1681267928, + "updated": 1681267928, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267927, + "updated": 1681267927 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/pending" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert18831f7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert5835444?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d707bf30-bf74-4da6-b88d-6b94a50d3946" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert5835444" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7a589bec-5118-4cd4-8b34-3292301b69d0", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert18831f7\",\"deletedDate\":1678954171,\"scheduledPurgeDate\":1679558971,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"x5t\":\"wn_zVWaYTuneu0ZAPSIrRJujah8\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQXHBfvxh7THumhTGJVdp3JDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyN1oXDTI0MDMxNjA4MDkyN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPMXfdk7db1xe032fzGKlHhtMXdsoVhBWs9VBeP5Ldtki5Iq+f9nj/ovB7Z43xMMmREviZC93YCjmAGJfvUa69t2+mPXe3InPYMHfga07UZ9IfAYW+EfmJjnfgap+S7l+l4JdhZPhx6Y4KvXDPpTcSvQkF3480TSimIbLKdelo1karNxkNQiIeUy+h4PLLxAjWDJXriTwwh4ewzkf99s1t0LbRpj29rE4OYpPb2tdHcmW+Q1LPh9ju0BeYSQOTcD0O24J2SHidqIYrP9O+0U2gs0ob3fiuyPrw0o0HdIGPAs24EYwzVXrnJALhrhCAS9QW+yNmkD5G50CUA53pUplBkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOZCv8/9Iqlcp0LlY2Q9+eUS2Uu/MB0GA1UdDgQWBBTmQr/P/SKpXKdC5WNkPfnlEtlLvzANBgkqhkiG9w0BAQsFAAOCAQEAj0OhbCPlYCvXCh1iki2NMGaiay3DyWmJTdQSsU9kOL2i0GWGEuKwSqjZdmByiddHq5Cf77LQNkfl/sVxzlVm05L0FGmxiTZOceZwyuxr3HiPjLplXcFpt+mA6t+aivzrtssXNBoMLCYRzuQIDilSktcKadAN0Qi+kg3+L3r5c007nUmqY+pk07UNikLJunPfxMT3stiDTwKUz+KhQMhHddfY8Hi2G5AVYc2ikvY3dja9YmKfccOvAph8meb9Y2619kounwUJxe728l9/Z4W/A+fy6BUkJwTqluJVPvPGIakzsXEoHoQcoMmlPUy6qLKzoGCpCe4yHuuoEyQqwiqymw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert5835444?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "07432b58-8d52-4762-8d07-66beea722dc0" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert5835444", + "deletedDate": 1681267934, + "scheduledPurgeDate": 1681872734, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert5835444/1ecc9841cb604338871e61ee79e2bcb5", + "x5t": "yFi_gLd1SMNIRrVN0mtv-lhpVlQ", + "cer": "MIIDNjCCAh6gAwIBAgIQckq4f2YjSRSGx1Gx/9yZiTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwOFoXDTI0MDQxMjAyNTIwOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMin/c91/t/JCblO1zXrUHZcK6yI1TxDAt96TwyCmgTehHDmMzIZGxDG3Gd6J\u002BGIhmoFBGjxJJCuokZJA9x3wdlq6Wb57rb8ZryHE4emAJMPYCeoz2P/NCTft4BuDs\u002B6L9LaY6zlynQ/ii1XBlU7faez1aLIPoTA93LtKdI8lVxZFsk6bnlhRvys1ctGJe47vYq2z12c63mvMIf9x46YQ4dlBHwEGSoJfaE6GYJtFLEyr3T6r6RCoz8CHMhhqNv2b\u002BoH4A2LuabhEqvcLuuPHVIYj3sXx16tSYrYB4PMxzooj9\u002BR1PgEtNVwbksDwt4H\u002BywURuLvJ7Uhi0wbz0vT8TkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOIquKyUU9l5gFPOceeUIc4m/rsrMB0GA1UdDgQWBBTiKrislFPZeYBTznHnlCHOJv67KzANBgkqhkiG9w0BAQsFAAOCAQEArSUhjou0rg1xW51vWf3L6mia/AEk3MIwZpSas5bfTliDsWhfp8mrlNFpJWRYEUR5jTrSu4P/7aHgjlqBQrxLPdTDvRUpTdnSbn8fYosfQgsjAlm0kSptC4shXd3G3X52KkGBFt9Pw7OBkEoZYJln74cof5ZKtT4xEdKOPCWGYSr4Ct\u002BHefNpmt2bBnis5axuYFpJY5m94SflCnaqcFa7DF0ClSSyEzGAuYXD6aymo3EfqXUEBEnwW7jL3LHZ9b49ZPMBHDXnl2dE1HrivvQo5XagC2cCKvHsGmloBuKvwQU7Jb5oznG8dQ9l7NeKmsuyK/NbDXjAbMoGTgw4Rh6vFQ==", + "attributes": { + "enabled": true, + "nbf": 1681267328, + "exp": 1712890328, + "created": 1681267928, + "updated": 1681267928, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267927, + "updated": 1681267927 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert18831f7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2138", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d340e247-b379-4423-b703-0f7218851d54" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert397723c", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert48766a1", + "deletedDate": 1681267928, + "scheduledPurgeDate": 1681872728, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1", + "x5t": "ov7XBBiOE90df9LiFH9x9g6HYCM", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert5835444", + "deletedDate": 1681267934, + "scheduledPurgeDate": 1681872734, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444", + "x5t": "yFi_gLd1SMNIRrVN0mtv-lhpVlQ", + "attributes": { + "enabled": true, + "nbf": 1681267328, + "exp": 1712890328, + "created": 1681267928, + "updated": 1681267928, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert185371a9db5", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert185371a9db5", + "x5t": "dd8FeDeBdhj9q-_G0hs0sgM_7m0", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTWpjME5EWkZPREk1TWtRdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3acf9b27-4c06-4c8d-899e-ab08f4508059", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert18831f7\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert18831f7?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "026a27fa-10d9-498c-9df6-c0944781e617", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert18831f7\",\"deletedDate\":1678954171,\"scheduledPurgeDate\":1679558971,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert18831f7/56f130ac0f5f4908b801b34bb1acaabf\",\"x5t\":\"wn_zVWaYTuneu0ZAPSIrRJujah8\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQXHBfvxh7THumhTGJVdp3JDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyN1oXDTI0MDMxNjA4MDkyN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPMXfdk7db1xe032fzGKlHhtMXdsoVhBWs9VBeP5Ldtki5Iq+f9nj/ovB7Z43xMMmREviZC93YCjmAGJfvUa69t2+mPXe3InPYMHfga07UZ9IfAYW+EfmJjnfgap+S7l+l4JdhZPhx6Y4KvXDPpTcSvQkF3480TSimIbLKdelo1karNxkNQiIeUy+h4PLLxAjWDJXriTwwh4ewzkf99s1t0LbRpj29rE4OYpPb2tdHcmW+Q1LPh9ju0BeYSQOTcD0O24J2SHidqIYrP9O+0U2gs0ob3fiuyPrw0o0HdIGPAs24EYwzVXrnJALhrhCAS9QW+yNmkD5G50CUA53pUplBkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOZCv8/9Iqlcp0LlY2Q9+eUS2Uu/MB0GA1UdDgQWBBTmQr/P/SKpXKdC5WNkPfnlEtlLvzANBgkqhkiG9w0BAQsFAAOCAQEAj0OhbCPlYCvXCh1iki2NMGaiay3DyWmJTdQSsU9kOL2i0GWGEuKwSqjZdmByiddHq5Cf77LQNkfl/sVxzlVm05L0FGmxiTZOceZwyuxr3HiPjLplXcFpt+mA6t+aivzrtssXNBoMLCYRzuQIDilSktcKadAN0Qi+kg3+L3r5c007nUmqY+pk07UNikLJunPfxMT3stiDTwKUz+KhQMhHddfY8Hi2G5AVYc2ikvY3dja9YmKfccOvAph8meb9Y2619kounwUJxe728l9/Z4W/A+fy6BUkJwTqluJVPvPGIakzsXEoHoQcoMmlPUy6qLKzoGCpCe4yHuuoEyQqwiqymw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert0371855?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6ae078a4-f8de-408e-854d-2b32fdc2adf7", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert0371855\",\"deletedDate\":1678954173,\"scheduledPurgeDate\":1679558973,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/1f4be88fa06b43d7a7b81b3d88305c19\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert0371855/1f4be88fa06b43d7a7b81b3d88305c19\",\"sid\":\"https://azsdktests.vault.azure.net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WTVlZNJXhu0CPC4QfqYaACZ/nEBiVRtqMIRY+NagUT1YDinC3BrUAlJtkKAMj6nPeFnZhAX/FMH9IdoZR0COMQQ/icFPzsQ1GCPJbuYXYinHhZA==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954163,\"updated\":1678954163}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert0371855?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7b654640-d0b6-48b8-8edd-525a496e3cc8", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert0371855\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert0371855?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d7e3cadb-6d8f-47bf-b2a8-88eae59ca9f5", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert0371855\",\"deletedDate\":1678954173,\"scheduledPurgeDate\":1679558973,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/1f4be88fa06b43d7a7b81b3d88305c19\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert0371855/1f4be88fa06b43d7a7b81b3d88305c19\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert0371855/1f4be88fa06b43d7a7b81b3d88305c19\",\"x5t\":\"7lsjprR-ToXePp162SqLip4YxRE\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQVp2vqRW5SGC5236rfTSP7TANBgkqhki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nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954163,\"updated\":1678954163}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert51963bf?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e4e0e176-c741-41b2-8729-bad685035e2b", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert51963bf\",\"deletedDate\":1678954176,\"scheduledPurgeDate\":1679558976,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"x5t\":\"_MYpux4wGfyVhc04BXAAV3tssqU\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQCE6Fy8+ZQ1eVV8qGeW6rKDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMFoXDTI0MDMxNjA4MDkzMFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzO0rWWkRYzobY8JjAB55sEaG57oBVduNA0VpsVEyxUIAyrVfARb8xVCso0ABhNTgs06U3BwP3Z8GNGqpIs07epaLnoFC4zgjTaC/LGSRwEVFFCaMsrA6gpuM+KlKi6+VmUov7U4DEYXWfHGUOn7VQT2yDn3DsbS0PiwsOzoYgbGz/wzowMP6JgS3v4vXgwtTwqSlHsnNd5/Fk5V/vugk264hpvakVSROarIM8VZUOYGipnHPxJQBRWI60qtj9dFjkAQCdtYYWUbOL1E3j1voYUG8hziWA7uutHHpOPUlEBlmGoKskbYy/OTbJjhvvjPWpn1DsgL7VCYh7y222X0hECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEU7YDmPGNBSRaYrfbLVzdQqTVbkMB0GA1UdDgQWBBRFO2A5jxjQUkWmK32y1c3UKk1W5DANBgkqhkiG9w0BAQsFAAOCAQEAFatHkh85Sj5aQQ4UtggAOaMt20eUYAltRPn9ZRuFP/9SHmLaQDVK+GrmdrbOBtVFAgOBN64HrkMRtwRtTAgll6KTffgCogTYmyIHFBwERXBzZ5thWvCefTxncGEvZ/ev/Rb8i0B9V4EoDL4QybLUnSOY6KItBlhBtQVsfUymI5xsDWzQXzSJRQ+sllhOtW5IkpH6lsuTCtuZSXROEzgomRTBe91y3mvOdBoXbBeYanlkIimyzLKUGwBNTv55j7jFWjMDKQN6msD8K0D+2T7XjYOnC3RsnmenemgtHBDSSP0Ap68jirC9bxHZOdSSDfxVM4+dztpTSZ+iKy6lNzFZUw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert51963bf?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:36 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aae60191-f74e-45cb-aeb0-e6c90b981b9a", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert51963bf\",\"deletedDate\":1678954176,\"scheduledPurgeDate\":1679558976,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert51963bf/7fa26f2e4fe74a6286d6b36ac2888325\",\"x5t\":\"_MYpux4wGfyVhc04BXAAV3tssqU\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQCE6Fy8+ZQ1eVV8qGeW6rKDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMFoXDTI0MDMxNjA4MDkzMFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANzO0rWWkRYzobY8JjAB55sEaG57oBVduNA0VpsVEyxUIAyrVfARb8xVCso0ABhNTgs06U3BwP3Z8GNGqpIs07epaLnoFC4zgjTaC/LGSRwEVFFCaMsrA6gpuM+KlKi6+VmUov7U4DEYXWfHGUOn7VQT2yDn3DsbS0PiwsOzoYgbGz/wzowMP6JgS3v4vXgwtTwqSlHsnNd5/Fk5V/vugk264hpvakVSROarIM8VZUOYGipnHPxJQBRWI60qtj9dFjkAQCdtYYWUbOL1E3j1voYUG8hziWA7uutHHpOPUlEBlmGoKskbYy/OTbJjhvvjPWpn1DsgL7VCYh7y222X0hECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEU7YDmPGNBSRaYrfbLVzdQqTVbkMB0GA1UdDgQWBBRFO2A5jxjQUkWmK32y1c3UKk1W5DANBgkqhkiG9w0BAQsFAAOCAQEAFatHkh85Sj5aQQ4UtggAOaMt20eUYAltRPn9ZRuFP/9SHmLaQDVK+GrmdrbOBtVFAgOBN64HrkMRtwRtTAgll6KTffgCogTYmyIHFBwERXBzZ5thWvCefTxncGEvZ/ev/Rb8i0B9V4EoDL4QybLUnSOY6KItBlhBtQVsfUymI5xsDWzQXzSJRQ+sllhOtW5IkpH6lsuTCtuZSXROEzgomRTBe91y3mvOdBoXbBeYanlkIimyzLKUGwBNTv55j7jFWjMDKQN6msD8K0D+2T7XjYOnC3RsnmenemgtHBDSSP0Ap68jirC9bxHZOdSSDfxVM4+dztpTSZ+iKy6lNzFZUw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:40 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "328", - "x-ms-request-id" : "8884841b-a345-49bf-b7d9-85492c06e91e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5326", - "x-ms-request-id" : "0c15f9a0-6f8a-4a67-9f5d-da30fe454195", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert01772a1\",\"deletedDate\":1678951693,\"scheduledPurgeDate\":1679556493,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert01772a1\",\"x5t\":\"XbOw-k6L-x5V531Oa4q6uU5nOG4\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert0371855\",\"deletedDate\":1678954173,\"scheduledPurgeDate\":1679558973,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855\",\"x5t\":\"7lsjprR-ToXePp162SqLip4YxRE\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert18831f7\",\"deletedDate\":1678954171,\"scheduledPurgeDate\":1679558971,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7\",\"x5t\":\"wn_zVWaYTuneu0ZAPSIrRJujah8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert494238e\",\"deletedDate\":1678951696,\"scheduledPurgeDate\":1679556496,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert494238e\",\"x5t\":\"gSlN7QkxqPKYyuaHCHWTjt6s2oE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951089,\"exp\":1710574089,\"created\":1678951689,\"updated\":1678951689,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert51963bf\",\"deletedDate\":1678954176,\"scheduledPurgeDate\":1679558976,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf\",\"x5t\":\"_MYpux4wGfyVhc04BXAAV3tssqU\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert5630565\",\"deletedDate\":1678951679,\"scheduledPurgeDate\":1679556479,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert5630565\",\"x5t\":\"onyMdJHtObGnRO370SSTdmEjzwI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert57865e0\",\"deletedDate\":1678951695,\"scheduledPurgeDate\":1679556495,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert57865e0\",\"x5t\":\"OmWzNgzbilJayjTR-E4XN31zIoQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951092,\"exp\":1710574092,\"created\":1678951692,\"updated\":1678951692,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert6983003\",\"deletedDate\":1678951677,\"scheduledPurgeDate\":1679556477,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert6983003\",\"x5t\":\"KPkmlUvPw3d8iVeyfIQHOJi1cjU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951076,\"exp\":1710574076,\"created\":1678951676,\"updated\":1678951676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert82883bf\",\"deletedDate\":1678951681,\"scheduledPurgeDate\":1679556481,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert82883bf\",\"x5t\":\"A5zv5t1npbV52sfIJvhwt94JnUU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert1040144e144\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1040144e144\",\"x5t\":\"8tSzb3gb3HGaP3PZRjyMPelpTKg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert18963f6fb20\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20\",\"x5t\":\"UMLD48JJSY8e3euXtnQQNGFJPWo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTWpZeU1ERTNOakl5TlRraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTWpZeU1ERTNOakl5TlRraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2572", - "x-ms-request-id" : "11b0eef1-ef9f-46cc-9363-a5d2b539265c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert310473c68b3\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3\",\"x5t\":\"F95WIp9qUEd3CL2ZbSxmWj7nSOQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert36219fdacba\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert36219fdacba\",\"x5t\":\"ndfPFIUimrDFkadoxLebtDeZO_w\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert39450c6d5da\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert39450c6d5da\",\"x5t\":\"JG7OXErpFOYU0E1CI-8Z1g-dlvQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert42618b6e6be\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert42618b6e6be\",\"x5t\":\"mPr612XHOjR5yFSIH2cY86jKF7E\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert630101e0f5b\",\"deletedDate\":1678954151,\"scheduledPurgeDate\":1679558951,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b\",\"x5t\":\"0vyYRN8YXPDTgAegOD7wUmDv9JU\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTmpZeE5EUTBSVE5HTURBaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTmpZeE5EUTBSVE5HTURBaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "782", - "x-ms-request-id" : "b0855fab-d41b-4d8e-b756-78765c6072d0", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert94279fce980\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980\",\"x5t\":\"rIUA1kmA1gZDqD5UsuMGJbobYGY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJV05sY25ScFptbGpZWFJsTDFSRlUxUk1TVk5VUTBWU1ZGWkZVbE5KVDA0NE56Y3dOQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTJJV05sY25ScFptbGpZWFJsTDFSRlUxUk1TVk5VUTBWU1ZGWkZVbE5KVDA0NE56Y3dOQ0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "28", - "x-ms-request-id" : "4134d999-94c8-411c-bfc4-cae10cca0a05", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listdeletedcert18831f7", "listdeletedcert0371855", "listdeletedcert51963bf" ] + { + "RequestUri": "https://REDACTED/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTWpjME5EWkZPREk1TWtRdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1365", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4ed03689-a8ae-470e-a9ed-ce42e7e361be" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert57505e80d81", + "deletedDate": 1681267918, + "scheduledPurgeDate": 1681872718, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81", + "x5t": "Q_I7ag7dGaGJTbSAXYiZes7uYJw", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert88327ed6554", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert98024ec25bc", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc", + "x5t": "cm4qtLlbcd_EDcmagRBMC8pUcoI", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listdeletedcert48766a1", + "1": "listdeletedcert397723c", + "2": "listdeletedcert5835444" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listPropertiesOfCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listPropertiesOfCertificates[1].json index 32bc1389ae93b..9bb3b429073f3 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listPropertiesOfCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.listPropertiesOfCertificates[1].json @@ -1,206 +1,728 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey7755247a7/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listcertkey019934147/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "af94ca84-3655-42bb-967a-36a113083019" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "804df870-60a2-4122-b5bb-cc8d20cdb812", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL/CDWY/Qil490M5tC/tMkoaoI6CnYiklR2//LchKQoUbyratqXfS2vUeeRHEV3cIQzX/nCI9amBpP15+49OCmWhfS/zr5bWjV9G0PUYDcKiQ1hflY7bbpIMnonI9dZmZmpNLlcxF30Joh4XBFBvYlaawq3ltGtpBCODE5Mh0EZsq6KCAtT0/UCvYGSH1Qp1i+qaJnKeJHRjVPnbJ7hxkoxJxAlkeY+4KCI3JoCy3SmE3ovtRmLMyOFV3qYiz4EQ5b+liWsc+nUAAwJHVh6eXMQX8v9thb7v/W+SD0X2WtIbvXms2FrR6v28lgWUb5bDAd5L8Bq5kh4Ev+wZ5gALgeUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBW2JL6wotkhaUIxfcRHdAhhZuNLWzRWz63OLlnuSxUgId9ExYuvnyKLYm24oyf5wva//62zFX42W1b3BGkpeOVTFgZsaMkZ/74WRJU1J2vfVtiH+sbbAmnfm40E9VgGu6GuKYiT0AgK2DyPG8rDvTbxk9slLO9OOXpWjLgR2LuRMY6YPfvlxduF7zqExs373DIjeSyiDsiKUm8qXHyzT2ZcGpXaKNc6Pz+rVaFcz4t7EiusBko+uljiDAYQV8Vjus8Ghr0oRgGFOyII7r3fh+B9F8UKjv5V6Zjo27Parj2gAHwisfO/0WOmHJuauWliD0U/7DDVjLM1TThAvJGuWVP\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e35f8b5f923a4a428c3eadeabf31a6a8\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7/pending?api-version=7.4&request_id=e35f8b5f923a4a428c3eadeabf31a6a8", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey019934147/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147/pending?api-version=7.4\u0026request_id=c68d573c900c41c6a256c56980be9c50", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1c943440-28b0-44d0-9c4f-08c6275487db" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK7\u002BvRq0541yOVkSY8EJKQqIKCtuUIj1g0jGBDgjMMsQCDArlPLH3X2slMNYQey9KWxQYaL0d\u002B5IPAvlPCXtzWCBcZMQpzs3M7hmvzXH6rZWGzeKt3BojYEr2iKJQ32nbEhuo1ygcwY7HZ/sXLzM8BKBfnAyPnCryMbXozRe4gvbvq/LMKZjnv6RY0f3fjbkQTw5/xhcLFVAmLWBRKf6EttTFh96RXUzM01dCI3XLkF1LjIpvL4Czs/7ZzJCR\u002Bk2ngLEHVw2eOS3mYSIJ9wFJH6Mw1wh3xdCVrzEIXEwE2NHxr/oHNe2rUfPQjBMAWLNRKBARMhAyjM8vmO9NRdeq9UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCjLmbG/5tHLjnKrzRs1kdlhFVZ572Jgp82\u002BW8jUTaHzV/AsGMGrgz5QYyj2x5lPPDqdQNTpnBdPY0Fs/BU0nkdJPvyvtVO6uO/PFo//fYyyyTUDIWFbCa9YKivwjSXPQJGxUW03UyBJsSMKm5Q6jEmIi/UkbhOhC5NzDM2WWpeHJrFsJGiAh2eZXv\u002BpZ2lbYHWWmHNz4lX3KMCwG4sDZCg7arU\u002B0oVNv5zdrQ2WR73KlFumLiiizv4Q6Poc4MTbmYgKKgmYf0kNH2uGhElphdoRTqGNJHeqsGPUWmhz3tCTi609jGFpHhgY0xP1vHfuUfrTcX/gPvfcGP\u002BOwlPfd41", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "c68d573c900c41c6a256c56980be9c50" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey7755247a7/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey019934147/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4ec0af50-39e1-4ee6-952c-bc5da208cf73" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK7\u002BvRq0541yOVkSY8EJKQqIKCtuUIj1g0jGBDgjMMsQCDArlPLH3X2slMNYQey9KWxQYaL0d\u002B5IPAvlPCXtzWCBcZMQpzs3M7hmvzXH6rZWGzeKt3BojYEr2iKJQ32nbEhuo1ygcwY7HZ/sXLzM8BKBfnAyPnCryMbXozRe4gvbvq/LMKZjnv6RY0f3fjbkQTw5/xhcLFVAmLWBRKf6EttTFh96RXUzM01dCI3XLkF1LjIpvL4Czs/7ZzJCR\u002Bk2ngLEHVw2eOS3mYSIJ9wFJH6Mw1wh3xdCVrzEIXEwE2NHxr/oHNe2rUfPQjBMAWLNRKBARMhAyjM8vmO9NRdeq9UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCjLmbG/5tHLjnKrzRs1kdlhFVZ572Jgp82\u002BW8jUTaHzV/AsGMGrgz5QYyj2x5lPPDqdQNTpnBdPY0Fs/BU0nkdJPvyvtVO6uO/PFo//fYyyyTUDIWFbCa9YKivwjSXPQJGxUW03UyBJsSMKm5Q6jEmIi/UkbhOhC5NzDM2WWpeHJrFsJGiAh2eZXv\u002BpZ2lbYHWWmHNz4lX3KMCwG4sDZCg7arU\u002B0oVNv5zdrQ2WR73KlFumLiiizv4Q6Poc4MTbmYgKKgmYf0kNH2uGhElphdoRTqGNJHeqsGPUWmhz3tCTi609jGFpHhgY0xP1vHfuUfrTcX/gPvfcGP\u002BOwlPfd41", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147", + "request_id": "c68d573c900c41c6a256c56980be9c50" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3f97bc52-aea8-4302-81e2-3eb26a3b7363", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL/CDWY/Qil490M5tC/tMkoaoI6CnYiklR2//LchKQoUbyratqXfS2vUeeRHEV3cIQzX/nCI9amBpP15+49OCmWhfS/zr5bWjV9G0PUYDcKiQ1hflY7bbpIMnonI9dZmZmpNLlcxF30Joh4XBFBvYlaawq3ltGtpBCODE5Mh0EZsq6KCAtT0/UCvYGSH1Qp1i+qaJnKeJHRjVPnbJ7hxkoxJxAlkeY+4KCI3JoCy3SmE3ovtRmLMyOFV3qYiz4EQ5b+liWsc+nUAAwJHVh6eXMQX8v9thb7v/W+SD0X2WtIbvXms2FrR6v28lgWUb5bDAd5L8Bq5kh4Ev+wZ5gALgeUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBW2JL6wotkhaUIxfcRHdAhhZuNLWzRWz63OLlnuSxUgId9ExYuvnyKLYm24oyf5wva//62zFX42W1b3BGkpeOVTFgZsaMkZ/74WRJU1J2vfVtiH+sbbAmnfm40E9VgGu6GuKYiT0AgK2DyPG8rDvTbxk9slLO9OOXpWjLgR2LuRMY6YPfvlxduF7zqExs373DIjeSyiDsiKUm8qXHyzT2ZcGpXaKNc6Pz+rVaFcz4t7EiusBko+uljiDAYQV8Vjus8Ghr0oRgGFOyII7r3fh+B9F8UKjv5V6Zjo27Parj2gAHwisfO/0WOmHJuauWliD0U/7DDVjLM1TThAvJGuWVP\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7\",\"request_id\":\"e35f8b5f923a4a428c3eadeabf31a6a8\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey28482fa02/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02/pending?api-version=7.4\u0026request_id=dcb747b2cd5e4cad82103892a98fd9d4", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "79991946-8082-41f5-ab26-0fce14166a04" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK37rO6CXEGkRnfiAkWWaG2oDg3LTuNQxvlJ22p83pSFHmvmp5AuwqiyzOl885UtwEMnnCYkHKfVgw2aHsUqfXiEijERvHV9SvZYoT0irD7My9/tUfwWftcW31H1nLbuGF3IuOyUDWYmW9oXnqo2W7YPQF9o6jN6BzqgszBMEt07V2BbNm32C1ARPAp0yItLKt2zJe9D7Pfs4fAS8LJ0UR4TuGlpbqm\u002BYcXIeQ2aSPStmtN6bFANvyk40\u002B\u002BU0DzmVtbtsPx7BYs1mG4CgOqXNl4/dT8lsedfnZG1/vkjJ9l9\u002BIFmVMuvSr8zrPFnc4ws5eNOPvM/6K1YReHCpEkD/kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA0IIyQVOIUIZjfj80vnc3hebiUjUF57cnuCqoJZ7CnGo3wxTAza\u002BB/iC1m/PqYyuLtM1F8hg3EC/t93/3QW3siu/cx\u002BXcaepqhD4Iz7S07w6/PM6/13cQ5PUKfTAxPCL5fPnHillGx8e5aPCTBpaC5a1opsUzJjeLkhi62\u002BOmWqtf5nSyavwYT2Mar5V1toAxdYqNRbSOPFHARRTv4R3PAQtc7YvsDeCWimiBtvEwCELbV\u002Bprkm4L6IiaMeF4sjbJ\u002BhBUvmGOTqJU\u002BeaJrYwp0dJOsmyWTpvZndHg5EyFVg5xAR5nB58z4A/kpRb0nEn9Rcnr9lU7/T7drvSea0vEs", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "dcb747b2cd5e4cad82103892a98fd9d4" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey18827d6de/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey28482fa02/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d8a1873-c267-4983-a8b1-1f6c234f7aa3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK37rO6CXEGkRnfiAkWWaG2oDg3LTuNQxvlJ22p83pSFHmvmp5AuwqiyzOl885UtwEMnnCYkHKfVgw2aHsUqfXiEijERvHV9SvZYoT0irD7My9/tUfwWftcW31H1nLbuGF3IuOyUDWYmW9oXnqo2W7YPQF9o6jN6BzqgszBMEt07V2BbNm32C1ARPAp0yItLKt2zJe9D7Pfs4fAS8LJ0UR4TuGlpbqm\u002BYcXIeQ2aSPStmtN6bFANvyk40\u002B\u002BU0DzmVtbtsPx7BYs1mG4CgOqXNl4/dT8lsedfnZG1/vkjJ9l9\u002BIFmVMuvSr8zrPFnc4ws5eNOPvM/6K1YReHCpEkD/kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA0IIyQVOIUIZjfj80vnc3hebiUjUF57cnuCqoJZ7CnGo3wxTAza\u002BB/iC1m/PqYyuLtM1F8hg3EC/t93/3QW3siu/cx\u002BXcaepqhD4Iz7S07w6/PM6/13cQ5PUKfTAxPCL5fPnHillGx8e5aPCTBpaC5a1opsUzJjeLkhi62\u002BOmWqtf5nSyavwYT2Mar5V1toAxdYqNRbSOPFHARRTv4R3PAQtc7YvsDeCWimiBtvEwCELbV\u002Bprkm4L6IiaMeF4sjbJ\u002BhBUvmGOTqJU\u002BeaJrYwp0dJOsmyWTpvZndHg5EyFVg5xAR5nB58z4A/kpRb0nEn9Rcnr9lU7/T7drvSea0vEs", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "dcb747b2cd5e4cad82103892a98fd9d4" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a641667a-ee43-45e0-87a9-e3f190c35056", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANacp0LvmA3+dODcPentgOKCC4FruO6shb2UqzDyhHXAmeHQOvg8261Cf2HZ81Ymq8H7YWI6KHyPLuGndR6MDBWYt/vjr94ca4GWmPP6+xLReS14f3QN403PSmNmYE6Q4ohcePNRg11Qpgl9wlnh32TgYcd+MhwUYrWQ8IMTjBOUKKDN5VtZQGTqx+iiEStM3LSLCU1XJoxyjeypnIopzhAkRA/BGvf+v8ArkWHimGv5LZiWENxuDpCtnRn5beyDFsvupBU7+maflW4+W0K3qaY+cLYNGtDWwKD3byHyLXO2a1zPudYUizRJYRr7ZencV/mmsDGv8OPklziRW47tkq0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAO+J7OUhV6HPhwg/f4z7C06GAECkvCXug3UAOLO1OINu1D0t3nUB7Smx/sQqlXkCL5LjIxjfIV/ktyTw3eWPXLiExKLayihItHe5uofmFX6G9fFlma2zidEUX4QEgrPCQtnxRbqiI8spuK4G87k+QmV7Ro9+9aAX0nqFi4+XdZSeNxXOgI0gxDpC8vp71e8z9zyxAqkaNEWfyOHMI8q109xMuS71ld/xJ429FoQ3/YDOBRizvqLdiEl3RwtVU/EixtXUeV5u/M/ZEwhaVnlsiMVLadID/pvpP31qRbwCuuUK09qyQutZE0MkRyqAi2lQ09eafXw5vzCKTmkwtAm4QA\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"cdd94d045e7249e0b68c2b7e4bc9c112\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de/pending?api-version=7.4&request_id=cdd94d045e7249e0b68c2b7e4bc9c112", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey28482fa02/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "149e3651-fdeb-406f-99f1-e6572776a4e2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK37rO6CXEGkRnfiAkWWaG2oDg3LTuNQxvlJ22p83pSFHmvmp5AuwqiyzOl885UtwEMnnCYkHKfVgw2aHsUqfXiEijERvHV9SvZYoT0irD7My9/tUfwWftcW31H1nLbuGF3IuOyUDWYmW9oXnqo2W7YPQF9o6jN6BzqgszBMEt07V2BbNm32C1ARPAp0yItLKt2zJe9D7Pfs4fAS8LJ0UR4TuGlpbqm\u002BYcXIeQ2aSPStmtN6bFANvyk40\u002B\u002BU0DzmVtbtsPx7BYs1mG4CgOqXNl4/dT8lsedfnZG1/vkjJ9l9\u002BIFmVMuvSr8zrPFnc4ws5eNOPvM/6K1YReHCpEkD/kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA0IIyQVOIUIZjfj80vnc3hebiUjUF57cnuCqoJZ7CnGo3wxTAza\u002BB/iC1m/PqYyuLtM1F8hg3EC/t93/3QW3siu/cx\u002BXcaepqhD4Iz7S07w6/PM6/13cQ5PUKfTAxPCL5fPnHillGx8e5aPCTBpaC5a1opsUzJjeLkhi62\u002BOmWqtf5nSyavwYT2Mar5V1toAxdYqNRbSOPFHARRTv4R3PAQtc7YvsDeCWimiBtvEwCELbV\u002Bprkm4L6IiaMeF4sjbJ\u002BhBUvmGOTqJU\u002BeaJrYwp0dJOsmyWTpvZndHg5EyFVg5xAR5nB58z4A/kpRb0nEn9Rcnr9lU7/T7drvSea0vEs", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "dcb747b2cd5e4cad82103892a98fd9d4" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey18827d6de/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey28482fa02/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "510b1584-df97-45c4-ada4-8a4aa0bdaf37" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK37rO6CXEGkRnfiAkWWaG2oDg3LTuNQxvlJ22p83pSFHmvmp5AuwqiyzOl885UtwEMnnCYkHKfVgw2aHsUqfXiEijERvHV9SvZYoT0irD7My9/tUfwWftcW31H1nLbuGF3IuOyUDWYmW9oXnqo2W7YPQF9o6jN6BzqgszBMEt07V2BbNm32C1ARPAp0yItLKt2zJe9D7Pfs4fAS8LJ0UR4TuGlpbqm\u002BYcXIeQ2aSPStmtN6bFANvyk40\u002B\u002BU0DzmVtbtsPx7BYs1mG4CgOqXNl4/dT8lsedfnZG1/vkjJ9l9\u002BIFmVMuvSr8zrPFnc4ws5eNOPvM/6K1YReHCpEkD/kCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA0IIyQVOIUIZjfj80vnc3hebiUjUF57cnuCqoJZ7CnGo3wxTAza\u002BB/iC1m/PqYyuLtM1F8hg3EC/t93/3QW3siu/cx\u002BXcaepqhD4Iz7S07w6/PM6/13cQ5PUKfTAxPCL5fPnHillGx8e5aPCTBpaC5a1opsUzJjeLkhi62\u002BOmWqtf5nSyavwYT2Mar5V1toAxdYqNRbSOPFHARRTv4R3PAQtc7YvsDeCWimiBtvEwCELbV\u002Bprkm4L6IiaMeF4sjbJ\u002BhBUvmGOTqJU\u002BeaJrYwp0dJOsmyWTpvZndHg5EyFVg5xAR5nB58z4A/kpRb0nEn9Rcnr9lU7/T7drvSea0vEs", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02", + "request_id": "dcb747b2cd5e4cad82103892a98fd9d4" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3b62d8c0-5bb5-4666-89a4-5f8c9e17741e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANacp0LvmA3+dODcPentgOKCC4FruO6shb2UqzDyhHXAmeHQOvg8261Cf2HZ81Ymq8H7YWI6KHyPLuGndR6MDBWYt/vjr94ca4GWmPP6+xLReS14f3QN403PSmNmYE6Q4ohcePNRg11Qpgl9wlnh32TgYcd+MhwUYrWQ8IMTjBOUKKDN5VtZQGTqx+iiEStM3LSLCU1XJoxyjeypnIopzhAkRA/BGvf+v8ArkWHimGv5LZiWENxuDpCtnRn5beyDFsvupBU7+maflW4+W0K3qaY+cLYNGtDWwKD3byHyLXO2a1zPudYUizRJYRr7ZencV/mmsDGv8OPklziRW47tkq0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAO+J7OUhV6HPhwg/f4z7C06GAECkvCXug3UAOLO1OINu1D0t3nUB7Smx/sQqlXkCL5LjIxjfIV/ktyTw3eWPXLiExKLayihItHe5uofmFX6G9fFlma2zidEUX4QEgrPCQtnxRbqiI8spuK4G87k+QmV7Ro9+9aAX0nqFi4+XdZSeNxXOgI0gxDpC8vp71e8z9zyxAqkaNEWfyOHMI8q109xMuS71ld/xJ429FoQ3/YDOBRizvqLdiEl3RwtVU/EixtXUeV5u/M/ZEwhaVnlsiMVLadID/pvpP31qRbwCuuUK09qyQutZE0MkRyqAi2lQ09eafXw5vzCKTmkwtAm4QA\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de\",\"request_id\":\"cdd94d045e7249e0b68c2b7e4bc9c112\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5109", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ca57c9b1-c6da-4bfd-8601-3be932543c8a" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147", + "x5t": "8LAmk_UWI5Q2whl4hKn8ph3xD-I", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02", + "x5t": "qgHNG0AAUyUa_1FcyN9K3c6a4Do", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7", + "x5t": "qXX0p1tt0REJbDBCVO-k7W9Mt08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey371743fe3", + "x5t": "wsawakXGb7qn9dgvemY8bHWyO6Y", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b", + "x5t": "EITCNfvPGXImmhsVyZmtbBp_y0M", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/myalias", + "x5t": "8z5vNk677FGkqcRg6lQyODOdiwc", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "x5t": "1GGxAlnsHSR29xqi89t33Qvzo2c", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08", + "x5t": "DyUbMQUcONQLXu0Feixr6gY1uHU", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc", + "x5t": "gDWghXWmU_2967VBmY1griWD0ls", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a", + "x5t": "RTg3ayHS2pAQ0IichADtQezB82Y", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30", + "x5t": "eAEcQrp0Pza52PxnfwO22mP7mcc", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25", + "x5t": "YqN1h7oMHc2vQ_a6vxM6bdU36Wk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad", + "x5t": "wLp-LJn6S5fcikpsbLf-rPDP2KQ", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9", + "x5t": "iwUGnokFBgVVoLjicfdH5ofw1-w", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686", + "x5t": "t0kq2x1JRsvQlJQfUFs2-ClNxOA", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXTmxjblJwWm1sallYUmxMMVJGVTFSRFJWSlVPRFUzT0RBeU56RWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5053", - "x-ms-request-id" : "6858bd27-d3b9-4e58-881a-2093b07f63c1", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem70052b83\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem92624d14\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs27461b85\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs75353a38\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey020515346\",\"x5t\":\"ejfrKgF-VZlKskHpc-_BeR7Q5B0\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey140384932\",\"x5t\":\"avHXcDUhov15q9VG2gMEakhOktA\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014\",\"x5t\":\"HZGPq0QOCsfZ_WmhhdoSKgRAA0U\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de\",\"x5t\":\"hqK5fhCHpz4yKQu2n28HiUX7AiA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey30234f065\",\"x5t\":\"cePzk1vgK3jocy_iR46TYlLix-k\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey3491808e4\",\"x5t\":\"1DwOXqEst7Y14XXhJbcBhQKFEWQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328\",\"x5t\":\"gAHKoe84oAIdtsGsYd874AvSP_Y\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey492960bb6\",\"x5t\":\"XhkDcU5rDk2_71Yl-Qu-pIlA7Q8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey628397873\",\"x5t\":\"fXKiQY2k449MPBH7pUf_mdcxUnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey683522e3c\",\"x5t\":\"9sH7UN7gBH3mUdarXxB-J6LA_qU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7\",\"x5t\":\"MfsoELZfLDYBw8dZvnz2tTtXO6M\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey958720254\",\"x5t\":\"7P04miiKhhnbTByl4hy-DvsRf9I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWRFk1T0RNd01ETXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWRFk1T0RNd01ETXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3911", - "x-ms-request-id" : "28383b06-c2c3-459e-bc73-14abc16d0024", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/myalias\",\"x5t\":\"wDCSFKAxoTm9grFzPgkhopDDlJc\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert0041741853c\",\"x5t\":\"BlwxGmfjBCNjx-sfMetJrCALT4M\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05138d67\",\"x5t\":\"0SNobHiEQdsN0csu62e2FPqfn5U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert056438d4a20\",\"x5t\":\"ICx_qsQWj1GjeyPr1N3mIjcp-Ao\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1092295324b\",\"x5t\":\"E6WLFelB6Vg5-qD7WF5pAYbQz_0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert127097d0dc8\",\"x5t\":\"dXVk70-6RCX7rQYbnv5AkS7FoLg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert224271757ba\",\"x5t\":\"Qh22tMuNVhrt_NKbcCtzTESO33s\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert26201762259\",\"x5t\":\"itApNub45W58UvI_fuG7TKWZDwU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27558598b2c\",\"x5t\":\"mX2a3otTr9sZlQS_wH7nBn0ziYs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27808513219\",\"x5t\":\"MQ1fqHABOz6nDRxB-HNaha_jrzE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert30284660cd8\",\"x5t\":\"iotT1KbJ0_9ZQgXDtF6cU1Qn5EQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert324948604ee\",\"x5t\":\"OKdJx9sidjbhaHappYsbA-bPYjs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert35510d74ced\",\"x5t\":\"mXFRphZcmhsmrIjVgI9vg_Xd-1Q\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a\",\"x5t\":\"5oA2b34eiQF-H907cTs_PUxFKUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e\",\"x5t\":\"1i92wRpBy8kuwYJDTDlV5T7ReHw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTkRBeE5EZENNRGxETTBVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTkRBeE5EZENNRGxETTBVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5364", - "x-ms-request-id" : "a76f7285-57b0-47f2-be7a-cc009b189115", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert47882934afa\",\"x5t\":\"deyZLLtv-MveYf0_JYEAIACFLiE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert49907fe70ac\",\"x5t\":\"poYuYvv6BNUPJw5zWMaW4UeZSoc\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert510992ef0be\",\"x5t\":\"vvlEtHPeX_cUbDtpHNkiXQ06jrM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert56810496c6b\",\"x5t\":\"7-s5Fe6kI7bqvM7eWw-f22J2pwk\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6210194afab\",\"x5t\":\"sqkD1d6Ld3VQ6CguPTvcdWzX71U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6384478e5bf\",\"x5t\":\"ss10YAsLILfVVJTwuotinCYUJak\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00\",\"x5t\":\"h-CJtnU02x2a7hsGM_ANDPJCoUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert708698d2\",\"x5t\":\"hw5_szQZniSK25bwGWHAE4j1x_s\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert721471bd873\",\"x5t\":\"yAF6k-sNUpn1rUxjTgGZqCsJ4g8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5\",\"x5t\":\"tJRERVpJiQl09q59sp0Adgim-vQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72544647\",\"x5t\":\"kV9KJxfYzLX8kRCSGv_hZm0K69I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7280530dd15\",\"x5t\":\"908QyOX0FNSnHzA25t7ahRHRGNU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert742555f1\",\"x5t\":\"fFBc5osj_QfRgYzPcJ-wH2NWA4o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b\",\"x5t\":\"b8zbsTC2Qaw07Vgb0iutBXyzCqc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8\",\"x5t\":\"s7vRlbUkLTmcGdZ4rBNAQ8eDDwQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert838336ea\",\"x5t\":\"tZY_jc2w5VtcHbANhCK3f0GD7fg\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert879909fb\",\"x5t\":\"F44INSxE5tBSPpvkNdksu-JuA1o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert88427430\",\"x5t\":\"tzLxambFCsMKrVEEIweYgWAhwOo\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92201a19a66\",\"x5t\":\"rmmvC9DcPBeebHeCUxNn936VCRI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92673e6be72\",\"x5t\":\"vU_Y0bK22LsQq-sk3JTUUeEbQJE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert937620dadf7\",\"x5t\":\"11a7NiEVZc6m3qz-97VC3NuF_ow\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNM05qSXdSRUZFUmpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNM05qSXdSRUZFUmpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "751", - "x-ms-request-id" : "3a58579b-fd99-4c5b-8af2-ebb1acddab67", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert98347e92\",\"x5t\":\"c7ZaY3_e582OE8ex4WMce-LtLIM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion09939\",\"x5t\":\"faSSHl62NiDeLdiiFctYhoNEzZQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion88662\",\"x5t\":\"R3fkxrOa8nRuwCpSRVStvo8LzjM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertkey7755247a7", "listcertkey18827d6de" ] + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXTmxjblJwWm1sallYUmxMMVJGVTFSRFJWSlVPRFUzT0RBeU56RWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1996", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a427ac5e-2dd8-41d3-83cc-dd4a23da8f48" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert85780271", + "x5t": "nfgFBy9lEBZ5lJFye63m8TSBFzY", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116", + "x5t": "SD6AmL6YJSJcLneUgerDz7EDrmg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert930083972c7", + "x5t": "fQDn1P_LNd2gD6n_a6wFtKeL7iM", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert99539ad0580", + "x5t": "VwdxGWZPYsHjMnuFct9J2stqNk4", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "x5t": "KQaC9kMBP6hOVeQNWpBCkeYzsMg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listcertkey28482fa02", + "1": "listcertkey019934147" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.mergeCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.mergeCertificateNotFound[1].json index 69138b9c41d4c..153ed342334a3 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.mergeCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.mergeCertificateNotFound[1].json @@ -1,29 +1,82 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert36149d48/pending/merge?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert47774312/pending/merge?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "28f5457d-9e59-4966-970b-0e15be8bebf6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "107", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "62f54072-5c17-4e41-905e-cd354cb92610", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending Certificate not found: testcert36149d48\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert36149d48" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/testcert47774312/pending/merge?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "51", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "x5c": [ + "dGVzdA==" + ], + "attributes": { + "enabled": false + } + }, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "107", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fc5eb262-905d-43f4-a671-e41c4d9c6416" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending Certificate not found: testcert47774312" + } + } + } + ], + "Variables": { + "0": "testcert47774312" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificateNotFound[1].json index 35d11c5b550a6..0a63bb63c0d68 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9699f4a5-2555-42c0-9cd7-9940f569d4d1" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "be5d5414-b4a0-4381-8e63-7ec07f5d9806", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bee86c27-b900-4a02-8e91-8f88781bb56a" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificate[1].json index 4ac62c6ab3308..5d308e349c9fd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.recoverDeletedCertificate[1].json @@ -1,230 +1,831 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "75b86c4f-b6a7-4544-942b-f75daa0706d4" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "829e3951-33d6-48fb-af27-bbaa2e4ae4e9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEB3BzAk5Tb+5mmfN4gxJ1gWqd1eStPpPJUkw3hlFAwXzOzs9FOifyG/GGfwCEbmuJOMgmrmJfa3YQLoVMWOCKSiBn+V4Aeiu5TLOi0EO8vnpX2R7hrM+jak6U9qcemVXEoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxALa13JVm6Id6AR2ME94FLvdlD2jvcbMDECNy20p7vwEm3e8jQ47nRjiAzBipmntSKAIwM3/Btl+cjfQb6R795tYjX1Yi7F5ASwGMf96dWZ3Rqq/evi+Gj60mymNseaQm2NCM\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"67a9d658e9b845f696ce0ccdbb6b3759\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending?api-version=7.4&request_id=67a9d658e9b845f696ce0ccdbb6b3759", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending?api-version=7.4\u0026request_id=742bcb5bcc094a848988491c7b762604", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dcaaa7a5-305d-4f79-97d0-bb97815b2da8" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgQkFNcJ\u002B86aATyUxE2CrmN03SHt/c0LD3sdLzHcTP7fJdzaDDvjYEHBUXThwgGdDblcOE9EDCwe00cWIntiaszwaNWpqZS7ex\u002BiO2rCKNg5FSZC/57LtZEj2Bq7K9RD7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwV8rn/p\u002Bo05DNiDe/sp2Rrcn5bZRLtlchPs9avrVoc8pJy5DfkJApz\u002BVdnwmMemT5AjA4lE9vJb9ltbSd/mJB3b2UwU41qNGCcp4nM3E5Mc\u002BZ25/vQa38F4o7V3oS408B\u002BR0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "742bcb5bcc094a848988491c7b762604" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ea157bd-dc68-4add-854b-fc29f2e7bd38" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgQkFNcJ\u002B86aATyUxE2CrmN03SHt/c0LD3sdLzHcTP7fJdzaDDvjYEHBUXThwgGdDblcOE9EDCwe00cWIntiaszwaNWpqZS7ex\u002BiO2rCKNg5FSZC/57LtZEj2Bq7K9RD7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwV8rn/p\u002Bo05DNiDe/sp2Rrcn5bZRLtlchPs9avrVoc8pJy5DfkJApz\u002BVdnwmMemT5AjA4lE9vJb9ltbSd/mJB3b2UwU41qNGCcp4nM3E5Mc\u002BZ25/vQa38F4o7V3oS408B\u002BR0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "742bcb5bcc094a848988491c7b762604" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7cceb667-19e6-4fc1-8589-79c291e26b95", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEB3BzAk5Tb+5mmfN4gxJ1gWqd1eStPpPJUkw3hlFAwXzOzs9FOifyG/GGfwCEbmuJOMgmrmJfa3YQLoVMWOCKSiBn+V4Aeiu5TLOi0EO8vnpX2R7hrM+jak6U9qcemVXEoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxALa13JVm6Id6AR2ME94FLvdlD2jvcbMDECNy20p7vwEm3e8jQ47nRjiAzBipmntSKAIwM3/Btl+cjfQb6R795tYjX1Yi7F5ASwGMf96dWZ3Rqq/evi+Gj60mymNseaQm2NCM\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"67a9d658e9b845f696ce0ccdbb6b3759\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "315e0a44-58aa-4524-b4fc-95037890dc81" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgQkFNcJ\u002B86aATyUxE2CrmN03SHt/c0LD3sdLzHcTP7fJdzaDDvjYEHBUXThwgGdDblcOE9EDCwe00cWIntiaszwaNWpqZS7ex\u002BiO2rCKNg5FSZC/57LtZEj2Bq7K9RD7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwV8rn/p\u002Bo05DNiDe/sp2Rrcn5bZRLtlchPs9avrVoc8pJy5DfkJApz\u002BVdnwmMemT5AjA4lE9vJb9ltbSd/mJB3b2UwU41qNGCcp4nM3E5Mc\u002BZ25/vQa38F4o7V3oS408B\u002BR0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "742bcb5bcc094a848988491c7b762604" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b25ca8f8-f6ce-4391-95f0-e947918a0390" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgQkFNcJ\u002B86aATyUxE2CrmN03SHt/c0LD3sdLzHcTP7fJdzaDDvjYEHBUXThwgGdDblcOE9EDCwe00cWIntiaszwaNWpqZS7ex\u002BiO2rCKNg5FSZC/57LtZEj2Bq7K9RD7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwV8rn/p\u002Bo05DNiDe/sp2Rrcn5bZRLtlchPs9avrVoc8pJy5DfkJApz\u002BVdnwmMemT5AjA4lE9vJb9ltbSd/mJB3b2UwU41qNGCcp4nM3E5Mc\u002BZ25/vQa38F4o7V3oS408B\u002BR0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "742bcb5bcc094a848988491c7b762604" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1bdca8e-4a66-469d-b5d9-2f6852212901", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEB3BzAk5Tb+5mmfN4gxJ1gWqd1eStPpPJUkw3hlFAwXzOzs9FOifyG/GGfwCEbmuJOMgmrmJfa3YQLoVMWOCKSiBn+V4Aeiu5TLOi0EO8vnpX2R7hrM+jak6U9qcemVXEoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxALa13JVm6Id6AR2ME94FLvdlD2jvcbMDECNy20p7vwEm3e8jQ47nRjiAzBipmntSKAIwM3/Btl+cjfQb6R795tYjX1Yi7F5ASwGMf96dWZ3Rqq/evi+Gj60mymNseaQm2NCM\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb\",\"request_id\":\"67a9d658e9b845f696ce0ccdbb6b3759\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f85db1a1-6c98-41b6-9bd0-ac9ee686e3b7" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgQkFNcJ\u002B86aATyUxE2CrmN03SHt/c0LD3sdLzHcTP7fJdzaDDvjYEHBUXThwgGdDblcOE9EDCwe00cWIntiaszwaNWpqZS7ex\u002BiO2rCKNg5FSZC/57LtZEj2Bq7K9RD7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwV8rn/p\u002Bo05DNiDe/sp2Rrcn5bZRLtlchPs9avrVoc8pJy5DfkJApz\u002BVdnwmMemT5AjA4lE9vJb9ltbSd/mJB3b2UwU41qNGCcp4nM3E5Mc\u002BZ25/vQa38F4o7V3oS408B\u002BR0=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea", + "request_id": "742bcb5bcc094a848988491c7b762604" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1bdfdbf0-2f4c-43b4-aa23-24ae88b56521" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "cer": "MIIB2zCCAWGgAwIBAgIQUMhIlWaWQU24jRuU2w0\u002BozAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIEJBTXCfvOmgE8lMRNgq5jdN0h7f3NCw97HS8x3Ez\u002B3yXc2gw742BBwVF04cIBnQ25XDhPRAwsHtNHFiJ7YmrM8GjVqamUu3sfojtqwijYORUmQv\u002Bey7WRI9gauyvUQ\u002B6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGnfJoKc/YBnsYEUeqxTk\u002BvbHlpfMB0GA1UdDgQWBBRp3yaCnP2AZ7GBFHqsU5Pr2x5aXzAKBggqhkjOPQQDAwNoADBlAjEAutjlUv7hCNlwPIT0lIvLLq8b8cey\u002BU3z7xRsD58W6joO2l8t9ZiS6RThdYtTb3EGAjAjZxN\u002BPPSN5OAYnXMgS9BEZU/gVpxxdwy\u002B28XtWwajWXSz6v0YI1v1PaWb5626ohQ=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a543f572-621f-48f0-812b-2a0a20087cb2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQNsc55t9WTFyEHW82uNhAczAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxN1oXDTI1MDMxNjA4MDkxN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABAdwcwJOU2/uZpnzeIMSdYFqndXkrT6TyVJMN4ZRQMF8zs7PRTon8hvxhn8AhG5riTjIJq5iX2t2EC6FTFjgikogZ/leAHoruUyzotBDvL56V9ke4azPo2pOlPanHplVxKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ85s9PiYlCI1JpnkY2fkRiXHYPTMB0GA1UdDgQWBBSfObPT4mJQiNSaZ5GNn5EYlx2D0zAKBggqhkjOPQQDAwNoADBlAjEAokuAidLpttnbDigLu/SE8IRG0O2DbzQHoUaVZeTvmVEImBUCFqww74K/w3PUxctHAjBgsejQWogYiZpzB1uXjrISHgCPxwpwHLRK1vrwJ93aTSOZcJSwMRKlKDc0HoR5Awc=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fc42375c-9227-4e3e-aca6-926650be0b88" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert231873819ea", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "cer": "MIIB2zCCAWGgAwIBAgIQUMhIlWaWQU24jRuU2w0\u002BozAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIEJBTXCfvOmgE8lMRNgq5jdN0h7f3NCw97HS8x3Ez\u002B3yXc2gw742BBwVF04cIBnQ25XDhPRAwsHtNHFiJ7YmrM8GjVqamUu3sfojtqwijYORUmQv\u002Bey7WRI9gauyvUQ\u002B6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGnfJoKc/YBnsYEUeqxTk\u002BvbHlpfMB0GA1UdDgQWBBRp3yaCnP2AZ7GBFHqsU5Pr2x5aXzAKBggqhkjOPQQDAwNoADBlAjEAutjlUv7hCNlwPIT0lIvLLq8b8cey\u002BU3z7xRsD58W6joO2l8t9ZiS6RThdYtTb3EGAjAjZxN\u002BPPSN5OAYnXMgS9BEZU/gVpxxdwy\u002B28XtWwajWXSz6v0YI1v1PaWb5626ohQ=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert231873819ea?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "23203794-cace-4b6d-9dea-3d3219ac15ec" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert231873819ea", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "cer": "MIIB2zCCAWGgAwIBAgIQUMhIlWaWQU24jRuU2w0\u002BozAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIEJBTXCfvOmgE8lMRNgq5jdN0h7f3NCw97HS8x3Ez\u002B3yXc2gw742BBwVF04cIBnQ25XDhPRAwsHtNHFiJ7YmrM8GjVqamUu3sfojtqwijYORUmQv\u002Bey7WRI9gauyvUQ\u002B6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGnfJoKc/YBnsYEUeqxTk\u002BvbHlpfMB0GA1UdDgQWBBRp3yaCnP2AZ7GBFHqsU5Pr2x5aXzAKBggqhkjOPQQDAwNoADBlAjEAutjlUv7hCNlwPIT0lIvLLq8b8cey\u002BU3z7xRsD58W6joO2l8t9ZiS6RThdYtTb3EGAjAjZxN\u002BPPSN5OAYnXMgS9BEZU/gVpxxdwy\u002B28XtWwajWXSz6v0YI1v1PaWb5626ohQ=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6ba2bd82-b1d2-4b33-a473-0ea0c9f81a4c", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert7566770b7bb\",\"deletedDate\":1678954158,\"scheduledPurgeDate\":1679558958,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQNsc55t9WTFyEHW82uNhAczAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxN1oXDTI1MDMxNjA4MDkxN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABAdwcwJOU2/uZpnzeIMSdYFqndXkrT6TyVJMN4ZRQMF8zs7PRTon8hvxhn8AhG5riTjIJq5iX2t2EC6FTFjgikogZ/leAHoruUyzotBDvL56V9ke4azPo2pOlPanHplVxKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ85s9PiYlCI1JpnkY2fkRiXHYPTMB0GA1UdDgQWBBSfObPT4mJQiNSaZ5GNn5EYlx2D0zAKBggqhkjOPQQDAwNoADBlAjEAokuAidLpttnbDigLu/SE8IRG0O2DbzQHoUaVZeTvmVEImBUCFqww74K/w3PUxctHAjBgsejQWogYiZpzB1uXjrISHgCPxwpwHLRK1vrwJ93aTSOZcJSwMRKlKDc0HoR5Awc=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert231873819ea/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0143bc71-df9b-49d0-a658-1dc59949ab41" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "cer": "MIIB2zCCAWGgAwIBAgIQUMhIlWaWQU24jRuU2w0\u002BozAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIEJBTXCfvOmgE8lMRNgq5jdN0h7f3NCw97HS8x3Ez\u002B3yXc2gw742BBwVF04cIBnQ25XDhPRAwsHtNHFiJ7YmrM8GjVqamUu3sfojtqwijYORUmQv\u002Bey7WRI9gauyvUQ\u002B6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGnfJoKc/YBnsYEUeqxTk\u002BvbHlpfMB0GA1UdDgQWBBRp3yaCnP2AZ7GBFHqsU5Pr2x5aXzAKBggqhkjOPQQDAwNoADBlAjEAutjlUv7hCNlwPIT0lIvLLq8b8cey\u002BU3z7xRsD58W6joO2l8t9ZiS6RThdYtTb3EGAjAjZxN\u002BPPSN5OAYnXMgS9BEZU/gVpxxdwy\u002B28XtWwajWXSz6v0YI1v1PaWb5626ohQ=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert7566770b7bb?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "331", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3c474594-5b7b-4ca2-8f28-f4d4d3e6b160" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) testcert231873819ea was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "458653ad-f25a-438f-8b06-83b586258500", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert7566770b7bb\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "331", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ae4fca3-a10e-4d51-9d3d-f6c3751ae6b9" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) testcert231873819ea was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert7566770b7bb?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b988efb7-5461-410f-8086-aea9f92473a5", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert7566770b7bb\",\"deletedDate\":1678954158,\"scheduledPurgeDate\":1679558958,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQNsc55t9WTFyEHW82uNhAczAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxN1oXDTI1MDMxNjA4MDkxN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABAdwcwJOU2/uZpnzeIMSdYFqndXkrT6TyVJMN4ZRQMF8zs7PRTon8hvxhn8AhG5riTjIJq5iX2t2EC6FTFjgikogZ/leAHoruUyzotBDvL56V9ke4azPo2pOlPanHplVxKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ85s9PiYlCI1JpnkY2fkRiXHYPTMB0GA1UdDgQWBBSfObPT4mJQiNSaZ5GNn5EYlx2D0zAKBggqhkjOPQQDAwNoADBlAjEAokuAidLpttnbDigLu/SE8IRG0O2DbzQHoUaVZeTvmVEImBUCFqww74K/w3PUxctHAjBgsejQWogYiZpzB1uXjrISHgCPxwpwHLRK1vrwJ93aTSOZcJSwMRKlKDc0HoR5Awc=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert7566770b7bb/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6b044d1d-5899-42a8-9d04-8b70f9ed391d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQNsc55t9WTFyEHW82uNhAczAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxN1oXDTI1MDMxNjA4MDkxN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABAdwcwJOU2/uZpnzeIMSdYFqndXkrT6TyVJMN4ZRQMF8zs7PRTon8hvxhn8AhG5riTjIJq5iX2t2EC6FTFjgikogZ/leAHoruUyzotBDvL56V9ke4azPo2pOlPanHplVxKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ85s9PiYlCI1JpnkY2fkRiXHYPTMB0GA1UdDgQWBBSfObPT4mJQiNSaZ5GNn5EYlx2D0zAKBggqhkjOPQQDAwNoADBlAjEAokuAidLpttnbDigLu/SE8IRG0O2DbzQHoUaVZeTvmVEImBUCFqww74K/w3PUxctHAjBgsejQWogYiZpzB1uXjrISHgCPxwpwHLRK1vrwJ93aTSOZcJSwMRKlKDc0HoR5Awc=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert7566770b7bb/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0ae887fb-a65c-4f8f-b7c3-218d58e0b59c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert7566770b7bb/811cb6862b3f4a13a0b739bcb580a45f\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQNsc55t9WTFyEHW82uNhAczAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxN1oXDTI1MDMxNjA4MDkxN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABAdwcwJOU2/uZpnzeIMSdYFqndXkrT6TyVJMN4ZRQMF8zs7PRTon8hvxhn8AhG5riTjIJq5iX2t2EC6FTFjgikogZ/leAHoruUyzotBDvL56V9ke4azPo2pOlPanHplVxKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ85s9PiYlCI1JpnkY2fkRiXHYPTMB0GA1UdDgQWBBSfObPT4mJQiNSaZ5GNn5EYlx2D0zAKBggqhkjOPQQDAwNoADBlAjEAokuAidLpttnbDigLu/SE8IRG0O2DbzQHoUaVZeTvmVEImBUCFqww74K/w3PUxctHAjBgsejQWogYiZpzB1uXjrISHgCPxwpwHLRK1vrwJ93aTSOZcJSwMRKlKDc0HoR5Awc=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954155,\"updated\":1678954155}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert7566770b7bb" ] + { + "RequestUri": "https://REDACTED/certificates/testcert231873819ea/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "21289e4a-52c5-45f2-bfd7-1e9c0f581bcd" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert231873819ea/da20b1bddfca45878a469cb6f4e13cc6", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "cer": "MIIB2zCCAWGgAwIBAgIQUMhIlWaWQU24jRuU2w0\u002BozAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIEJBTXCfvOmgE8lMRNgq5jdN0h7f3NCw97HS8x3Ez\u002B3yXc2gw742BBwVF04cIBnQ25XDhPRAwsHtNHFiJ7YmrM8GjVqamUu3sfojtqwijYORUmQv\u002Bey7WRI9gauyvUQ\u002B6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGnfJoKc/YBnsYEUeqxTk\u002BvbHlpfMB0GA1UdDgQWBBRp3yaCnP2AZ7GBFHqsU5Pr2x5aXzAKBggqhkjOPQQDAwNoADBlAjEAutjlUv7hCNlwPIT0lIvLLq8b8cey\u002BU3z7xRsD58W6joO2l8t9ZiS6RThdYtTb3EGAjAjZxN\u002BPPSN5OAYnXMgS9BEZU/gVpxxdwy\u002B28XtWwajWXSz6v0YI1v1PaWb5626ohQ=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea/pending" + } + } + } + ], + "Variables": { + "0": "testcert231873819ea" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificateFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificateFromMalformedBackup[1].json index abd288d77af6a..b6b9cce33b40a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificateFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificateFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f72461d5-7431-401f-8211-238b30ae90e0" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "04ed163e-8f96-4e51-9232-efb45942094b", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c18fc7ce-7244-4ee6-aafc-db371a5841e0" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificate[1].json index fe84655d8684f..bd4fe571051f2 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.restoreCertificate[1].json @@ -1,252 +1,644 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fc0b5eb8-d522-495b-8c85-2236de2ae32d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b8c59676-4b78-495d-8ff3-1718f4e268cd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE67vbGTfqkizy1aXWArJRZl+m4DEPuyDwxIO1HM/R5Do3fMz/v6Mr3cM+RzrgNMvYiqChxuk3whd2SNUFOt+rPusAotdAnRBFXy6Ubapnqhm3RsQQfz/fsiAKgUosq5hxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAK7g3w0jgsGBlyj53hsT2d7EiHcvxuWlZrujXBGemfW4VJ1fX+k0Cpj1zILBu/MyeQIxAJa8xlCDvj3HjHVlZm+DCPguVzuOJ8lT4TDJ1T59O9QI8jZNasG/QdvIA5Xwa5IGdg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a38de3c9cca843f8b53a4a19776b61de\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending?api-version=7.4&request_id=a38de3c9cca843f8b53a4a19776b61de", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending?api-version=7.4\u0026request_id=64549409109a46319ae86e7612af525a", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8214ddb2-4fc8-4794-81cf-0fe905a28519" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOomrNqB/1Lhg\u002BolpeqNaQJtmNM5xO0860GAzOWZuDVEw8f0DDQKUL47CmxbQoEPJLSBnOqmoN1xELUKBlQniBuUKb/wswQht2zK4ubc/Kissch0fHhCmzyZE686wLJuaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAIYLfgmMUr3QN9ToHqROSHvcrJ6DWB6VeWEf8POCCJ9nAY6qT/DHGwPYtTgsyGQcfQIwC56PxbVE4opdBmienCYgbGq4RGsClaLNyEd3IsOyFAHw3u65e2dRxkIPOZ3Is\u002BYf", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "64549409109a46319ae86e7612af525a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8066822a-5940-4405-9550-580c7ef484e8" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOomrNqB/1Lhg\u002BolpeqNaQJtmNM5xO0860GAzOWZuDVEw8f0DDQKUL47CmxbQoEPJLSBnOqmoN1xELUKBlQniBuUKb/wswQht2zK4ubc/Kissch0fHhCmzyZE686wLJuaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAIYLfgmMUr3QN9ToHqROSHvcrJ6DWB6VeWEf8POCCJ9nAY6qT/DHGwPYtTgsyGQcfQIwC56PxbVE4opdBmienCYgbGq4RGsClaLNyEd3IsOyFAHw3u65e2dRxkIPOZ3Is\u002BYf", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "64549409109a46319ae86e7612af525a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "59ad7bd9-0a76-469b-86de-71684bacf681", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE67vbGTfqkizy1aXWArJRZl+m4DEPuyDwxIO1HM/R5Do3fMz/v6Mr3cM+RzrgNMvYiqChxuk3whd2SNUFOt+rPusAotdAnRBFXy6Ubapnqhm3RsQQfz/fsiAKgUosq5hxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAK7g3w0jgsGBlyj53hsT2d7EiHcvxuWlZrujXBGemfW4VJ1fX+k0Cpj1zILBu/MyeQIxAJa8xlCDvj3HjHVlZm+DCPguVzuOJ8lT4TDJ1T59O9QI8jZNasG/QdvIA5Xwa5IGdg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a38de3c9cca843f8b53a4a19776b61de\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "026f38dd-3f52-4d50-9d00-d6d7e7efb10e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOomrNqB/1Lhg\u002BolpeqNaQJtmNM5xO0860GAzOWZuDVEw8f0DDQKUL47CmxbQoEPJLSBnOqmoN1xELUKBlQniBuUKb/wswQht2zK4ubc/Kissch0fHhCmzyZE686wLJuaoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAIYLfgmMUr3QN9ToHqROSHvcrJ6DWB6VeWEf8POCCJ9nAY6qT/DHGwPYtTgsyGQcfQIwC56PxbVE4opdBmienCYgbGq4RGsClaLNyEd3IsOyFAHw3u65e2dRxkIPOZ3Is\u002BYf", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5", + "request_id": "64549409109a46319ae86e7612af525a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b3e18787-0432-4819-9340-219558c41592" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "cer": "MIIB3DCCAWGgAwIBAgIQOp2xvEH7SsiHuM6bTeuJfTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABDqJqzagf9S4YPqJaXqjWkCbZjTOcTtPOtBgMzlmbg1RMPH9Aw0ClC\u002BOwpsW0KBDyS0gZzqpqDdcRC1CgZUJ4gblCm/8LMEIbdsyuLm3PyorLHIdHx4Qps8mROvOsCybmqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEfl3BGZQgOcG1m6yz58bQCNmNp6MB0GA1UdDgQWBBRH5dwRmUIDnBtZuss\u002BfG0AjZjaejAKBggqhkjOPQQDAwNpADBmAjEAjV/BFV/EDtjrNIFwi\u002Bhku3UkPwOO\u002BrOygyMWbCOOBVrr2dSjU4reMkp6c83iZoy7AjEAk24iUfo8O\u002BL/zxiLwI7J0PrLykm7sgkWKtqUyJHbqZaZ0eaqzyKTcUV\u002BJs6CpcMG", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "018743f7-98ac-4839-b0f3-d7ec6e65ac37", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE67vbGTfqkizy1aXWArJRZl+m4DEPuyDwxIO1HM/R5Do3fMz/v6Mr3cM+RzrgNMvYiqChxuk3whd2SNUFOt+rPusAotdAnRBFXy6Ubapnqhm3RsQQfz/fsiAKgUosq5hxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAK7g3w0jgsGBlyj53hsT2d7EiHcvxuWlZrujXBGemfW4VJ1fX+k0Cpj1zILBu/MyeQIxAJa8xlCDvj3HjHVlZm+DCPguVzuOJ8lT4TDJ1T59O9QI8jZNasG/QdvIA5Xwa5IGdg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176\",\"request_id\":\"a38de3c9cca843f8b53a4a19776b61de\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "27111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dace9ed2-bcaa-4b0d-bc11-e416c8f3e408" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuQnRqWVVNTjBrWHpJQ2VNSE5pdER2SGNFUFZ6TTE2NFJXX21Qa01pa3RPY1FaYmVmakZIbHRQYjVLMWw2Mk5pVWk2S0xtcVl1SV9ENHJkOXBSd3c3S0d6OE4xOXhjTmZ4TmR0ZjdIQnQ0ZUU3eVFBb3hRTV9mQ3VLT0M0WHdrTnB0V1VJeDlxNjdEVFkzenpJRzlpLWVsYXg3OXQtQ0ZHcTdkNzlDZ0ZLZEFjWmtXYjg4WlU2UkJaU09mTEpvLXI3QmJxZ0JUVkpOREFaZy1mUGlTek9pWVlodm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MU9SSmlWZHBWVWlsY2ZCQkExc1FQU3FJTU9UcFBrUGlwaG1sZndEaURPQkNaSk1hQVBZbm5vVG5yTktoUTBPOU5sYlNhRm5YcWl4Zzk5TW5uQzhDVDgzUjU1YmJVSEV6NTlqSGtvLnZHYmRZdk5waVdCeGFiTTBCREdlS3NXdkNNMk11V0VJcmFnbU1lam5XSmc" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert074720dd4e5?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1e9b97d9-ab64-4960-a981-6022000de698" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert074720dd4e5", + "deletedDate": 1681267921, + "scheduledPurgeDate": 1681872721, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "cer": "MIIB3DCCAWGgAwIBAgIQOp2xvEH7SsiHuM6bTeuJfTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABDqJqzagf9S4YPqJaXqjWkCbZjTOcTtPOtBgMzlmbg1RMPH9Aw0ClC\u002BOwpsW0KBDyS0gZzqpqDdcRC1CgZUJ4gblCm/8LMEIbdsyuLm3PyorLHIdHx4Qps8mROvOsCybmqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEfl3BGZQgOcG1m6yz58bQCNmNp6MB0GA1UdDgQWBBRH5dwRmUIDnBtZuss\u002BfG0AjZjaejAKBggqhkjOPQQDAwNpADBmAjEAjV/BFV/EDtjrNIFwi\u002Bhku3UkPwOO\u002BrOygyMWbCOOBVrr2dSjU4reMkp6c83iZoy7AjEAk24iUfo8O\u002BL/zxiLwI7J0PrLykm7sgkWKtqUyJHbqZaZ0eaqzyKTcUV\u002BJs6CpcMG", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "241dc1c2-a32c-4eeb-a86d-409d4e230608", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQH1xO/M7vSYmw0YvOHDaSDzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNVoXDTI1MDMxNjA4MDkxNVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABOu72xk36pIs8tWl1gKyUWZfpuAxD7sg8MSDtRzP0eQ6N3zM/7+jK93DPkc64DTL2IqgocbpN8IXdkjVBTrfqz7rAKLXQJ0QRV8ulG2qZ6oZt0bEEH8/37IgCoFKLKuYcaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOOxFfPMb9dP86xWmZgv76MZPNV1MB0GA1UdDgQWBBTjsRXzzG/XT/OsVpmYL++jGTzVdTAKBggqhkjOPQQDAwNpADBmAjEAgQsL72dKj4o3pdM4zh6s2UuA38DU/n/B2wBZToekGaiKDIHFjHiDssgWVunIx9ybAjEA2e/HRi8PuTr8Yfmu5hBsBbhJ7Yv7GFPqTDme0WjnfnJz9f5FLEAssbIKk+7i7MKR\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert074720dd4e5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4338b950-9e9d-4764-bbe0-6a0e68dc433e" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert074720dd4e5", + "deletedDate": 1681267921, + "scheduledPurgeDate": 1681872721, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "cer": "MIIB3DCCAWGgAwIBAgIQOp2xvEH7SsiHuM6bTeuJfTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABDqJqzagf9S4YPqJaXqjWkCbZjTOcTtPOtBgMzlmbg1RMPH9Aw0ClC\u002BOwpsW0KBDyS0gZzqpqDdcRC1CgZUJ4gblCm/8LMEIbdsyuLm3PyorLHIdHx4Qps8mROvOsCybmqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEfl3BGZQgOcG1m6yz58bQCNmNp6MB0GA1UdDgQWBBRH5dwRmUIDnBtZuss\u002BfG0AjZjaejAKBggqhkjOPQQDAwNpADBmAjEAjV/BFV/EDtjrNIFwi\u002Bhku3UkPwOO\u002BrOygyMWbCOOBVrr2dSjU4reMkp6c83iZoy7AjEAk24iUfo8O\u002BL/zxiLwI7J0PrLykm7sgkWKtqUyJHbqZaZ0eaqzyKTcUV\u002BJs6CpcMG", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/pending" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert074720dd4e5?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "93bdcfae-759a-4a86-bd01-2b01bb9b4b90" + }, + "ResponseBody": null }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "26742", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cd0fab9c-3bf7-428a-96cd-20143d9db2bd", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmha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LUWhrcklsU2Z1aGFoeVozS0Zoc2VHa3JreDdsaWRZNGhHQmxhbUJldXlCOG1FUFFDTjNSMVdzLUlITW1WZkRXWk1yejJlbVVrUUVSMzVxbndHM2JwenhyMnVxZUFaMnVSZ1pienZaUWhNRDBfenFNcjhjYk1FbEVCTXRHSEI1OFNnZFNSS2cuTWVjUlZDMm5uTi1UaFAwNU5NTG1BSkQ2bVA1M3E2VUdhcWdNRUdQZE1Iaw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert11947d21176?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e6ca1861-f431-47d0-aed1-f6fb6ff0fc1f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert11947d21176\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQH1xO/M7vSYmw0YvOHDaSDzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNVoXDTI1MDMxNjA4MDkxNVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABOu72xk36pIs8tWl1gKyUWZfpuAxD7sg8MSDtRzP0eQ6N3zM/7+jK93DPkc64DTL2IqgocbpN8IXdkjVBTrfqz7rAKLXQJ0QRV8ulG2qZ6oZt0bEEH8/37IgCoFKLKuYcaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOOxFfPMb9dP86xWmZgv76MZPNV1MB0GA1UdDgQWBBTjsRXzzG/XT/OsVpmYL++jGTzVdTAKBggqhkjOPQQDAwNpADBmAjEAgQsL72dKj4o3pdM4zh6s2UuA38DU/n/B2wBZToekGaiKDIHFjHiDssgWVunIx9ybAjEA2e/HRi8PuTr8Yfmu5hBsBbhJ7Yv7GFPqTDme0WjnfnJz9f5FLEAssbIKk+7i7MKR\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert11947d21176?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "10a65e1c-b4cf-4b48-81ec-1f9905c2f5d0", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert11947d21176\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert11947d21176?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "540ba25b-f857-47fd-9512-e2fe7b94b121", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert11947d21176\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQH1xO/M7vSYmw0YvOHDaSDzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNVoXDTI1MDMxNjA4MDkxNVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABOu72xk36pIs8tWl1gKyUWZfpuAxD7sg8MSDtRzP0eQ6N3zM/7+jK93DPkc64DTL2IqgocbpN8IXdkjVBTrfqz7rAKLXQJ0QRV8ulG2qZ6oZt0bEEH8/37IgCoFKLKuYcaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOOxFfPMb9dP86xWmZgv76MZPNV1MB0GA1UdDgQWBBTjsRXzzG/XT/OsVpmYL++jGTzVdTAKBggqhkjOPQQDAwNpADBmAjEAgQsL72dKj4o3pdM4zh6s2UuA38DU/n/B2wBZToekGaiKDIHFjHiDssgWVunIx9ybAjEA2e/HRi8PuTr8Yfmu5hBsBbhJ7Yv7GFPqTDme0WjnfnJz9f5FLEAssbIKk+7i7MKR\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert11947d21176?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b9f488fa-ce97-4266-b99c-a02104231812", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1842", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4a666c42-f64b-4580-86fe-cc91b1650992", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert11947d21176/3fed76ef82174073ba1f72fed6f104be\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQH1xO/M7vSYmw0YvOHDaSDzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNVoXDTI1MDMxNjA4MDkxNVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABOu72xk36pIs8tWl1gKyUWZfpuAxD7sg8MSDtRzP0eQ6N3zM/7+jK93DPkc64DTL2IqgocbpN8IXdkjVBTrfqz7rAKLXQJ0QRV8ulG2qZ6oZt0bEEH8/37IgCoFKLKuYcaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOOxFfPMb9dP86xWmZgv76MZPNV1MB0GA1UdDgQWBBTjsRXzzG/XT/OsVpmYL++jGTzVdTAKBggqhkjOPQQDAwNpADBmAjEAgQsL72dKj4o3pdM4zh6s2UuA38DU/n/B2wBZToekGaiKDIHFjHiDssgWVunIx9ybAjEA2e/HRi8PuTr8Yfmu5hBsBbhJ7Yv7GFPqTDme0WjnfnJz9f5FLEAssbIKk+7i7MKR\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert11947d21176" ] + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "27111", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0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QmR2M0kyMm9XQlVhQ2JVdlZfVmRPODQ1akZ4Wjg5VF92bHZYbnB5Z0xSeWN1RVU1cmFJZkl2ZDdUN0hNaXFabFllQUdka2tQMW96c2MwZ0VjQkNxZEowbmJRZHJnZFJ5ek9QMUZsQ1FiSy01blhJTlJKQjJucGdKS19HaXdFWmdrbVBla3A5UjFDS3B4NWV2ek5haHVqVzAzV3RxUlktQzB6TDhxXzM4eTUwZ0llN3BMUERNY1gwajZMZjNFd1VPQ2ZuaWFUQ3hLUlRpT2xhUE03bzFheW5sNzZHZVJjVERjUTNNaUROSVhpZkR2aTQ3clpxWFFqR1RULVBIYTBHcnlBVmo1MXZQRGZFaHhfWEtzRDMwejhWd0tIMVNPdjI2NFVCcDE4eGxKQVk0NzdGOFN5d1J1MVZST1A4S1NRMExJbGtuUTlCZWpfNEpOSElxOEZTR0p1UWt0VXU2TEJSb1U2ZzhBbXdIOFBKWFFtdXo5ZFo0TUpsdE1mTVpSR05DY1dzSlBRMy1aRTNLdVdEMU9SSmlWZHBWVWlsY2ZCQkExc1FQU3FJTU9UcFBrUGlwaG1sZndEaURPQkNaSk1hQVBZbm5vVG5yTktoUTBPOU5sYlNhRm5YcWl4Zzk5TW5uQzhDVDgzUjU1YmJVSEV6NTlqSGtvLnZHYmRZdk5waVdCeGFiTTBCREdlS3NXdkNNMk11V0VJcmFnbU1lam5XSmc" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f37298c5-a9da-4150-8d53-de7149a5cd5c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert074720dd4e5/105ce7e3f1e8486c91777bf0c383c153", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "cer": "MIIB3DCCAWGgAwIBAgIQOp2xvEH7SsiHuM6bTeuJfTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABDqJqzagf9S4YPqJaXqjWkCbZjTOcTtPOtBgMzlmbg1RMPH9Aw0ClC\u002BOwpsW0KBDyS0gZzqpqDdcRC1CgZUJ4gblCm/8LMEIbdsyuLm3PyorLHIdHx4Qps8mROvOsCybmqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEfl3BGZQgOcG1m6yz58bQCNmNp6MB0GA1UdDgQWBBRH5dwRmUIDnBtZuss\u002BfG0AjZjaejAKBggqhkjOPQQDAwNpADBmAjEAjV/BFV/EDtjrNIFwi\u002Bhku3UkPwOO\u002BrOygyMWbCOOBVrr2dSjU4reMkp6c83iZoy7AjEAk24iUfo8O\u002BL/zxiLwI7J0PrLykm7sgkWKtqUyJHbqZaZ0eaqzyKTcUV\u002BJs6CpcMG", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } + } + } + ], + "Variables": { + "0": "testcert074720dd4e5" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.setContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.setContacts[1].json index f267f78f05fcf..bd3c6b07d6b7c 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.setContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.setContacts[1].json @@ -1,54 +1,123 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cd843187-bc4e-4b81-830b-07ade206b649" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "b2756870-3d60-420e-9b7c-7131d1917e3b", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1e727995-6b02-4066-b4c8-eaec6a2f44c4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "8b31e933-df32-443a-a59c-f97acbbc9e91", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ad1325e-cce2-4c1b-9d6c-92bc1b9e0980" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificatePolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificatePolicy[1].json index 696d5eb46a235..ec834d3f5e228 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificatePolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificatePolicy[1].json @@ -1,105 +1,374 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert40147b09c3e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert81371983686/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0237b87f-015d-4c8d-801f-f1059fca2628" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "885299be-fb57-4f75-aaf6-776c6067cd3f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETRkHdyf9aKbiPuNx83KUt5umFVWJXigJI0kfqlI3cyE3HaOngRSv3G77h9S3Yk0oXipf7qtEx//USSdtrngwU1R+TJkDtiJGr2GiV7/ICFRey6+Jb1f8K6Ehrzm/ATQUoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAMA47Ilw+CcZVDcg8KL3tVqc+WHGafNFAm3fQ0QDcg30LfGy6yov2acFCYHaUV7YXQIxAPKIrlJ+mvTxO8VKu3bvGMvC+lbocdGXxYw2urIFQcDEdCEn+Nmonr4bZCRz6j37ug==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"b9cf79e42c024fa5afc711ea125d12b4\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/pending?api-version=7.4&request_id=b9cf79e42c024fa5afc711ea125d12b4", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert81371983686/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/pending?api-version=7.4\u0026request_id=eb35eec4629f4b6f87cf39ac765a7dce", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a720e93b-87b7-4f02-b02e-f0e22b99b7e5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEytb1MizB2NkXIkejL1/i1Llh/h8chxH8aNGr/Vn3CMKsJZb21q9R9ApEjWAdLBWYuXb19gIbVl/qdh\u002BmdENX7zm7rAPCSeIqpAUHGy8l39UwdxPUrMO5ddqZrdWyz1XPoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwFMQNeRVou\u002Bmq3rRh7aKd2gjT4n6vC3f4YHrDiBkLqYoGRXE51MyfdwmyVovd4a28AjEAzoP9a2KN8ELsWH1cTCTLYpYu6e8QoZAHYV3LlCRlML1b3mnKyeeoOJldg1ZQvEU7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "eb35eec4629f4b6f87cf39ac765a7dce" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert40147b09c3e/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert81371983686/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3b87de87-3f63-4821-9173-d2c3dfbf0de2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEytb1MizB2NkXIkejL1/i1Llh/h8chxH8aNGr/Vn3CMKsJZb21q9R9ApEjWAdLBWYuXb19gIbVl/qdh\u002BmdENX7zm7rAPCSeIqpAUHGy8l39UwdxPUrMO5ddqZrdWyz1XPoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwFMQNeRVou\u002Bmq3rRh7aKd2gjT4n6vC3f4YHrDiBkLqYoGRXE51MyfdwmyVovd4a28AjEAzoP9a2KN8ELsWH1cTCTLYpYu6e8QoZAHYV3LlCRlML1b3mnKyeeoOJldg1ZQvEU7", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686", + "request_id": "eb35eec4629f4b6f87cf39ac765a7dce" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "758d22f3-97ef-40c2-8149-daeb5632a817", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETRkHdyf9aKbiPuNx83KUt5umFVWJXigJI0kfqlI3cyE3HaOngRSv3G77h9S3Yk0oXipf7qtEx//USSdtrngwU1R+TJkDtiJGr2GiV7/ICFRey6+Jb1f8K6Ehrzm/ATQUoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAMA47Ilw+CcZVDcg8KL3tVqc+WHGafNFAm3fQ0QDcg30LfGy6yov2acFCYHaUV7YXQIxAPKIrlJ+mvTxO8VKu3bvGMvC+lbocdGXxYw2urIFQcDEdCEn+Nmonr4bZCRz6j37ug==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e\",\"request_id\":\"b9cf79e42c024fa5afc711ea125d12b4\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert81371983686/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "539df07d-57ae-4253-80bd-44215a4379d3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/2583d40f066e4d9f8b19e514f4256644", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert81371983686/2583d40f066e4d9f8b19e514f4256644", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert81371983686/2583d40f066e4d9f8b19e514f4256644", + "x5t": "t0kq2x1JRsvQlJQfUFs2-ClNxOA", + "cer": "MIIB2jCCAWGgAwIBAgIQH8HSojnzQgqJveuv3wswejAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDE1OFoXDTI1MDQxMjAyNTE1OFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABMrW9TIswdjZFyJHoy9f4tS5Yf4fHIcR/GjRq/1Z9wjCrCWW9tavUfQKRI1gHSwVmLl29fYCG1Zf6nYfpnRDV\u002B85u6wDwkniKqQFBxsvJd/VMHcT1KzDuXXama3Vss9Vz6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFA\u002BEQYZDQBKQPY9ffRW9/BjxKEaxMB0GA1UdDgQWBBQPhEGGQ0ASkD2PX30VvfwY8ShGsTAKBggqhkjOPQQDAwNnADBkAjA4qmuaPq1absq5XF0ANuFM5pXIZ1RKIqtC04NZqQOJGJbQ6bjo8sePzeDqoWyIIN4CMG8N2mglUCM0RsZfKs\u002BNHGcYhuTOAS0tA5NM5u7DhCeFtE4X3jYlTYzm/tW2ukF\u002Blg==", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert40147b09c3e/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa32f222-27dc-4582-8960-55e48e04b60a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/74a741bf55f5414291574e2269098d1c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert40147b09c3e/74a741bf55f5414291574e2269098d1c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert40147b09c3e/74a741bf55f5414291574e2269098d1c\",\"x5t\":\"1i92wRpBy8kuwYJDTDlV5T7ReHw\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQHC414WqiQSWZfiGIdoumRzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxM1oXDTI1MDMxNjA4MDkxM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABE0ZB3cn/Wim4j7jcfNylLebphVViV4oCSNJH6pSN3MhNx2jp4EUr9xu+4fUt2JNKF4qX+6rRMf/1Eknba54MFNUfkyZA7YiRq9hole/yAhUXsuviW9X/CuhIa85vwE0FKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFKgsJ4WhrZoE4BIdQXV5shV7QJP1MB0GA1UdDgQWBBSoLCeFoa2aBOASHUF1ebIVe0CT9TAKBggqhkjOPQQDAwNnADBkAjB+iksji6XWlSRmqXI6Mj4KbBqolFOO3HhKVBHsnmofI+zO2u0ZE6BCd3ZPGk31HvsCMDeu0RMVRJEUev3Xuje0gqftK6V2UK07JeseGY9wm5bXFd3Meogs6Q+Gs6MhWFJBlA==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert40147b09c3e/policy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "647", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c463151c-b79d-4f8e-a0ae-b3791e900270", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e/policy\",\"key_props\":{\"exportable\":false,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954154}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert40147b09c3e" ] + { + "RequestUri": "https://REDACTED/certificates/testcert81371983686/policy?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "483", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key_props": { + "exportable": false, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "sans": {}, + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "645", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6ca17a69-3637-4744-bd1a-2f26d115c1bd" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686/policy", + "key_props": { + "exportable": false, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267918 + } + } + } + ], + "Variables": { + "0": "testcert81371983686" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificate[1].json index 098bd971ea427..a5ce5afeeba3b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateCertificate[1].json @@ -1,105 +1,372 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert9971873a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1b801889-3732-4423-afd4-7a013da1165d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "05446b34-a302-49ce-a5f0-f467b9b1cf2e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALWq4d9KXiiM9Wz9rqYntCbLYj1a9yGoRuSq4DwWAUHgWMAoQVXvlZQCTz2FzfnFbqQUrpluBA9Yqg2AoO89phtbZD1SB6OyFIst2zxkKnphfGpNkAF9ZhpZqBUzTdXB3uAo5cjxIsiumxz3Sj70QZ1vMo+bnU00yAWrCT4xBonBQr58axWYHckbvr2zREF8kFKSQ2tlmHivu/bYm37va7cdJHkxWDSWwrSqLhHPi6gBwg+J/ISbCrjZfH7LDJt9vmzwJHX9aoETK/s1bnQtT3bX3+D69qqgYurbq+IsOyFYROFMOtMLXbiZ1E0+drdCf4l8qb4J5seBDCoVvgIDx7ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBUczrGz1E3JTG88SGm6tA4yciFw/MRS6VnuOoW13GEtDcPpcjtVh9m7UKD8J1jHt4sN9bVBVOGSM9x7ASBepoImhBq3NMyVZGJ7MDZ0BPrta7ndnvS3g6w5wlysWsY174tV8uH+r0xdNXDerTI3GbrJwlWQpMYmiIwKJBl32cJLPyy6pWTdU+7+UcLUc+RVxZ7IAZiHU4mj93GiKUq5z4LZdWGgTkEqUAziN5oeHQqPvAaQea+XsiYDdLeHMd64lUTcME7eycxMii1swNeacS0DC0VSJlLbAifKZy3IVFvYyrxw35LRkSzgi1GMXg6L7D30d81jIZbaoK37cBmfMj\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5b2f191a1eb14f6985fb548a65190927\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert9971873a/pending?api-version=7.4&request_id=5b2f191a1eb14f6985fb548a65190927", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "215", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending?api-version=7.4\u0026request_id=91b41d3c15674f4d9096576bf4067d35", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e9fee2e0-7571-4ef2-9f3c-b2ac9c9f0096" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBgnuBayENhrW4xQUIXOm\u002B0HV88YOC\u002BIhA6YBl/KyM\u002BIeCz/juDfIm3abQmVrkgOzzM1fKtbz8Iav0xyosm8W8rJmRfc2T0vyQbQFr57dJsHSuAR/JaIvLp9cpSRNKZy4JofGdKAr5dqTKMKpKuJB8Pz3uY/6CTKfYtmRUhqu55J7KwsrbTyvPZuKpYGVmaV3QonptawaYvGGFxkyfy8H4kh7p5\u002BzHWEu3oV2iN20zaLgUE3aWLzGw2\u002Bc8HQgT\u002BkU\u002B/\u002Be\u002BfVhw73W2iOC3OCreF/wb\u002Byg0vk/SwcLRB6QzpK/y1IVE60\u002BggFW4QoN5nt1V3h01IpHqD/lhJ9tIgxy9r", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "91b41d3c15674f4d9096576bf4067d35" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert9971873a/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "12029610-13b6-4b1b-b246-3240026985de" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBgnuBayENhrW4xQUIXOm\u002B0HV88YOC\u002BIhA6YBl/KyM\u002BIeCz/juDfIm3abQmVrkgOzzM1fKtbz8Iav0xyosm8W8rJmRfc2T0vyQbQFr57dJsHSuAR/JaIvLp9cpSRNKZy4JofGdKAr5dqTKMKpKuJB8Pz3uY/6CTKfYtmRUhqu55J7KwsrbTyvPZuKpYGVmaV3QonptawaYvGGFxkyfy8H4kh7p5\u002BzHWEu3oV2iN20zaLgUE3aWLzGw2\u002Bc8HQgT\u002BkU\u002B/\u002Be\u002BfVhw73W2iOC3OCreF/wb\u002Byg0vk/SwcLRB6QzpK/y1IVE60\u002BggFW4QoN5nt1V3h01IpHqD/lhJ9tIgxy9r", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "91b41d3c15674f4d9096576bf4067d35" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d3a1806a-0715-4b08-be2d-b07b4d71e114", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALWq4d9KXiiM9Wz9rqYntCbLYj1a9yGoRuSq4DwWAUHgWMAoQVXvlZQCTz2FzfnFbqQUrpluBA9Yqg2AoO89phtbZD1SB6OyFIst2zxkKnphfGpNkAF9ZhpZqBUzTdXB3uAo5cjxIsiumxz3Sj70QZ1vMo+bnU00yAWrCT4xBonBQr58axWYHckbvr2zREF8kFKSQ2tlmHivu/bYm37va7cdJHkxWDSWwrSqLhHPi6gBwg+J/ISbCrjZfH7LDJt9vmzwJHX9aoETK/s1bnQtT3bX3+D69qqgYurbq+IsOyFYROFMOtMLXbiZ1E0+drdCf4l8qb4J5seBDCoVvgIDx7ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBBUczrGz1E3JTG88SGm6tA4yciFw/MRS6VnuOoW13GEtDcPpcjtVh9m7UKD8J1jHt4sN9bVBVOGSM9x7ASBepoImhBq3NMyVZGJ7MDZ0BPrta7ndnvS3g6w5wlysWsY174tV8uH+r0xdNXDerTI3GbrJwlWQpMYmiIwKJBl32cJLPyy6pWTdU+7+UcLUc+RVxZ7IAZiHU4mj93GiKUq5z4LZdWGgTkEqUAziN5oeHQqPvAaQea+XsiYDdLeHMd64lUTcME7eycxMii1swNeacS0DC0VSJlLbAifKZy3IVFvYyrxw35LRkSzgi1GMXg6L7D30d81jIZbaoK37cBmfMj\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a\",\"request_id\":\"5b2f191a1eb14f6985fb548a65190927\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3d72b9bb-f200-4653-b2ea-82d93b591792" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBgnuBayENhrW4xQUIXOm\u002B0HV88YOC\u002BIhA6YBl/KyM\u002BIeCz/juDfIm3abQmVrkgOzzM1fKtbz8Iav0xyosm8W8rJmRfc2T0vyQbQFr57dJsHSuAR/JaIvLp9cpSRNKZy4JofGdKAr5dqTKMKpKuJB8Pz3uY/6CTKfYtmRUhqu55J7KwsrbTyvPZuKpYGVmaV3QonptawaYvGGFxkyfy8H4kh7p5\u002BzHWEu3oV2iN20zaLgUE3aWLzGw2\u002Bc8HQgT\u002BkU\u002B/\u002Be\u002BfVhw73W2iOC3OCreF/wb\u002Byg0vk/SwcLRB6QzpK/y1IVE60\u002BggFW4QoN5nt1V3h01IpHqD/lhJ9tIgxy9r", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "91b41d3c15674f4d9096576bf4067d35" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert9971873a/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0d6c39b8-308a-475b-b3bf-4c5bb4bbb351" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBgnuBayENhrW4xQUIXOm\u002B0HV88YOC\u002BIhA6YBl/KyM\u002BIeCz/juDfIm3abQmVrkgOzzM1fKtbz8Iav0xyosm8W8rJmRfc2T0vyQbQFr57dJsHSuAR/JaIvLp9cpSRNKZy4JofGdKAr5dqTKMKpKuJB8Pz3uY/6CTKfYtmRUhqu55J7KwsrbTyvPZuKpYGVmaV3QonptawaYvGGFxkyfy8H4kh7p5\u002BzHWEu3oV2iN20zaLgUE3aWLzGw2\u002Bc8HQgT\u002BkU\u002B/\u002Be\u002BfVhw73W2iOC3OCreF/wb\u002Byg0vk/SwcLRB6QzpK/y1IVE60\u002BggFW4QoN5nt1V3h01IpHqD/lhJ9tIgxy9r", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7", + "request_id": "91b41d3c15674f4d9096576bf4067d35" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2444", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f00ba875-833a-4750-9737-02bf829d7c1e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"x5t\":\"-n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YEA82fklGmARCYrDEHXEnDnwQ7ulKHcqWv3b5qlERXL/qgwU3M/nzUrVChMcjyWN31Vw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954157,\"updated\":1678954157}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2434", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "12bac2fa-2549-40b6-8207-4f60f63703db" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "cer": "MIIDNjCCAh6gAwIBAgIQQ1enX2L6TqmaRuYkkLlsijANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFE3QihZmGoVKd6e94pkA7LavVsLeMB0GA1UdDgQWBBRN0IoWZhqFSnenveKZAOy2r1bC3jANBgkqhkiG9w0BAQsFAAOCAQEALBAvQFTI4A6TfQzlKdxul3MtJ09vCZttbNkd5NvWwsMOnXoSgK7dEYRtwWDSYdHw9jiW1v9pp/8C3tNYFZO5YAI/ioE3Jmq8SzGxuFC4ErsuuA9rBRdV28dDYkQUFP\u002BSGWT0FwPGZvx3BzQDGLV\u002BjSws8P37cT2UF2XRkq1\u002BTU06AkFHF1ZoJxIGGuZ\u002BN58YkCQmvxwlBgpfx9QG\u002BuHB0mDfIXENlC/tvXTQjBadJJeDHnYA\u002Be06p5G5O1JFTAAcAvETpvHEnsDWtuc9p8gNEvyoswwJwL2VS8Ladyul7qaUgKgFErSxNVKE7yHfWyLdEi63KWjTl2Pea7W\u002BR6/UDg==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert9971873a/0be9f682c23a4650a7079fca8649fab9?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1760", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0c945b6f-611a-4c13-8b76-58053cb7641d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert9971873a/0be9f682c23a4650a7079fca8649fab9\",\"x5t\":\"-nm9wRXB7Gdrz3Jb93i17glfdnY\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQYX1ru/xWRP29942YcYW1TzANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkxN1oXDTI0MDMxNjA4MDkxN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALWq4d9KXiiM9Wz9rqYntCbLYj1a9yGoRuSq4DwWAUHgWMAoQVXvlZQCTz2FzfnFbqQUrpluBA9Yqg2AoO89phtbZD1SB6OyFIst2zxkKnphfGpNkAF9ZhpZqBUzTdXB3uAo5cjxIsiumxz3Sj70QZ1vMo+bnU00yAWrCT4xBonBQr58axWYHckbvr2zREF8kFKSQ2tlmHivu/bYm37va7cdJHkxWDSWwrSqLhHPi6gBwg+J/ISbCrjZfH7LDJt9vmzwJHX9aoETK/s1bnQtT3bX3+D69qqgYurbq+IsOyFYROFMOtMLXbiZ1E0+drdCf4l8qb4J5seBDCoVvgIDx7ECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFK5Y8uCvFm8/AyNAoAVb1BB7XAwQMB0GA1UdDgQWBBSuWPLgrxZvPwMjQKAFW9QQe1wMEDANBgkqhkiG9w0BAQsFAAOCAQEAIwrEPFNYZrxfum3kxmhPIVpxjkEeoU6DHJ9NpffEbQ/G96yL1huLnqJmObcaT4T1awQa0hri+PjhweATp1jw21UZTGvRtAoiwLtS8iL9VpRZsQp8+V9DV9Tcsz5AnmSqDvmZj7tlOHloCaOxynXa9dJ9Ij4BpICLu906kF3yEYB2jMOvvJY62Hyp/aGCLOwSicgsao3KH/yaG+1s/TVNkRYe6082NnMK98Cjq0F1h+UMSZSqJnfbBXCL2eA7ygSUQKGuHvmD5GO9Fyi6RRYEA82fklGmARCYrDEHXEnDnwQ7ulKHcqWv3b5qlERXL/qgwU3M/nzUrVChMcjyWN31Vw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert9971873a" ] + { + "RequestUri": "https://REDACTED/certificates/testcert879738c7/56060b4509d74a1b82679df3f90fe451?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321 + }, + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1752", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2886fb2f-f616-4c65-8d9e-bec75bb093a0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert879738c7/56060b4509d74a1b82679df3f90fe451", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "cer": "MIIDNjCCAh6gAwIBAgIQQ1enX2L6TqmaRuYkkLlsijANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIwMVoXDTI0MDQxMjAyNTIwMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALrcGgsEP8y/noAjRvMS\u002B730semvU7R5vZzHds9\u002BVg6dVve8Uv2Uf4Z9US9oAU/YVS60mSj1M03G7mslG2yMMWKlu6JBeaWvI6VVMsbGOFIxNu3Gi7LbO\u002BhwnVI/Cx89ZANq/xzJkplzZQqz1RZHe9OXpSaN3kzyIqEgNhfqe/dtvfFMzlqmnL66i/FDFlPv/TqvGg9ywHB6v2Gslbz2VtH8PPomFg/U5bsMPnPfD8dYLUcLgAQ2zhplIsj4pBnkglCp2xHhGKIWPOo1uhVtxyWQxb/hD/07Gp\u002BjGh3RrT85gUCAJM/vymkNjm0yinKFQ0LpfqPvoGRmpR6JjemuUGECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFE3QihZmGoVKd6e94pkA7LavVsLeMB0GA1UdDgQWBBRN0IoWZhqFSnenveKZAOy2r1bC3jANBgkqhkiG9w0BAQsFAAOCAQEALBAvQFTI4A6TfQzlKdxul3MtJ09vCZttbNkd5NvWwsMOnXoSgK7dEYRtwWDSYdHw9jiW1v9pp/8C3tNYFZO5YAI/ioE3Jmq8SzGxuFC4ErsuuA9rBRdV28dDYkQUFP\u002BSGWT0FwPGZvx3BzQDGLV\u002BjSws8P37cT2UF2XRkq1\u002BTU06AkFHF1ZoJxIGGuZ\u002BN58YkCQmvxwlBgpfx9QG\u002BuHB0mDfIXENlC/tvXTQjBadJJeDHnYA\u002Be06p5G5O1JFTAAcAvETpvHEnsDWtuc9p8gNEvyoswwJwL2VS8Ladyul7qaUgKgFErSxNVKE7yHfWyLdEi63KWjTl2Pea7W\u002BR6/UDg==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7/pending" + } + } + } + ], + "Variables": { + "0": "testcert879738c7" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateDisabledCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateDisabledCertificate[1].json index b9dfd66b6e319..551a7db272f1f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateDisabledCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateDisabledCertificate[1].json @@ -1,105 +1,292 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert217038c9/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert02440cf2/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:21:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d8a70538-afa8-4505-b43e-d0922b3d289b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "36d04807-ccf8-44f3-948a-b90fa4b69e06", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALOPwLs/yOrVsAbRXElhvlYWRswW5Wi7DaxO6NCPtHf0Y6D3pDLNtNkZyct9hQiu8KzHNdHLaCAKohf5+HwiIKAFlA54DnQ+w04d+HndeO+8M1uJ4SpbUiu+dps45ujpDTuZTbRIDkX9U16vXOI/Jcw2sLMsSsc8LfhDYob67LbMbuVV76GH1sLaLiK9SUNqqvKYXLrSG52PHs/NsUJO/UTZsRydNuuU5X+sIhUuTRYmMt/4GA1vXDChU9VjQA/S/yyxI4w/Z4UXOWFLlDAAr4PdZ+M1Wqy5ApdUBCzbPWzYwBdlKKOabJAGbE+8rOrN2lyGYlEliAadBe3qNyQEZ2UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBChTA18KFokZ2Q74DXXjBO8sB88tu0vPuXo/ebaxcuYd5Fk8X6fAW7ykjQOOWWr5sq1aZQndykArbL5k32XOjR9fzRkNogYFhgKWCFy6hDGaT/mAOeMeUJYl+bZJEqSF5gmqU1//44xyqSr4ZmoEjn31fipaHizFXUA2jCYkEDCUoRP7rGwNuU81KHgZmKrBQNpk/Sh1mRu5GM08XmbUOc/6+aKHAEVMpNzAgB5rRT7uS4vrHPbK2hsXciuOCbLJEAfOXk9vjR0ss+u6x6hRHvRwBYJjyZu+gUAg2IXRjoqCgpzNPtfeR9EED4x9luMyFXoYou9zm/AWDO1ZYi64je\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"adad41a24d774dcaa78e27c76e6ef678\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert217038c9/pending?api-version=7.4&request_id=adad41a24d774dcaa78e27c76e6ef678", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert02440cf2/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:21:38 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/pending?api-version=7.4\u0026request_id=a9ebbf69beae4df4809439ec0e68d65c", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2680e0fd-9540-4334-87fd-fb8343159fdc" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQSO1DdhDTaAoKovG2kGsIcc2QlpD2OtjIuWhtK7Xf2ldnstGvlFdBLThPYE3HdmjWZS47L5s6M0HWnsgUYtaX45kqlZuRsceNfqNtr5Xjn7iF45FUwGaGMDCoCQv5P3t5fZVCOni\u002BtG5KpA3SWidDlHyl18842PiDVWvDFzaR3HnhpqEXm/vKW0fSeXTNbrdF8D9u\u002BFsIg1oIbjP8//IdjPZur8Uu7mG\u002BCP/x29kX8jNEUh9caG2BO7Wxl80ml5hDv6VSZRmTrVFeOO\u002BDGCEOSlNDdWXYewaFuu7moS8DYogYJ7Y\u002BWqQIsQZLg\u002ByOn6I26tLIRGOvhvokEgnPUKp0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA9\u002BZf5lEQzEI\u002Bq4gO/zCOyPMr7sURO0bUAgFSyeA7SkR8cefU\u002BClHpMU5rqmH6/YMOWkZD5L2NpvMQr6BC36IxXu7PlW/j6R6Xf4gzR7XtFWXyhAPbkp05mjTT8pqM\u002BEc2FuhjpNXBh2zBJGl17Zy2w4LmwWkUpcUAxtk\u002BCGvllXpSqrgsHSTNR6Nv3kt5Y7usRiDDwIrTA6VG6RESO5TSeOmm4eEDgV9qU9G6Fc63CSNt9O8/1M25csDgoE4fV9mK1JWqS8VYR15JYH6WzaTM9xxbMPI\u002BgNabfiVqstNMFNKVnRM\u002BQRa84iXMtNRRwSpiWZAKGu8DHV0IhJXsxmz3", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a9ebbf69beae4df4809439ec0e68d65c" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert217038c9/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert02440cf2/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:21:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ea63abb7-9963-4413-9466-b81e08714463" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQSO1DdhDTaAoKovG2kGsIcc2QlpD2OtjIuWhtK7Xf2ldnstGvlFdBLThPYE3HdmjWZS47L5s6M0HWnsgUYtaX45kqlZuRsceNfqNtr5Xjn7iF45FUwGaGMDCoCQv5P3t5fZVCOni\u002BtG5KpA3SWidDlHyl18842PiDVWvDFzaR3HnhpqEXm/vKW0fSeXTNbrdF8D9u\u002BFsIg1oIbjP8//IdjPZur8Uu7mG\u002BCP/x29kX8jNEUh9caG2BO7Wxl80ml5hDv6VSZRmTrVFeOO\u002BDGCEOSlNDdWXYewaFuu7moS8DYogYJ7Y\u002BWqQIsQZLg\u002ByOn6I26tLIRGOvhvokEgnPUKp0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA9\u002BZf5lEQzEI\u002Bq4gO/zCOyPMr7sURO0bUAgFSyeA7SkR8cefU\u002BClHpMU5rqmH6/YMOWkZD5L2NpvMQr6BC36IxXu7PlW/j6R6Xf4gzR7XtFWXyhAPbkp05mjTT8pqM\u002BEc2FuhjpNXBh2zBJGl17Zy2w4LmwWkUpcUAxtk\u002BCGvllXpSqrgsHSTNR6Nv3kt5Y7usRiDDwIrTA6VG6RESO5TSeOmm4eEDgV9qU9G6Fc63CSNt9O8/1M25csDgoE4fV9mK1JWqS8VYR15JYH6WzaTM9xxbMPI\u002BgNabfiVqstNMFNKVnRM\u002BQRa84iXMtNRRwSpiWZAKGu8DHV0IhJXsxmz3", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2", + "request_id": "a9ebbf69beae4df4809439ec0e68d65c" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a9f8a39a-2ed8-475b-b3c3-694b69abefa3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALOPwLs/yOrVsAbRXElhvlYWRswW5Wi7DaxO6NCPtHf0Y6D3pDLNtNkZyct9hQiu8KzHNdHLaCAKohf5+HwiIKAFlA54DnQ+w04d+HndeO+8M1uJ4SpbUiu+dps45ujpDTuZTbRIDkX9U16vXOI/Jcw2sLMsSsc8LfhDYob67LbMbuVV76GH1sLaLiK9SUNqqvKYXLrSG52PHs/NsUJO/UTZsRydNuuU5X+sIhUuTRYmMt/4GA1vXDChU9VjQA/S/yyxI4w/Z4UXOWFLlDAAr4PdZ+M1Wqy5ApdUBCzbPWzYwBdlKKOabJAGbE+8rOrN2lyGYlEliAadBe3qNyQEZ2UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBChTA18KFokZ2Q74DXXjBO8sB88tu0vPuXo/ebaxcuYd5Fk8X6fAW7ykjQOOWWr5sq1aZQndykArbL5k32XOjR9fzRkNogYFhgKWCFy6hDGaT/mAOeMeUJYl+bZJEqSF5gmqU1//44xyqSr4ZmoEjn31fipaHizFXUA2jCYkEDCUoRP7rGwNuU81KHgZmKrBQNpk/Sh1mRu5GM08XmbUOc/6+aKHAEVMpNzAgB5rRT7uS4vrHPbK2hsXciuOCbLJEAfOXk9vjR0ss+u6x6hRHvRwBYJjyZu+gUAg2IXRjoqCgpzNPtfeR9EED4x9luMyFXoYou9zm/AWDO1ZYi64je\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9\",\"request_id\":\"adad41a24d774dcaa78e27c76e6ef678\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert02440cf2/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:21:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "557e6ba0-1026-4535-b1b3-2a0a557ca144" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "x5t": "ZRaKRS1i7YWFd1QVfOlT9IQL05s", + "cer": "MIIDNjCCAh6gAwIBAgIQfSFD5WunQI6WMq\u002BVYz3dbTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjA1MTEzOFoXDTI0MDQxMjA1MjEzOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQSO1DdhDTaAoKovG2kGsIcc2QlpD2OtjIuWhtK7Xf2ldnstGvlFdBLThPYE3HdmjWZS47L5s6M0HWnsgUYtaX45kqlZuRsceNfqNtr5Xjn7iF45FUwGaGMDCoCQv5P3t5fZVCOni\u002BtG5KpA3SWidDlHyl18842PiDVWvDFzaR3HnhpqEXm/vKW0fSeXTNbrdF8D9u\u002BFsIg1oIbjP8//IdjPZur8Uu7mG\u002BCP/x29kX8jNEUh9caG2BO7Wxl80ml5hDv6VSZRmTrVFeOO\u002BDGCEOSlNDdWXYewaFuu7moS8DYogYJ7Y\u002BWqQIsQZLg\u002ByOn6I26tLIRGOvhvokEgnPUKp0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJRDahf5gOvA8fExJCX8dn3BJ9OoMB0GA1UdDgQWBBSUQ2oX\u002BYDrwPHxMSQl/HZ9wSfTqDANBgkqhkiG9w0BAQsFAAOCAQEAbGu4hhzBrNhqaMB/htJ6bt31jWXyDgrA5w4g6rRUQNnVkZx2FHlWOCk0P0kPw5FBOb\u002B9MLyWroO2XfrQnHFhQbQAlw/Efa0zQk7mOFmhC7Gig16iNhLmWEHKdF45fxyxYeaBycJKLI0E2iQirn\u002BHkcntmL0/yahT6I6Mlpqp1k2N0GhVLPD0aJOdCgDDZ1GsIVNH2JvZ/SAsisl2E43U1FsT\u002B\u002Br1/Mxkp/JYKmXKa3\u002BtCyNJDkKHs5AuSNvyPRkIcfROoyDnuTtdUG9MFlWVAMg2If7ikXQIQDbgYdG7m6JoeWcL4bGlM/a4LMGwOuZlLjqJaioidMqWfukiZJmOJg==", + "attributes": { + "enabled": false, + "nbf": 1681276298, + "exp": 1712899298, + "created": 1681276898, + "updated": 1681276898, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681276898, + "updated": 1681276898 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert217038c9/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2445", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4d6f2747-a561-4e23-b7c3-270b27758dc0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"x5t\":\"H8yzr_Sz3M_jItdsEHmh9jxVD98\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQb7GnASW1QsK+1DRbFkaDsDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyMloXDTI0MDMxNjA4MDkyMlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALOPwLs/yOrVsAbRXElhvlYWRswW5Wi7DaxO6NCPtHf0Y6D3pDLNtNkZyct9hQiu8KzHNdHLaCAKohf5+HwiIKAFlA54DnQ+w04d+HndeO+8M1uJ4SpbUiu+dps45ujpDTuZTbRIDkX9U16vXOI/Jcw2sLMsSsc8LfhDYob67LbMbuVV76GH1sLaLiK9SUNqqvKYXLrSG52PHs/NsUJO/UTZsRydNuuU5X+sIhUuTRYmMt/4GA1vXDChU9VjQA/S/yyxI4w/Z4UXOWFLlDAAr4PdZ+M1Wqy5ApdUBCzbPWzYwBdlKKOabJAGbE+8rOrN2lyGYlEliAadBe3qNyQEZ2UCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMIoobO1v0M1hXOXtfva32Y9wg7OMB0GA1UdDgQWBBTCKKGztb9DNYVzl7X72t9mPcIOzjANBgkqhkiG9w0BAQsFAAOCAQEAL6nHyXC6LMEJCsYJa/QiQXLgBt+XzhpVwOJLvTdL6dm+e78XQkBuIayXzSGtcnUCN7FnWqA2kc4c6tBcaf+PL9RtamzSQw1aAZbflRgC0q/e6bzuQH+UanXKTbxdBL6NSkHejinCwFsHopmpK7CYRfHpcZymuaGS5m6q0/jkMMIiN0JNSuxn674Zzm4im6bkwZI1lEw3ro6KBARCoq4/GSp5TAotNJzUg9/+a/kp0r/1fAraNkwBGm0n6wcCrUKlZJJ+kH1PSDqdFkOmACWUoGPEWxxAIVbxanG38kTW9SKEtpJgSsqpNmE7haspQQvtwTn982Wa3rd1FoZhXQuVzg==\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954161,\"updated\":1678954161}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert217038c9/e8600cc96176475ea0ea2913209d861a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1761", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "66e70fa2-ed3e-4764-83f2-ffde626c088e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert217038c9/e8600cc96176475ea0ea2913209d861a\",\"x5t\":\"H8yzr_Sz3M_jItdsEHmh9jxVD98\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQb7GnASW1QsK+1DRbFkaDsDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkyMloXDTI0MDMxNjA4MDkyMlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALOPwLs/yOrVsAbRXElhvlYWRswW5Wi7DaxO6NCPtHf0Y6D3pDLNtNkZyct9hQiu8KzHNdHLaCAKohf5+HwiIKAFlA54DnQ+w04d+HndeO+8M1uJ4SpbUiu+dps45ujpDTuZTbRIDkX9U16vXOI/Jcw2sLMsSsc8LfhDYob67LbMbuVV76GH1sLaLiK9SUNqqvKYXLrSG52PHs/NsUJO/UTZsRydNuuU5X+sIhUuTRYmMt/4GA1vXDChU9VjQA/S/yyxI4w/Z4UXOWFLlDAAr4PdZ+M1Wqy5ApdUBCzbPWzYwBdlKKOabJAGbE+8rOrN2lyGYlEliAadBe3qNyQEZ2UCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMIoobO1v0M1hXOXtfva32Y9wg7OMB0GA1UdDgQWBBTCKKGztb9DNYVzl7X72t9mPcIOzjANBgkqhkiG9w0BAQsFAAOCAQEAL6nHyXC6LMEJCsYJa/QiQXLgBt+XzhpVwOJLvTdL6dm+e78XQkBuIayXzSGtcnUCN7FnWqA2kc4c6tBcaf+PL9RtamzSQw1aAZbflRgC0q/e6bzuQH+UanXKTbxdBL6NSkHejinCwFsHopmpK7CYRfHpcZymuaGS5m6q0/jkMMIiN0JNSuxn674Zzm4im6bkwZI1lEw3ro6KBARCoq4/GSp5TAotNJzUg9/+a/kp0r/1fAraNkwBGm0n6wcCrUKlZJJ+kH1PSDqdFkOmACWUoGPEWxxAIVbxanG38kTW9SKEtpJgSsqpNmE7haspQQvtwTn982Wa3rd1FoZhXQuVzg==\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954163,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert217038c9" ] + { + "RequestUri": "https://REDACTED/certificates/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "76", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": false, + "nbf": 1681276298, + "exp": 1712899298 + }, + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1753", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:21:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "90dc17f4-ec49-468c-965b-7acf15c7c23c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert02440cf2/fce5574e9edb4e62a8135d0f3ecb40b5", + "x5t": "ZRaKRS1i7YWFd1QVfOlT9IQL05s", + "cer": "MIIDNjCCAh6gAwIBAgIQfSFD5WunQI6WMq\u002BVYz3dbTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjA1MTEzOFoXDTI0MDQxMjA1MjEzOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQSO1DdhDTaAoKovG2kGsIcc2QlpD2OtjIuWhtK7Xf2ldnstGvlFdBLThPYE3HdmjWZS47L5s6M0HWnsgUYtaX45kqlZuRsceNfqNtr5Xjn7iF45FUwGaGMDCoCQv5P3t5fZVCOni\u002BtG5KpA3SWidDlHyl18842PiDVWvDFzaR3HnhpqEXm/vKW0fSeXTNbrdF8D9u\u002BFsIg1oIbjP8//IdjPZur8Uu7mG\u002BCP/x29kX8jNEUh9caG2BO7Wxl80ml5hDv6VSZRmTrVFeOO\u002BDGCEOSlNDdWXYewaFuu7moS8DYogYJ7Y\u002BWqQIsQZLg\u002ByOn6I26tLIRGOvhvokEgnPUKp0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJRDahf5gOvA8fExJCX8dn3BJ9OoMB0GA1UdDgQWBBSUQ2oX\u002BYDrwPHxMSQl/HZ9wSfTqDANBgkqhkiG9w0BAQsFAAOCAQEAbGu4hhzBrNhqaMB/htJ6bt31jWXyDgrA5w4g6rRUQNnVkZx2FHlWOCk0P0kPw5FBOb\u002B9MLyWroO2XfrQnHFhQbQAlw/Efa0zQk7mOFmhC7Gig16iNhLmWEHKdF45fxyxYeaBycJKLI0E2iQirn\u002BHkcntmL0/yahT6I6Mlpqp1k2N0GhVLPD0aJOdCgDDZ1GsIVNH2JvZ/SAsisl2E43U1FsT\u002B\u002Br1/Mxkp/JYKmXKa3\u002BtCyNJDkKHs5AuSNvyPRkIcfROoyDnuTtdUG9MFlWVAMg2If7ikXQIQDbgYdG7m6JoeWcL4bGlM/a4LMGwOuZlLjqJaioidMqWfukiZJmOJg==", + "attributes": { + "enabled": false, + "nbf": 1681276298, + "exp": 1712899298, + "created": 1681276898, + "updated": 1681276899, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert02440cf2/pending" + } + } + } + ], + "Variables": { + "0": "testcert02440cf2" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateIssuer[1].json index 84fdeb5aec172..0f1a919b38b3f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateAsyncClientTest.updateIssuer[1].json @@ -1,54 +1,185 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer339682cd6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer8499016d15?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9b541de0-f6a8-46dc-a3af-b5ea48937095" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "34acd53f-59ac-4f13-bdff-e9bc424e2fc0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer339682cd6e\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer8499016d15?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1a2c3c39-7352-4d7e-b33e-5cab517533b9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8499016d15", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer339682cd6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "413", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eefec087-ba25-4533-bcaa-e3b0ca4fcedf", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer339682cd6e\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"otherIssuerAccountId\"},\"org_details\":{\"id\":\"otherOrgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"otherFirst\",\"last_name\":\"otherLast\",\"email\":\"otherFirst.otherLast@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":false,\"created\":1678954151,\"updated\":1678954151}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer339682cd6e" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer8499016d15?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "304", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "otherIssuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "otherOrgId", + "admin_details": [ + { + "first_name": "otherFirst", + "last_name": "otherLast", + "email": "otherFirst.otherLast@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": false + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e28a1adc-9fff-4837-95e4-dbb9cbc6fde4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8499016d15", + "provider": "Test", + "credentials": { + "account_id": "otherIssuerAccountId" + }, + "org_details": { + "id": "otherOrgId", + "zip": 0, + "admin_details": [ + { + "first_name": "otherFirst", + "last_name": "otherLast", + "email": "otherFirst.otherLast@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": false, + "created": 1681267917, + "updated": 1681267917 + } + } + } + ], + "Variables": { + "0": "testissuer8499016d15" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificateNotFound[1].json index dd4d6ef13b56a..4369453f29bde 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "63a529c8-4b74-40c8-a389-ecec141474fa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0bad04c5-8cb3-461d-8d06-a868c70740d6", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "08c3a7f0-a2d5-460c-93f7-8f1f338f2785" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificate[1].json index 70be43cb8c40c..4c2b54ee5f823 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.backupCertificate[1].json @@ -1,80 +1,233 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert58344de8f9e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert04277a19e08/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a6ef1e61-1377-4a67-bb90-a840375f3d53" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e9d9a665-d6c2-4334-8878-3027cc4a15b6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/VoPowQxznEOeCAmGF8odypqPec5F2/v5ys/lsmMvr14YdwULDwzaCyjZvg8zpna8QWYum1u6QdKi12dnqn0oWpIbQ3OpytXpFqQysS8x6/r28EKAOMvJOCknMNj9MtCoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAJZyerG17Fa8eFJ8OOixY6SSE3IgFrM3D9bfJO6yF4z6E7/RbjMw8x68vU3D5bV7+gIxANj3Pvb5DZfOPJS5s2ZHKXe+yPn55KerBib3HtcjahvYXJaoYiYcuu2VfV1j/b7PPw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7d2fa6b4d3fe4936818e065f9313548e\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e/pending?api-version=7.4&request_id=7d2fa6b4d3fe4936818e065f9313548e", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert04277a19e08/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08/pending?api-version=7.4\u0026request_id=0afdc6e1e0b046e39a2d778d9de07a74", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "72b43475-6ddc-45cd-9301-61e55873bbc9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiTU1IYI43p4ZAGsYY0OAkeqzyoOMJj9acKeL/5SQ6\u002BWvq59ACbU5tWoyFoAVMfnXa1F1EZx31mFtEoKHCXjTISVp/MMqMBr0cutjvvIbvjRj/bbITbIYFGpNg3ZPey/FoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwKW9mA4i79BGO3hkR8x6M8pbQWYARmdVHNANs6PnVMDi0XO1eEW85agQ2vc\u002Bf2q9gAjAdDImbYM6CWEVQxjMcPCcxBHtEe7l5DQHT4G0zNsZQ6ghpOMBanyqBwxZVho56kG0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "0afdc6e1e0b046e39a2d778d9de07a74" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert58344de8f9e/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert04277a19e08/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8f058654-14e7-485b-ab18-d2a57a0002ea" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiTU1IYI43p4ZAGsYY0OAkeqzyoOMJj9acKeL/5SQ6\u002BWvq59ACbU5tWoyFoAVMfnXa1F1EZx31mFtEoKHCXjTISVp/MMqMBr0cutjvvIbvjRj/bbITbIYFGpNg3ZPey/FoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwKW9mA4i79BGO3hkR8x6M8pbQWYARmdVHNANs6PnVMDi0XO1eEW85agQ2vc\u002Bf2q9gAjAdDImbYM6CWEVQxjMcPCcxBHtEe7l5DQHT4G0zNsZQ6ghpOMBanyqBwxZVho56kG0=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "0afdc6e1e0b046e39a2d778d9de07a74" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2b6c10a0-9927-4975-8ef2-66d80e82a953", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/VoPowQxznEOeCAmGF8odypqPec5F2/v5ys/lsmMvr14YdwULDwzaCyjZvg8zpna8QWYum1u6QdKi12dnqn0oWpIbQ3OpytXpFqQysS8x6/r28EKAOMvJOCknMNj9MtCoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAJZyerG17Fa8eFJ8OOixY6SSE3IgFrM3D9bfJO6yF4z6E7/RbjMw8x68vU3D5bV7+gIxANj3Pvb5DZfOPJS5s2ZHKXe+yPn55KerBib3HtcjahvYXJaoYiYcuu2VfV1j/b7PPw==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e\",\"request_id\":\"7d2fa6b4d3fe4936818e065f9313548e\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert04277a19e08/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cecfa975-11ad-4f8d-a8ac-0602b020c7ae" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEiTU1IYI43p4ZAGsYY0OAkeqzyoOMJj9acKeL/5SQ6\u002BWvq59ACbU5tWoyFoAVMfnXa1F1EZx31mFtEoKHCXjTISVp/MMqMBr0cutjvvIbvjRj/bbITbIYFGpNg3ZPey/FoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwKW9mA4i79BGO3hkR8x6M8pbQWYARmdVHNANs6PnVMDi0XO1eEW85agQ2vc\u002Bf2q9gAjAdDImbYM6CWEVQxjMcPCcxBHtEe7l5DQHT4G0zNsZQ6ghpOMBanyqBwxZVho56kG0=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08", + "request_id": "0afdc6e1e0b046e39a2d778d9de07a74" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert58344de8f9e/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "26712", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "69c6ad18-0aff-4900-9cac-3813cb8088c9", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR2ppMmgxaVlWeE9COUQ4M0tCSzUyeU1BemlJZ1QxSnJoTGNTMTF2ZUF4dFF5QUZBbEhZMEI3cXIzRmxITjdUcDhSUHpkY1Z0LWNhbEk0RTNBSlduZ0ZqekdneHVqVVRIWDlJTzExdWlfMkUwMnZoTlNSeWhPX0RmX0tjV3BzY19rcG9pUHVGSVVkTXlDUTQtckJuM1QxLV8xMm1SRVh1NXozY2lta1VvS3I1enVaVnFMTkZKcmhvR3BPVWM0c0VNbmZjNnZGTkxMOG9GeFZmUDUtOHhtbkZKaVNBNW5ycGl6M2ZwTGlVQkYzbjBPdGZVVEZnY3MtcElZTDBVb2NTX1FnN09kOHlHRDR3dE14dm9ac2h2UmVkVTFJRG0wUmY0VXpVZG9sMWU2MUhsR3ZmNzFYMUt0VlFvT1NVdWtjOWlKQ214MkMzbGwzM3hFTnlvQ0hkdFhRLnFmM1ZkTXZsMFMzSDdya2xkT0dIWUEuWTgwWUc0ekZhMzU5TVB0MWlKRHV5bU83RThiOW5hRDBmcjRuRjFxWm5SWmQ4dU5vdGYtS21kTnNZaWVkSjc2RkhrRGc3Zkg3clppbFlHU29xMzdBNzRQSjkzQmVWV3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hBWkFVeDFXTnIyaDdteHhYNjF4clN3VVNneEtkZ2ZaanR2RXI0Q0VVZVEzNjh5bmIzcWhBWFdqdzhweDN5NWptbUwtal9OUjYzZnBpc2pPM004TGh4amV0ZVVMaXREenQ4M2tkQko2d1YzNlR6aTBlcC1mdE5rd3M3cWJROVIzd1V4RjVfVUNiZWo5TTIxUm5LTmZEdDJyU1ZJc3pUVUZkMlJWZGVGc1pUczVGYXB1dkNkdWY2NGpOcWNpaDB3QU5KOUVkSi05U0lraUFFUlJ6akU4NzVtcjE0dlNZTnRPSXlNYmJHUXdyU2J6TTREQnh2QVpGQ2ZGZWxHUWFnVEhodTNFLUlZMUhSS2FsdWN2MjlPS1lNY2xYR01EMzE2WVlJWS0wVmVFc3ZPM2hsSVBpWjg5VTBGOXVkdG9EV2pYQXZsQS10RDVKNVJGS0ZYcVpTOWU0bHA5VGdubEZzcThfa2tuS0pGUWtMeGxPS0lYUzhvS3VZMEw2UERHT1JCMm5XdGNqMWpha0ZSX0tRNXNwVnp4anhoNjdwY0hCWnVvQVZ3a0w1SVByWl9CUGNYdjRReG9hWC5sOW9xR1pNbG5IRHlzS3RFc1pweFpaRndtY0UtZHo0NXhJUWNiZDNLUllF\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert58344de8f9e" ] + { + "RequestUri": "https://REDACTED/certificates/testcert04277a19e08/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "27054", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dc738f11-35fd-48f8-9834-63599b56a2bd" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuVHItRmF6Uld1TTlONGJJbGxmVWNyWG15a0dnc25sczFUZmx4blRSZXBLOTNSNm5XLUdsTC1EOTM5VWxvR0l6SnFqdDdDWU9sekp1Wkx5aldGQXI4Rkk1Q09ZSzUwckNnM1ZLNlBvNnN1UW8yTnc1OEpUZGozQ3FVTGJvbDd5M2VBRzFKc01ITFlpc2I4cTdHNUthMGREaFdWNnhBbEJYSnJ6UkFWa2kzTG5XclZYTmJkOWFBaWJjbGdyWDVkMTAwY0pJRGc2TXlMUTdEWW1SeWNVZ1ROZ0ViU2NOcGczeXFjb2gwejRkcndmVVhzb1pveWttWUxvcWVPOXUxNDd2dlY3dDlnQkdkMjR1eG5wcmU5YW5OSUxDTk4zVHRINFZnakZtT0VubU5WOTlwdE56Y0dxaV9sa2JsQWhvSWdEYWZWR211OFc2VE5FWEhSTFFXN3VRTEpnLmloLS10VTFWeUhBZ3RLa2dHaHNiZWcudWd4TzZHcHNXNDBPdlBKVklJZHhVOW5EVVBzUE1zR1ZOZi1HRmlSd2RDYkw3aG9pa1FGSVNTaXlFTDJLUW1RVFJkTFRQbUJSVVVGc0VfbHZhWHFRNGx5Q3V5YXdoam5IM3hzU3RST0RHbEJzaTVvMzl6NmpRUzA5X0UxZDZaUW9WZWF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hqRUttdDRVcWlMellEeFJXZy1ubnJXSTA3dEhLaGpxVmlyT1BIQlBFVzhadk5wVEk0Y3ZndVZDZzZiZ1Q1eTNSSkNiSzJwZXZkOEJhR1RwbkE4eGxsTWV4OEhrMVk3OEotVG1QdXIxUUdSTGxSTmI2cTdwNGRUWE11LURTYXM4dlluQ3E1ekFNcUdJQjlibndKTUludFZiZ3RGNkx5RjVJb1owSGE3X3RtdzdRRVBWV0VfV20tTElaamp4VGp5b3NKclpKbDRSMnR6YUNnc2NNRWQ3UXpoRUhKbmVTZE9kcmo2eGxGTVRVZjEyWXhoM1B0TjQ3aG9rcHdxVUphZHVqWlY0SDVUcVhjQjZZbFRwVEFranZwRFhwTTZDNDNCazdwZHRyU0x0aXR6VDBlVzVTQVZpMFBnLTl2ck9RRG9QYWlyQ1NqYkIzYW55NmdWV3NndUhYNjNmSldlTklldmhUNTNzYjE2TXpvc0hkdkVQb1Q1X1QyNVZ3aGJmOGx6LTVzemN3V1JoZ211T1lDSTFrSElMVnpaTUNIWk1lWC14NVUyZWRtUUYyNEtSVW1nZloyd3VGRThLUWhPWUZ4dTVYdGd0M3lRenNjUC1PYjhMTkVKanY5UHJfckxBdEVycDFPbUtrbmRxTm9GSVd6aW9lMUt0ZDRlaFJvSUlGSVBJaXIyTEpOMDMxOTlRV1Z1NmZRVmRkdnk3Q243SHNDaUxqdEh6N2RnN3ZiN1NaTXRDQlJQaFB5bkNDQ0ZTcGowVnhYQm9ZWGprNEVkQ2pvYXFlTHpvOEltUEsuclQ3SEhkLUtnaG9nMHFTd1I3OXZhZWlXYV92Rmx5Rkc4TjQ2U29BRkJmNA" + } + } + ], + "Variables": { + "0": "testcert04277a19e08" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.cancelCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.cancelCertificateOperation[1].json index 3e867ae770ae5..51b9bc8bc7438 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.cancelCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.cancelCertificateOperation[1].json @@ -1,130 +1,492 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert806319a0bac/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1341082b-2145-4c80-81a0-da2030e7ab44" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 06 Apr 2023 23:04:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=131.107.8.97;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1300", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "786f24ee-81fe-4650-8973-b515e4f83a06", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALkJDLsMaRtqqngG2IbDDuL0gMga9jCgnno789BNLyXtoIL01w+gcuhri/lPkL9zv0tcCVQd6Tztq8rO+H+kgto2Ou5Vs19qddRJQv4pzjGo21N80RmHDd73pSUbYdwAEgWCUBxnvfrqcXerRi4AmwV6Np63THPgxHSNcAfp9eBmIo9pskOudEwhhjQZOmGtgljSKNcFJG/NoBcixgosrw1g7XWrOcfUqatAnZX2pXBGGbffoEccaN3aCdpr97c0B+9e/qlh8mkIpY0Ee4PMzCLcnzXki/v9aK2xetvbpMmb3Iie+BqHF9f/OxmOTR9NlsLphBuMt8ac0I5Rq46BQqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBURjRPOLJnewzKja6fbNK+0uShpuwHdnqjU3bQwMORIhSz9V5aqHiOkK1k3yCnUsD0Wly2K4PYqvJwBg0m7jdRQJ94WEOhBVQhr6nlXpNhYdBxRm8GpAcT0BQD5c2IF6O9XFN4TA+slpM69gXIhirEphcfTl1Y75sEVeaoH7nHASfYS7rHTF4zgeujteLlgKfj0s6jPIE3wt7+dbKDBVXgfjCWrljIPL89P+UBg0v0tZiKOpXrCMOZFFyLQ/MUhfQVP7k+gVvxAnW10CRYsJux/k5WFJIxyovPlSSz25ghwqRSMyKq/PlGnfsXJ/LRAJ8QsedVMn9C2CjdHpk66LZe\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"64bfce7cb2ee42658170faa8f23b962d\"}", - "Location" : "https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending?api-version=7.4&request_id=64bfce7cb2ee42658170faa8f23b962d", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "71b321e6-08f9-4957-932e-cf51f4d5454c" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert806319a0bac/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3c6d6b93-fd9b-4317-a630-0f26e2c92293" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 06 Apr 2023 23:04:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=131.107.8.97;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1300", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "1575e986-bb2f-4590-bdbf-453b3f51d950", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALkJDLsMaRtqqngG2IbDDuL0gMga9jCgnno789BNLyXtoIL01w+gcuhri/lPkL9zv0tcCVQd6Tztq8rO+H+kgto2Ou5Vs19qddRJQv4pzjGo21N80RmHDd73pSUbYdwAEgWCUBxnvfrqcXerRi4AmwV6Np63THPgxHSNcAfp9eBmIo9pskOudEwhhjQZOmGtgljSKNcFJG/NoBcixgosrw1g7XWrOcfUqatAnZX2pXBGGbffoEccaN3aCdpr97c0B+9e/qlh8mkIpY0Ee4PMzCLcnzXki/v9aK2xetvbpMmb3Iie+BqHF9f/OxmOTR9NlsLphBuMt8ac0I5Rq46BQqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBURjRPOLJnewzKja6fbNK+0uShpuwHdnqjU3bQwMORIhSz9V5aqHiOkK1k3yCnUsD0Wly2K4PYqvJwBg0m7jdRQJ94WEOhBVQhr6nlXpNhYdBxRm8GpAcT0BQD5c2IF6O9XFN4TA+slpM69gXIhirEphcfTl1Y75sEVeaoH7nHASfYS7rHTF4zgeujteLlgKfj0s6jPIE3wt7+dbKDBVXgfjCWrljIPL89P+UBg0v0tZiKOpXrCMOZFFyLQ/MUhfQVP7k+gVvxAnW10CRYsJux/k5WFJIxyovPlSSz25ghwqRSMyKq/PlGnfsXJ/LRAJ8QsedVMn9C2CjdHpk66LZe\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"64bfce7cb2ee42658170faa8f23b962d\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cfebbc11-ae59-4a63-a475-1a314ae85260" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert806319a0bac/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending?api-version=7.4\u0026request_id=048fec743038422987fcc85b300b2d2d", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "66eceaf8-ecb5-4b55-b560-d2440e47aa0c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALXZX\u002BtSthj9Bx4gHT1BWW5C3ewIuVe0TfRRKRid/tVnBwidkvyEda\u002BcHuvHf2QHbjJhU86xdmizo4IgXXJ3uL4/mQTIXwh4EdmGBFxr4//nbdOM3C/O7IerOb/5np5B1rEtIIFjxVrLc\u002BjeRaeH\u002Bf2KrZSW0UZA/szliSoguNi9d59qtaF3VpNLNNtjqKlURKSoM6k4UVNTCN8qpuE9hCtxFpHN7w15aNsMNKb8Jm23jcoBeveiFSM1PHuLw43fWPe4eL9Tq2gus1pmuzOFVw6OMS5VV9jBcpsLJEgX\u002BVnxoJMpvxVDmVl0ip\u002B/WsG2LnoG7Z23ns1bvx7MNtAoFWECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCl6XMbjnMfmdaK/A5WpSFTQus90urZxCW4daPN\u002BE\u002B789wgXv65qVh\u002BAGrDWAdrkc09s6D2RcDfx5O6fddKRBGPsMnxy5VFK1O15zzKOWhley7GHQoG5HS4L3aBDKTHEXS4AwYHpOanyDADgIcw1859h/HKiThQz837UPk5L8Gs6sibWNx7ruWkE1DY1L0C/J3RK8\u002BcSBIayt4Uxg20D15\u002Bq8nPilWUWdHdNyKGasRziIJP1tBHVnSemcsFeDLcllFN4qD0vOzo7MlhptBgzNHEprnavjs\u002BQXxFs\u002B68U55eT3YRcYjsCkshDGyhhDKR266prAAd6w5gRslIS7vb2U6c", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "048fec743038422987fcc85b300b2d2d" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 06 Apr 2023 23:04:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=131.107.8.97;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "12d6d3e0-fae2-4933-bb7d-4969fcd1d2b5", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALkJDLsMaRtqqngG2IbDDuL0gMga9jCgnno789BNLyXtoIL01w+gcuhri/lPkL9zv0tcCVQd6Tztq8rO+H+kgto2Ou5Vs19qddRJQv4pzjGo21N80RmHDd73pSUbYdwAEgWCUBxnvfrqcXerRi4AmwV6Np63THPgxHSNcAfp9eBmIo9pskOudEwhhjQZOmGtgljSKNcFJG/NoBcixgosrw1g7XWrOcfUqatAnZX2pXBGGbffoEccaN3aCdpr97c0B+9e/qlh8mkIpY0Ee4PMzCLcnzXki/v9aK2xetvbpMmb3Iie+BqHF9f/OxmOTR9NlsLphBuMt8ac0I5Rq46BQqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBURjRPOLJnewzKja6fbNK+0uShpuwHdnqjU3bQwMORIhSz9V5aqHiOkK1k3yCnUsD0Wly2K4PYqvJwBg0m7jdRQJ94WEOhBVQhr6nlXpNhYdBxRm8GpAcT0BQD5c2IF6O9XFN4TA+slpM69gXIhirEphcfTl1Y75sEVeaoH7nHASfYS7rHTF4zgeujteLlgKfj0s6jPIE3wt7+dbKDBVXgfjCWrljIPL89P+UBg0v0tZiKOpXrCMOZFFyLQ/MUhfQVP7k+gVvxAnW10CRYsJux/k5WFJIxyovPlSSz25ghwqRSMyKq/PlGnfsXJ/LRAJ8QsedVMn9C2CjdHpk66LZe\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"64bfce7cb2ee42658170faa8f23b962d\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "802faadd-c950-4189-bacf-f07fb9c66f41" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALXZX\u002BtSthj9Bx4gHT1BWW5C3ewIuVe0TfRRKRid/tVnBwidkvyEda\u002BcHuvHf2QHbjJhU86xdmizo4IgXXJ3uL4/mQTIXwh4EdmGBFxr4//nbdOM3C/O7IerOb/5np5B1rEtIIFjxVrLc\u002BjeRaeH\u002Bf2KrZSW0UZA/szliSoguNi9d59qtaF3VpNLNNtjqKlURKSoM6k4UVNTCN8qpuE9hCtxFpHN7w15aNsMNKb8Jm23jcoBeveiFSM1PHuLw43fWPe4eL9Tq2gus1pmuzOFVw6OMS5VV9jBcpsLJEgX\u002BVnxoJMpvxVDmVl0ip\u002B/WsG2LnoG7Z23ns1bvx7MNtAoFWECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCl6XMbjnMfmdaK/A5WpSFTQus90urZxCW4daPN\u002BE\u002B789wgXv65qVh\u002BAGrDWAdrkc09s6D2RcDfx5O6fddKRBGPsMnxy5VFK1O15zzKOWhley7GHQoG5HS4L3aBDKTHEXS4AwYHpOanyDADgIcw1859h/HKiThQz837UPk5L8Gs6sibWNx7ruWkE1DY1L0C/J3RK8\u002BcSBIayt4Uxg20D15\u002Bq8nPilWUWdHdNyKGasRziIJP1tBHVnSemcsFeDLcllFN4qD0vOzo7MlhptBgzNHEprnavjs\u002BQXxFs\u002B68U55eT3YRcYjsCkshDGyhhDKR266prAAd6w5gRslIS7vb2U6c", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "048fec743038422987fcc85b300b2d2d" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert806319a0bac/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/pending?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "31", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "cancellation_requested": true + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e395a14b-d79a-44f9-b688-381d04d28a6b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALXZX\u002BtSthj9Bx4gHT1BWW5C3ewIuVe0TfRRKRid/tVnBwidkvyEda\u002BcHuvHf2QHbjJhU86xdmizo4IgXXJ3uL4/mQTIXwh4EdmGBFxr4//nbdOM3C/O7IerOb/5np5B1rEtIIFjxVrLc\u002BjeRaeH\u002Bf2KrZSW0UZA/szliSoguNi9d59qtaF3VpNLNNtjqKlURKSoM6k4UVNTCN8qpuE9hCtxFpHN7w15aNsMNKb8Jm23jcoBeveiFSM1PHuLw43fWPe4eL9Tq2gus1pmuzOFVw6OMS5VV9jBcpsLJEgX\u002BVnxoJMpvxVDmVl0ip\u002B/WsG2LnoG7Z23ns1bvx7MNtAoFWECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCl6XMbjnMfmdaK/A5WpSFTQus90urZxCW4daPN\u002BE\u002B789wgXv65qVh\u002BAGrDWAdrkc09s6D2RcDfx5O6fddKRBGPsMnxy5VFK1O15zzKOWhley7GHQoG5HS4L3aBDKTHEXS4AwYHpOanyDADgIcw1859h/HKiThQz837UPk5L8Gs6sibWNx7ruWkE1DY1L0C/J3RK8\u002BcSBIayt4Uxg20D15\u002Bq8nPilWUWdHdNyKGasRziIJP1tBHVnSemcsFeDLcllFN4qD0vOzo7MlhptBgzNHEprnavjs\u002BQXxFs\u002B68U55eT3YRcYjsCkshDGyhhDKR266prAAd6w5gRslIS7vb2U6c", + "cancellation_requested": true, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "048fec743038422987fcc85b300b2d2d" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 06 Apr 2023 23:04:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=131.107.8.97;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1134", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "998d727e-4e89-452a-b5d2-67ef3ab703d3", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALkJDLsMaRtqqngG2IbDDuL0gMga9jCgnno789BNLyXtoIL01w+gcuhri/lPkL9zv0tcCVQd6Tztq8rO+H+kgto2Ou5Vs19qddRJQv4pzjGo21N80RmHDd73pSUbYdwAEgWCUBxnvfrqcXerRi4AmwV6Np63THPgxHSNcAfp9eBmIo9pskOudEwhhjQZOmGtgljSKNcFJG/NoBcixgosrw1g7XWrOcfUqatAnZX2pXBGGbffoEccaN3aCdpr97c0B+9e/qlh8mkIpY0Ee4PMzCLcnzXki/v9aK2xetvbpMmb3Iie+BqHF9f/OxmOTR9NlsLphBuMt8ac0I5Rq46BQqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBURjRPOLJnewzKja6fbNK+0uShpuwHdnqjU3bQwMORIhSz9V5aqHiOkK1k3yCnUsD0Wly2K4PYqvJwBg0m7jdRQJ94WEOhBVQhr6nlXpNhYdBxRm8GpAcT0BQD5c2IF6O9XFN4TA+slpM69gXIhirEphcfTl1Y75sEVeaoH7nHASfYS7rHTF4zgeujteLlgKfj0s6jPIE3wt7+dbKDBVXgfjCWrljIPL89P+UBg0v0tZiKOpXrCMOZFFyLQ/MUhfQVP7k+gVvxAnW10CRYsJux/k5WFJIxyovPlSSz25ghwqRSMyKq/PlGnfsXJ/LRAJ8QsedVMn9C2CjdHpk66LZe\",\"cancellation_requested\":true,\"status\":\"cancelled\",\"request_id\":\"64bfce7cb2ee42658170faa8f23b962d\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4ad8d219-fcd5-4caa-a6ea-cd7f19635dcf" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALXZX\u002BtSthj9Bx4gHT1BWW5C3ewIuVe0TfRRKRid/tVnBwidkvyEda\u002BcHuvHf2QHbjJhU86xdmizo4IgXXJ3uL4/mQTIXwh4EdmGBFxr4//nbdOM3C/O7IerOb/5np5B1rEtIIFjxVrLc\u002BjeRaeH\u002Bf2KrZSW0UZA/szliSoguNi9d59qtaF3VpNLNNtjqKlURKSoM6k4UVNTCN8qpuE9hCtxFpHN7w15aNsMNKb8Jm23jcoBeveiFSM1PHuLw43fWPe4eL9Tq2gus1pmuzOFVw6OMS5VV9jBcpsLJEgX\u002BVnxoJMpvxVDmVl0ip\u002B/WsG2LnoG7Z23ns1bvx7MNtAoFWECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCl6XMbjnMfmdaK/A5WpSFTQus90urZxCW4daPN\u002BE\u002B789wgXv65qVh\u002BAGrDWAdrkc09s6D2RcDfx5O6fddKRBGPsMnxy5VFK1O15zzKOWhley7GHQoG5HS4L3aBDKTHEXS4AwYHpOanyDADgIcw1859h/HKiThQz837UPk5L8Gs6sibWNx7ruWkE1DY1L0C/J3RK8\u002BcSBIayt4Uxg20D15\u002Bq8nPilWUWdHdNyKGasRziIJP1tBHVnSemcsFeDLcllFN4qD0vOzo7MlhptBgzNHEprnavjs\u002BQXxFs\u002B68U55eT3YRcYjsCkshDGyhhDKR266prAAd6w5gRslIS7vb2U6c", + "cancellation_requested": true, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "048fec743038422987fcc85b300b2d2d" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert806319a0bac/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a6a54137-e63b-4328-93e9-b312a8670442" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALXZX\u002BtSthj9Bx4gHT1BWW5C3ewIuVe0TfRRKRid/tVnBwidkvyEda\u002BcHuvHf2QHbjJhU86xdmizo4IgXXJ3uL4/mQTIXwh4EdmGBFxr4//nbdOM3C/O7IerOb/5np5B1rEtIIFjxVrLc\u002BjeRaeH\u002Bf2KrZSW0UZA/szliSoguNi9d59qtaF3VpNLNNtjqKlURKSoM6k4UVNTCN8qpuE9hCtxFpHN7w15aNsMNKb8Jm23jcoBeveiFSM1PHuLw43fWPe4eL9Tq2gus1pmuzOFVw6OMS5VV9jBcpsLJEgX\u002BVnxoJMpvxVDmVl0ip\u002B/WsG2LnoG7Z23ns1bvx7MNtAoFWECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCl6XMbjnMfmdaK/A5WpSFTQus90urZxCW4daPN\u002BE\u002B789wgXv65qVh\u002BAGrDWAdrkc09s6D2RcDfx5O6fddKRBGPsMnxy5VFK1O15zzKOWhley7GHQoG5HS4L3aBDKTHEXS4AwYHpOanyDADgIcw1859h/HKiThQz837UPk5L8Gs6sibWNx7ruWkE1DY1L0C/J3RK8\u002BcSBIayt4Uxg20D15\u002Bq8nPilWUWdHdNyKGasRziIJP1tBHVnSemcsFeDLcllFN4qD0vOzo7MlhptBgzNHEprnavjs\u002BQXxFs\u002B68U55eT3YRcYjsCkshDGyhhDKR266prAAd6w5gRslIS7vb2U6c", + "cancellation_requested": true, + "status": "cancelled", + "request_id": "048fec743038422987fcc85b300b2d2d" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 06 Apr 2023 23:04:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=131.107.8.97;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1014", - "x-ms-keyvault-service-version" : "1.9.749.1", - "x-ms-request-id" : "f7a2ad3c-a5e8-4c0f-871c-40d7e2355a6e", - "Body" : "{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/06a14a03954743078504b3f9561dabca\",\"attributes\":{\"enabled\":false,\"nbf\":1680821642,\"exp\":1712444642,\"created\":1680822242,\"updated\":1680822242,\"recoveryLevel\":\"Recoverable+Purgeable\",\"recoverableDays\":90},\"policy\":{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1680822243,\"updated\":1680822243}},\"pending\":{\"id\":\"https://azure-kv-tests2.vault.azure.net/certificates/testcert806319a0bac/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert806319a0bac" ] + { + "RequestUri": "https://REDACTED/certificates/testcert05792b1d900/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1023", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2831954a-42d9-44c6-a7ab-1cfcb4456658" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/05434b6ec39e4eca9b9b2c79f3ec3c8d", + "attributes": { + "enabled": false, + "nbf": 1681267338, + "exp": 1712890338, + "created": 1681267939, + "updated": 1681267939, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267939, + "updated": 1681267939 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert05792b1d900/pending" + } + } + } + ], + "Variables": { + "0": "testcert05792b1d900" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateEmptyName[1].json index ace80c51f450c..3a7a35085199d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateEmptyName[1].json @@ -1,29 +1,88 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates//create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f45edebe-2a0b-424a-9c65-efbe6f3dfcc6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "71", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d7598d16-c3f1-47a8-91be-485944c0e2b4", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP POST not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "71", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dd5f217e-33e8-4de8-983a-d0e8221edff2" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP POST not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNullPolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNullPolicy[1].json index f5614498811c7..b68039d529ea5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNullPolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNullPolicy[1].json @@ -1,4 +1,6 @@ { - "networkCallRecords" : [ ], - "variables" : [ "tempcert49214807" ] -} \ No newline at end of file + "Entries": [], + "Variables": { + "0": "tempcert6872727d" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNull[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateWithMultipleTenants[1].json index e54904648a6dd..b22e45d18ca58 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificateWithMultipleTenants[1].json @@ -1,206 +1,664 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert724831b1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "280434d7-811b-4595-bee8-739ad671c254" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:36 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "91288d43-c781-4e59-89b4-9b250aec9213", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "618334f8-8441-4679-b681-c9378de99b2b" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert724831b1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7873d1bf-6435-49f5-b939-56145740f4eb" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:39 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "092aca48-b51e-49d5-b697-0efb0c28ab09", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0qRD6jZCy0TbyGGleJYgvvZ1gYN3RGNi8E7OdylYK01sPUUHJePiPNYq4iD5hO3UlDRY4AgzSWbojAu0jtO0rqZ9WdPdQVHv7u36jCdrZeCSmTZ4EE0Q8oU4FDAKlOwzOCnSbso0jUWTZj2D0Kzaq8cVAClh2ZwGXI+o0ZjnK6vbLCOjhfdJLd2v82XkXZu4I2rjE4LTAmhc1TKt8luKH6U2BbFKXEsFeLM7cdElxACoc6HsUUxm1yPhz0LGwivorHBIAtrLgZYvHSkmtttGStorTjE/qi/cyw2QWvSKDIzgHdHYLpDvMnVyChIt6pTaCjA/sU2xFXy59MiQIkuz0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAb0NocAjMAVu/OqdvvGuhujubfYcQoqvx5DQLUzlnSMcgBzugAdlKCZ9DCM1DEYBU07HeVJ9XQAFicCAsmOg+cpFbxqd62ovK8Io8JaisCY3FrlCHo2hEVLwjK7gNUzMo05YST1VgzrnpwY9ZacSyd7r8O+ezBXcqbBVfAOq+xTPqyWOns6Q5SpPveHR0aB2kYumFeSgvfIzlsSNdFwrLbfiL3K4Hie6b9605ViYTyaBqqPuq+ZH22zPp1KSrtALuNOhSgIxKklTXnWebi1kvvkTnPogJ7+REg1bCCeF12R4e33f61ePBUEm5U5UlCAWlYA+9RRwFxePMfBYX932XK\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"90b6f226c7104938a4af6dede2a89947\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert724831b1/pending?api-version=7.4&request_id=90b6f226c7104938a4af6dede2a89947", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "48e0125b-5008-4cbe-949d-d4648baf3272" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert724831b1/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f0cf2ac7-f31c-4054-823c-6b9a67ba66a5" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:40 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fad4af49-ef55-4a31-b77c-c91b7d2a6ab2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0qRD6jZCy0TbyGGleJYgvvZ1gYN3RGNi8E7OdylYK01sPUUHJePiPNYq4iD5hO3UlDRY4AgzSWbojAu0jtO0rqZ9WdPdQVHv7u36jCdrZeCSmTZ4EE0Q8oU4FDAKlOwzOCnSbso0jUWTZj2D0Kzaq8cVAClh2ZwGXI+o0ZjnK6vbLCOjhfdJLd2v82XkXZu4I2rjE4LTAmhc1TKt8luKH6U2BbFKXEsFeLM7cdElxACoc6HsUUxm1yPhz0LGwivorHBIAtrLgZYvHSkmtttGStorTjE/qi/cyw2QWvSKDIzgHdHYLpDvMnVyChIt6pTaCjA/sU2xFXy59MiQIkuz0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAb0NocAjMAVu/OqdvvGuhujubfYcQoqvx5DQLUzlnSMcgBzugAdlKCZ9DCM1DEYBU07HeVJ9XQAFicCAsmOg+cpFbxqd62ovK8Io8JaisCY3FrlCHo2hEVLwjK7gNUzMo05YST1VgzrnpwY9ZacSyd7r8O+ezBXcqbBVfAOq+xTPqyWOns6Q5SpPveHR0aB2kYumFeSgvfIzlsSNdFwrLbfiL3K4Hie6b9605ViYTyaBqqPuq+ZH22zPp1KSrtALuNOhSgIxKklTXnWebi1kvvkTnPogJ7+REg1bCCeF12R4e33f61ePBUEm5U5UlCAWlYA+9RRwFxePMfBYX932XK\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1\",\"request_id\":\"90b6f226c7104938a4af6dede2a89947\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:37 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/pending?api-version=7.4\u0026request_id=64ff8b3cef2f49bb847f45337f5200ea", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "25f5dbf6-f5b6-4bd8-966d-1d4641e2d67f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALP9MjhnGaXXLuI6wqFvu/BG\u002BRlcKYXi02LMq/M2luzJpTK7DyEzMPI0iQS3GTMgnsmtY54zBKhILAxnhMsH1zjzrTjzZU6l1CgKih11BnRHVJ0z9saiRJAwiTkbENj1nknr189\u002Bt6fFLmYRJetImH5ifQv/tzZx9MRaJxV033w6z4GXqA\u002BD99F7WDJpeOZbfiaApbzjD3bNl620AfKy8Y3GkWlUar1udMIUEvbDgtUsKsgD0iquVV0XMfMEIyXmA7pLHa40u22\u002BrhaRzCnhiB2PXbpEw4hOTQ2VCB5SAMM9mUlv3Ztqne71YGvUJd0agjxwmRrClcZdd/XvPY877U0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCsy64Yyrb0\u002BtTGuDPJEyRCX0p1Cagco6jlwuvUnwWhrWimyw3seY5BZV1Ex3A8AlzRQ6E0Umjxf\u002B4jLgICK4BVwtNBpG4cXXQ2SU07mErmqs3uI4ZMOLfXVL8Q7qwky0cide5CnuqCbhwfo9p9TpvVqouzNaT6WLKI3SviJ5whMulCour1E74I4\u002BMU4hfUPa1UwGkWrsTGKqMmRDJVWWq16J4dJ2MTmEpk9/1a7fNE04hiLktR/Zv0yvQP4hJ/SQjYJd\u002Bul2mCd1F44V6ggaTArCTZRywCLpcL\u002BfAtWZBBD9wCkmgMXSITqPerXlb/PW//1p772y8IEJFufrb8ep\u002Bs", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "64ff8b3cef2f49bb847f45337f5200ea" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert724831b1/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4074eaed-4630-4489-8d20-9051c2fbc7a1" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALP9MjhnGaXXLuI6wqFvu/BG\u002BRlcKYXi02LMq/M2luzJpTK7DyEzMPI0iQS3GTMgnsmtY54zBKhILAxnhMsH1zjzrTjzZU6l1CgKih11BnRHVJ0z9saiRJAwiTkbENj1nknr189\u002Bt6fFLmYRJetImH5ifQv/tzZx9MRaJxV033w6z4GXqA\u002BD99F7WDJpeOZbfiaApbzjD3bNl620AfKy8Y3GkWlUar1udMIUEvbDgtUsKsgD0iquVV0XMfMEIyXmA7pLHa40u22\u002BrhaRzCnhiB2PXbpEw4hOTQ2VCB5SAMM9mUlv3Ztqne71YGvUJd0agjxwmRrClcZdd/XvPY877U0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCsy64Yyrb0\u002BtTGuDPJEyRCX0p1Cagco6jlwuvUnwWhrWimyw3seY5BZV1Ex3A8AlzRQ6E0Umjxf\u002B4jLgICK4BVwtNBpG4cXXQ2SU07mErmqs3uI4ZMOLfXVL8Q7qwky0cide5CnuqCbhwfo9p9TpvVqouzNaT6WLKI3SviJ5whMulCour1E74I4\u002BMU4hfUPa1UwGkWrsTGKqMmRDJVWWq16J4dJ2MTmEpk9/1a7fNE04hiLktR/Zv0yvQP4hJ/SQjYJd\u002Bul2mCd1F44V6ggaTArCTZRywCLpcL\u002BfAtWZBBD9wCkmgMXSITqPerXlb/PW//1p772y8IEJFufrb8ep\u002Bs", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b", + "request_id": "64ff8b3cef2f49bb847f45337f5200ea" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:39 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2381", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "903a4fca-7be9-4a70-9b17-e63804ee9fd9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1/bbf634e0621e473a9b08895bac1ac81b\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert724831b1/bbf634e0621e473a9b08895bac1ac81b\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert724831b1/bbf634e0621e473a9b08895bac1ac81b\",\"x5t\":\"opT8GylLzaWrQBBzlS6WNcOh-Rg\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQGiggDJIWRu6nGNImA7EAaTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzOVoXDTI0MDMxNjA4MDkzOVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0qRD6jZCy0TbyGGleJYgvvZ1gYN3RGNi8E7OdylYK01sPUUHJePiPNYq4iD5hO3UlDRY4AgzSWbojAu0jtO0rqZ9WdPdQVHv7u36jCdrZeCSmTZ4EE0Q8oU4FDAKlOwzOCnSbso0jUWTZj2D0Kzaq8cVAClh2ZwGXI+o0ZjnK6vbLCOjhfdJLd2v82XkXZu4I2rjE4LTAmhc1TKt8luKH6U2BbFKXEsFeLM7cdElxACoc6HsUUxm1yPhz0LGwivorHBIAtrLgZYvHSkmtttGStorTjE/qi/cyw2QWvSKDIzgHdHYLpDvMnVyChIt6pTaCjA/sU2xFXy59MiQIkuz0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFExhjhSTI+hwhwgEtiXdVOLWco9nMB0GA1UdDgQWBBRMYY4UkyPocIcIBLYl3VTi1nKPZzANBgkqhkiG9w0BAQsFAAOCAQEAIMaTEqVKKNIoEXEaM5GKyKt8sx7mmblqzkmEgaqxqHeOZ3GLfhfC+pD+xVRVd8mYiVhTJKpOa4dCFBTUQw5shdjWnAykiS+GuSSfGtabHVxrCrmo6blIiSwJSbtgP0+0PGl2hqNUpZTLk2bELw4+tB0G6ddoGlgM1E5KRfyYt3EtsGmQdnll5mqYMa9Moo+SLwhTFeKo3/urOS0As6QVYQT6DGAWEj13cGAYYlNPLSWoJHXocX0zhUdgZYDq8XnNr6FZVMXF83dBmSOsCwm7e6d/yJ/yRJT+sn6PO0+R9SNbweiF6YciZQQQ2VU1HwNWSbT7ZxO2llWRK0v1sgBdow==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953579,\"exp\":1710576579,\"created\":1678954179,\"updated\":1678954179,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954178,\"updated\":1678954178}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert4513181b/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d90d3c60-98c1-4772-93e0-e430d1437aed" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/e511bf1d0eaa45ac86f1de818bbff28c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert4513181b/e511bf1d0eaa45ac86f1de818bbff28c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert4513181b/e511bf1d0eaa45ac86f1de818bbff28c", + "x5t": "ba6Nv3RsCtYvh4D3-48pp4gKhzQ", + "cer": "MIIDNjCCAh6gAwIBAgIQZ33q3fuITgqq8KeMe\u002BaqSjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIzN1oXDTI0MDQxMjAyNTIzN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALP9MjhnGaXXLuI6wqFvu/BG\u002BRlcKYXi02LMq/M2luzJpTK7DyEzMPI0iQS3GTMgnsmtY54zBKhILAxnhMsH1zjzrTjzZU6l1CgKih11BnRHVJ0z9saiRJAwiTkbENj1nknr189\u002Bt6fFLmYRJetImH5ifQv/tzZx9MRaJxV033w6z4GXqA\u002BD99F7WDJpeOZbfiaApbzjD3bNl620AfKy8Y3GkWlUar1udMIUEvbDgtUsKsgD0iquVV0XMfMEIyXmA7pLHa40u22\u002BrhaRzCnhiB2PXbpEw4hOTQ2VCB5SAMM9mUlv3Ztqne71YGvUJd0agjxwmRrClcZdd/XvPY877U0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOkT4YgM4fZRGKKpZ7rgYZbB9bQvMB0GA1UdDgQWBBTpE\u002BGIDOH2URiiqWe64GGWwfW0LzANBgkqhkiG9w0BAQsFAAOCAQEAhlPTmsFySIOj7sU4iuC3wKpRfX/FGYLwIicFRTqlfYUbk5jDp\u002BQG4hmqjBqr6BBaxKBpcpULnhawYmP1aNa21bX6CrzFx4E9q0nGkrKrQqm7Rq1/Cis8ZSE2X1ZExqmaNaCjiPJT1NSu/1IE6BPZ6/EB40z17EYVohnt6l20IGHZVfRSGORHvF57trUN9f98DNeFCeB2KpMqC4qYmTS98D98w7\u002BBs1xbBY3Sj2KD8sgn6PJfE7rqGfNDtlYrdrhRu1VfgW70MJUTmp/yeL9SQSl3QfTytgYQnIkn28iDLet3D588Yx0Ch6ewxmjaksc5N//DCwDv/OMuYYT3Y4Tz9w==", + "attributes": { + "enabled": true, + "nbf": 1681267357, + "exp": 1712890357, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267957, + "updated": 1681267957 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b/pending" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert5757831c/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert809045b9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ffb21ea-aa36-4644-8f5c-5a138d383c75" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "838f7646-5eb7-41a7-b246-2bd250048e9a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMmoqSZsqheQEUbIiB94BqaB78cMw/pYAGKuO6tiXiknYY5dIXFDTd5JTTLrxS5y2Hg9MyjU88zovY5Z1O4MKTiQHueDYMnpfHJsq3c1nlZUuzDe3LQJ8a7IgeoSPzLdomxrVM6EGhI61i8ESqEGkmPktQekyD5IwI0jvCET3GURmQtQCU1FPu4Ac+wZmPVnIwZjbuEBKpqocgImU690YiSYoHhkIseuIWNKhO0bi3IH+KTlDCe+4Ftz31oF3+5D8iak/WB47uMmmCqk2dLxpWsmLb/vchJzj4wdbULVPq3B3bHJqWb/ASN5miTq/f5ie0PHWSUC8Bu/8JBkOxyYrN0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBJWC4I1UEz5gajLEdf0gAxc/bRWiWjesQPgJafBFuaJUuTMuzKTh52YJG5IRjZdCnxe++z7hWkdHnMhDuc7mbKIcxu2jTJSl10sMjQBn9rj8XVg8Jdshwdl0vXZp7gG5iPQKnw9aJGhXafCWd8nCuXLndiE6gCqUnPwfl9oS432ziGZwsCtSKSu/94YaQojtCPWis+q7IIfol5DDV9WqetB7BzJpkIlO3STnAmHd11aOKrAH3yGf9LTI6vy3mEr948m1R0m3XDRnfIqMJguLbGDRimo/AMgOrhtF0u1yfKKKl072VIbfDw+yduRWvTX0+ZUmVgZg0scDhxSz3Zc1mi\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e72f253de6b8496c91c44883c52c17b8\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert5757831c/pending?api-version=7.4&request_id=e72f253de6b8496c91c44883c52c17b8", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert809045b9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:41 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/pending?api-version=7.4\u0026request_id=e2979dcce1da42b29802be25d3615d6e", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "975757f2-edb3-45b4-a80e-7007e291b5c2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPh0Nr87WgVIyHXC2WreFywNesF9oe7dzWDmB6g1puB9ZZ9z\u002BGFmXN/LYqNnZ1pS9eLdhvGHpsOuGjv7WnUx1P10OsLr10yPCMsnV33aCfR1dWgsV8LkNK3mOtWHLmq9cnXDsAv7\u002Bf\u002B/8hdfOQdKGGtYyQNhFaGm7COQRtH/Ka/H4fT44SSAVIejWvtOcXnjiSV09sOvXMj04swD1tYSKzTqz\u002BardD2cyydITa/csZFHkW6wSyV5F0v6gAmI4v0O\u002BYzyylZyGtt4T3N572d156C97wxA\u002BufU2Eyl2qZa66M2LFePnvyWJqOR3QpfBfpkTuCVV19d3eriJeC4GeVNu\u002BkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAVTcVTv6LNDhblPWPS1ezlXM7331w3BwQoa6cSi7WV\u002Bpl7g78\u002BoZubaXRt22yKoxqNwaS6Ga9Cx\u002B7jfWqmC\u002BgETulQnAhwAEAFCi3dhJ\u002BFKSkHpGWNRV5r\u002BLnrRdA/B3XzJixn9dOD07WmZM09EelJPbLvLsiphf0ibXH3XCNx6w6J/EPGv7jGlUR1tYe8o2tCqhzE0i9f0ZBSWnyKs7c8ThL9z2UQcFAd\u002BDxsoa9UQ3X1LVEp8jQRTbZHkqWpmYtysaXGtFE8aIkQtdvEqboOp1vXw8LVkjmomj9QyfBq6E2Kc7LY3olJYkMWNJW5jQP\u002Bv0NEpQ2VKFUpQfc6aY2t", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "e2979dcce1da42b29802be25d3615d6e" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert5757831c/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert809045b9/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6a3a4467-6416-4090-897e-303ae5b01361" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPh0Nr87WgVIyHXC2WreFywNesF9oe7dzWDmB6g1puB9ZZ9z\u002BGFmXN/LYqNnZ1pS9eLdhvGHpsOuGjv7WnUx1P10OsLr10yPCMsnV33aCfR1dWgsV8LkNK3mOtWHLmq9cnXDsAv7\u002Bf\u002B/8hdfOQdKGGtYyQNhFaGm7COQRtH/Ka/H4fT44SSAVIejWvtOcXnjiSV09sOvXMj04swD1tYSKzTqz\u002BardD2cyydITa/csZFHkW6wSyV5F0v6gAmI4v0O\u002BYzyylZyGtt4T3N572d156C97wxA\u002BufU2Eyl2qZa66M2LFePnvyWJqOR3QpfBfpkTuCVV19d3eriJeC4GeVNu\u002BkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAVTcVTv6LNDhblPWPS1ezlXM7331w3BwQoa6cSi7WV\u002Bpl7g78\u002BoZubaXRt22yKoxqNwaS6Ga9Cx\u002B7jfWqmC\u002BgETulQnAhwAEAFCi3dhJ\u002BFKSkHpGWNRV5r\u002BLnrRdA/B3XzJixn9dOD07WmZM09EelJPbLvLsiphf0ibXH3XCNx6w6J/EPGv7jGlUR1tYe8o2tCqhzE0i9f0ZBSWnyKs7c8ThL9z2UQcFAd\u002BDxsoa9UQ3X1LVEp8jQRTbZHkqWpmYtysaXGtFE8aIkQtdvEqboOp1vXw8LVkjmomj9QyfBq6E2Kc7LY3olJYkMWNJW5jQP\u002Bv0NEpQ2VKFUpQfc6aY2t", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9", + "request_id": "e2979dcce1da42b29802be25d3615d6e" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0584b61a-a3c7-43ad-84d5-ebacb2f4ab7c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMmoqSZsqheQEUbIiB94BqaB78cMw/pYAGKuO6tiXiknYY5dIXFDTd5JTTLrxS5y2Hg9MyjU88zovY5Z1O4MKTiQHueDYMnpfHJsq3c1nlZUuzDe3LQJ8a7IgeoSPzLdomxrVM6EGhI61i8ESqEGkmPktQekyD5IwI0jvCET3GURmQtQCU1FPu4Ac+wZmPVnIwZjbuEBKpqocgImU690YiSYoHhkIseuIWNKhO0bi3IH+KTlDCe+4Ftz31oF3+5D8iak/WB47uMmmCqk2dLxpWsmLb/vchJzj4wdbULVPq3B3bHJqWb/ASN5miTq/f5ie0PHWSUC8Bu/8JBkOxyYrN0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBJWC4I1UEz5gajLEdf0gAxc/bRWiWjesQPgJafBFuaJUuTMuzKTh52YJG5IRjZdCnxe++z7hWkdHnMhDuc7mbKIcxu2jTJSl10sMjQBn9rj8XVg8Jdshwdl0vXZp7gG5iPQKnw9aJGhXafCWd8nCuXLndiE6gCqUnPwfl9oS432ziGZwsCtSKSu/94YaQojtCPWis+q7IIfol5DDV9WqetB7BzJpkIlO3STnAmHd11aOKrAH3yGf9LTI6vy3mEr948m1R0m3XDRnfIqMJguLbGDRimo/AMgOrhtF0u1yfKKKl072VIbfDw+yduRWvTX0+ZUmVgZg0scDhxSz3Zc1mi\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e72f253de6b8496c91c44883c52c17b8\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert5757831c/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "60eabd21-48c7-4b48-9456-b6002720c48f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMmoqSZsqheQEUbIiB94BqaB78cMw/pYAGKuO6tiXiknYY5dIXFDTd5JTTLrxS5y2Hg9MyjU88zovY5Z1O4MKTiQHueDYMnpfHJsq3c1nlZUuzDe3LQJ8a7IgeoSPzLdomxrVM6EGhI61i8ESqEGkmPktQekyD5IwI0jvCET3GURmQtQCU1FPu4Ac+wZmPVnIwZjbuEBKpqocgImU690YiSYoHhkIseuIWNKhO0bi3IH+KTlDCe+4Ftz31oF3+5D8iak/WB47uMmmCqk2dLxpWsmLb/vchJzj4wdbULVPq3B3bHJqWb/ASN5miTq/f5ie0PHWSUC8Bu/8JBkOxyYrN0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBJWC4I1UEz5gajLEdf0gAxc/bRWiWjesQPgJafBFuaJUuTMuzKTh52YJG5IRjZdCnxe++z7hWkdHnMhDuc7mbKIcxu2jTJSl10sMjQBn9rj8XVg8Jdshwdl0vXZp7gG5iPQKnw9aJGhXafCWd8nCuXLndiE6gCqUnPwfl9oS432ziGZwsCtSKSu/94YaQojtCPWis+q7IIfol5DDV9WqetB7BzJpkIlO3STnAmHd11aOKrAH3yGf9LTI6vy3mEr948m1R0m3XDRnfIqMJguLbGDRimo/AMgOrhtF0u1yfKKKl072VIbfDw+yduRWvTX0+ZUmVgZg0scDhxSz3Zc1mi\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c\",\"request_id\":\"e72f253de6b8496c91c44883c52c17b8\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert5757831c/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2381", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "67036a29-55c1-4d64-9f29-ca32a8f1d2fc", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/e59b36d77faf4eba82a2641d3c78cf01\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert5757831c/e59b36d77faf4eba82a2641d3c78cf01\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert5757831c/e59b36d77faf4eba82a2641d3c78cf01\",\"x5t\":\"OwBYBMp3wduHSbKu334v3hjsi08\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQEaGkBiQRRKys+Hif3a93lDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTk0M1oXDTI0MDMxNjA4MDk0M1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMmoqSZsqheQEUbIiB94BqaB78cMw/pYAGKuO6tiXiknYY5dIXFDTd5JTTLrxS5y2Hg9MyjU88zovY5Z1O4MKTiQHueDYMnpfHJsq3c1nlZUuzDe3LQJ8a7IgeoSPzLdomxrVM6EGhI61i8ESqEGkmPktQekyD5IwI0jvCET3GURmQtQCU1FPu4Ac+wZmPVnIwZjbuEBKpqocgImU690YiSYoHhkIseuIWNKhO0bi3IH+KTlDCe+4Ftz31oF3+5D8iak/WB47uMmmCqk2dLxpWsmLb/vchJzj4wdbULVPq3B3bHJqWb/ASN5miTq/f5ie0PHWSUC8Bu/8JBkOxyYrN0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFBl1OZ/YySK2Q1LPDaMCxyzdkMcxMB0GA1UdDgQWBBQZdTmf2MkitkNSzw2jAscs3ZDHMTANBgkqhkiG9w0BAQsFAAOCAQEAUrm5/5CnPKXntqt+DqwvuA3OIGiHuSn698WObNsoCHUfKPMA/OLxjNRAmhNpamNm+HT5NQh2WnqQ3/Tubz01i0aiBHP62c9nq3QiJ7bGgWyWZk8+fjYMWomEu+pMbk9vGaP7EGEJ52R7sgc+w7c625TAwf9wAfqBhlfx/0lOGVlm3Shm4B1ccabdvnK0OI56TGLeMUCI0dCo0lBDLYwyA0hqqs0m52+qLIuzewZHyo81rcxSwn5BlunlWXKBZiAYVWwdeN/eW8ICBzuTqsfAavAiZCIZhdpQWN65jCF0s8VpNeE0YTa9Jayxn35n1TlhBlJsr2M5jdNW1T2H6RvdDQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953583,\"exp\":1710576583,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954180,\"updated\":1678954180}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "2fb7d436-ad5d-4843-962e-7beda33bae8a", "testcert724831b1", "testcert5757831c" ] + { + "RequestUri": "https://REDACTED/certificates/testcert809045b9/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2371", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "654e90f9-42eb-4776-bb7f-d6f8a9e19e8d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/e479d5c378b94686be1ad74b59842ead", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert809045b9/e479d5c378b94686be1ad74b59842ead", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert809045b9/e479d5c378b94686be1ad74b59842ead", + "x5t": "bJb0YhbyZ8CE1KfHbPV2z5RiFlE", + "cer": "MIIDNjCCAh6gAwIBAgIQX8Hnu4KkQqS\u002BXq0FFQB\u002BQDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI0MloXDTI0MDQxMjAyNTI0MlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPh0Nr87WgVIyHXC2WreFywNesF9oe7dzWDmB6g1puB9ZZ9z\u002BGFmXN/LYqNnZ1pS9eLdhvGHpsOuGjv7WnUx1P10OsLr10yPCMsnV33aCfR1dWgsV8LkNK3mOtWHLmq9cnXDsAv7\u002Bf\u002B/8hdfOQdKGGtYyQNhFaGm7COQRtH/Ka/H4fT44SSAVIejWvtOcXnjiSV09sOvXMj04swD1tYSKzTqz\u002BardD2cyydITa/csZFHkW6wSyV5F0v6gAmI4v0O\u002BYzyylZyGtt4T3N572d156C97wxA\u002BufU2Eyl2qZa66M2LFePnvyWJqOR3QpfBfpkTuCVV19d3eriJeC4GeVNu\u002BkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFLIMzGUixj2PsknbMuzwKiX1qCLfMB0GA1UdDgQWBBSyDMxlIsY9j7JJ2zLs8Col9agi3zANBgkqhkiG9w0BAQsFAAOCAQEAKp3KOj0QSqw9r0RCwMWz/8/gwI8Z673FbpFukZ3oc6DO9wWbX8zSV3GDs1748DIquoo/8VKMsFpLXwvO7unJd\u002BO1ey6v5lhFjafkR791DIC9w1iQT6TLYvNxmz7udInfeBmpbWehFhcv3n/p4mv8Y\u002BI0C3yv5kMnrCEFe/bLd9949\u002B/QUaUPnTULP\u002BvxBDxNQnL3K2NMh/pH1TooDFc3ttAmtAj5naxxl2LM\u002BVuplEf/PtNBOxYY1wgZjAE7CdBeJ4Oh4RdcrIOReyEHZ2qV7HDejnU7n6Hvr6voRCoq4EHSUoofe8BHuRJXE5//2zd94rS4s\u002BHsdYCQ6BDrX8NI4g==", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267962, + "updated": 1681267962, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267961, + "updated": 1681267961 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9/pending" + } + } + } + ], + "Variables": { + "0": "886c8d18-44cd-4b9d-8851-f86752c85aaa", + "1": "testcert4513181b", + "2": "testcert809045b9" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificate[1].json index 5f3ff2e1875a0..ba5cbaa8b81bd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createCertificate[1].json @@ -1,105 +1,309 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert748574fa31b/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "db7c5679-2b9d-4bfe-94de-2d5a5009a9d8" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eedcc13f-0f2d-49b2-b47b-21f65afd7d62", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL7SA/g9BLeOAO/c8uPKXjWFQZDWD1GcQ/8CqZk6TBjxQJmrqYouX6Ua1vVkORpPjni0rFpxAysoWH7qzDbfrz54pJfKgY3oQD1rnCxS/tnhlZHSH8cP0qVk0go62g+50H+vjUKlZkrr0ywMXJ9rXTdWYc8Mm4lr/hWe5DRNpDjPLz8cQ93r9mIEPK8SyyV0rc/50bb+ykJNw7rP2mQrPV2V2lyahndXFXQ0ayp3Zf1B7LMDEOmZrbY+2wdOAoWV69cb123EzAnc0nMtiAbPpyKEkSVKilDU4HDXqwUIb7tfbP4Zp866ug+EgEWngpC1iTxkFur81XesR3ghZiQ+690CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBt3E08CDqyvl9WBDuvOMLPWwaOREZQAHqY7AErYjxTHgSAft0RKkUZ8caTFlzDJneydhhhUr1GqWoV2Qd4netvFRPueQkqyWcFSXdvGmgBTmK8ga0jgbCziGb6lfFWWnuErK/iWDXv0/HbWCC3MAoS17xeJGI1Dm/lhYCb+YPKoEU/AkL+fLTNpxHE3mTj/RACJQ5W96EmEU4ACF6Sq73ceWuKjwnVe54QwThfSWbjUBu3tOogxWF7I8AAhlV6gt9ZuWFwF4qj+xe1wPlDj04zJfzxqIoYnJA9xZ1v3d12P0tPAWX8LrdOoZ9mfrUN0i4rtNvWoVJ39PFeqY7S9egS\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"3a07c85ac9814e64b6760e96aec31fb0\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/pending?api-version=7.4&request_id=3a07c85ac9814e64b6760e96aec31fb0", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending?api-version=7.4\u0026request_id=a859bdfb8e7243bba32fc74156d9ef5c", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "72790f10-710b-4fa7-8848-e67f3f86de1f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMSAprS8QmslVyxMsmASYrJ\u002BBHDDbccWofZLyIhk5LIaherKjrsj4utlEcBXbsx3PfXkwRpRkhRQxNFQm6adEyzlwISNWJOfvVsx4lPhBt\u002BoFWZDvdbpxvk/Rx4uOvjOrQyU0n\u002BPBeiXp3Vngg8Te51hsBnoTlc5i89u7ZSyH/CNMgJCBOLq0E3I9bL4D4W4SfcGXjQ7XH\u002BYxI9itsDn7ss4M6F/pK6XOHGJ9woVqNITr7eAChPHYPZlCODLUXjLi4L29jBWKI5ItIRk86oBgO7gcgk9RPsBVEflJpQLrSDVJLmcoc6mV4mgBjZWZy1RN6QbLctOcsigxK8Q3VRxWX0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKQ7\u002B/TQVVZz1l/w209Yqs\u002BKZFyiau6M8dlp3dBoAeVeGm8VWeq9Wi5BqC7agrK2S9otHZVxJZeRq/AppIDP7oA3UhHYuAF0db13CmaNvgWZnkOGRB7mRv\u002BGs\u002BlpCMtBqYo0QyzrBa4VMMz//XvaWedtXBjdqTZGQfLDX0MzqxjmyXMnUHpIIMKrFnHlbUyUj6TAqOLRtF6Hptf3lwG0MOdagnCr/YV06/1q4tDPGIKBEpz6x\u002B8f8ji3Ylk/wXDGG9pcB0E4RHj6HKEUG2AOT33S6pAAru6c85csYuYhotFctSAMg4/x/H9Y6WzIshqXrpNEZX94zMDXMJWgdBIFQ7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a859bdfb8e7243bba32fc74156d9ef5c" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert748574fa31b/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a1957b76-480c-494b-aa4d-5792ad196853" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMSAprS8QmslVyxMsmASYrJ\u002BBHDDbccWofZLyIhk5LIaherKjrsj4utlEcBXbsx3PfXkwRpRkhRQxNFQm6adEyzlwISNWJOfvVsx4lPhBt\u002BoFWZDvdbpxvk/Rx4uOvjOrQyU0n\u002BPBeiXp3Vngg8Te51hsBnoTlc5i89u7ZSyH/CNMgJCBOLq0E3I9bL4D4W4SfcGXjQ7XH\u002BYxI9itsDn7ss4M6F/pK6XOHGJ9woVqNITr7eAChPHYPZlCODLUXjLi4L29jBWKI5ItIRk86oBgO7gcgk9RPsBVEflJpQLrSDVJLmcoc6mV4mgBjZWZy1RN6QbLctOcsigxK8Q3VRxWX0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKQ7\u002B/TQVVZz1l/w209Yqs\u002BKZFyiau6M8dlp3dBoAeVeGm8VWeq9Wi5BqC7agrK2S9otHZVxJZeRq/AppIDP7oA3UhHYuAF0db13CmaNvgWZnkOGRB7mRv\u002BGs\u002BlpCMtBqYo0QyzrBa4VMMz//XvaWedtXBjdqTZGQfLDX0MzqxjmyXMnUHpIIMKrFnHlbUyUj6TAqOLRtF6Hptf3lwG0MOdagnCr/YV06/1q4tDPGIKBEpz6x\u002B8f8ji3Ylk/wXDGG9pcB0E4RHj6HKEUG2AOT33S6pAAru6c85csYuYhotFctSAMg4/x/H9Y6WzIshqXrpNEZX94zMDXMJWgdBIFQ7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a859bdfb8e7243bba32fc74156d9ef5c" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "81eadfe2-a08f-486c-bfc0-3fce55ce66a3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL7SA/g9BLeOAO/c8uPKXjWFQZDWD1GcQ/8CqZk6TBjxQJmrqYouX6Ua1vVkORpPjni0rFpxAysoWH7qzDbfrz54pJfKgY3oQD1rnCxS/tnhlZHSH8cP0qVk0go62g+50H+vjUKlZkrr0ywMXJ9rXTdWYc8Mm4lr/hWe5DRNpDjPLz8cQ93r9mIEPK8SyyV0rc/50bb+ykJNw7rP2mQrPV2V2lyahndXFXQ0ayp3Zf1B7LMDEOmZrbY+2wdOAoWV69cb123EzAnc0nMtiAbPpyKEkSVKilDU4HDXqwUIb7tfbP4Zp866ug+EgEWngpC1iTxkFur81XesR3ghZiQ+690CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBt3E08CDqyvl9WBDuvOMLPWwaOREZQAHqY7AErYjxTHgSAft0RKkUZ8caTFlzDJneydhhhUr1GqWoV2Qd4netvFRPueQkqyWcFSXdvGmgBTmK8ga0jgbCziGb6lfFWWnuErK/iWDXv0/HbWCC3MAoS17xeJGI1Dm/lhYCb+YPKoEU/AkL+fLTNpxHE3mTj/RACJQ5W96EmEU4ACF6Sq73ceWuKjwnVe54QwThfSWbjUBu3tOogxWF7I8AAhlV6gt9ZuWFwF4qj+xe1wPlDj04zJfzxqIoYnJA9xZ1v3d12P0tPAWX8LrdOoZ9mfrUN0i4rtNvWoVJ39PFeqY7S9egS\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"3a07c85ac9814e64b6760e96aec31fb0\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4e3784ce-1bcb-4d1f-94f6-2aafaefd99f9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMSAprS8QmslVyxMsmASYrJ\u002BBHDDbccWofZLyIhk5LIaherKjrsj4utlEcBXbsx3PfXkwRpRkhRQxNFQm6adEyzlwISNWJOfvVsx4lPhBt\u002BoFWZDvdbpxvk/Rx4uOvjOrQyU0n\u002BPBeiXp3Vngg8Te51hsBnoTlc5i89u7ZSyH/CNMgJCBOLq0E3I9bL4D4W4SfcGXjQ7XH\u002BYxI9itsDn7ss4M6F/pK6XOHGJ9woVqNITr7eAChPHYPZlCODLUXjLi4L29jBWKI5ItIRk86oBgO7gcgk9RPsBVEflJpQLrSDVJLmcoc6mV4mgBjZWZy1RN6QbLctOcsigxK8Q3VRxWX0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKQ7\u002B/TQVVZz1l/w209Yqs\u002BKZFyiau6M8dlp3dBoAeVeGm8VWeq9Wi5BqC7agrK2S9otHZVxJZeRq/AppIDP7oA3UhHYuAF0db13CmaNvgWZnkOGRB7mRv\u002BGs\u002BlpCMtBqYo0QyzrBa4VMMz//XvaWedtXBjdqTZGQfLDX0MzqxjmyXMnUHpIIMKrFnHlbUyUj6TAqOLRtF6Hptf3lwG0MOdagnCr/YV06/1q4tDPGIKBEpz6x\u002B8f8ji3Ylk/wXDGG9pcB0E4RHj6HKEUG2AOT33S6pAAru6c85csYuYhotFctSAMg4/x/H9Y6WzIshqXrpNEZX94zMDXMJWgdBIFQ7", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a859bdfb8e7243bba32fc74156d9ef5c" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert748574fa31b/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8165c8ba-bbae-4354-8795-46e33532e0ee" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMSAprS8QmslVyxMsmASYrJ\u002BBHDDbccWofZLyIhk5LIaherKjrsj4utlEcBXbsx3PfXkwRpRkhRQxNFQm6adEyzlwISNWJOfvVsx4lPhBt\u002BoFWZDvdbpxvk/Rx4uOvjOrQyU0n\u002BPBeiXp3Vngg8Te51hsBnoTlc5i89u7ZSyH/CNMgJCBOLq0E3I9bL4D4W4SfcGXjQ7XH\u002BYxI9itsDn7ss4M6F/pK6XOHGJ9woVqNITr7eAChPHYPZlCODLUXjLi4L29jBWKI5ItIRk86oBgO7gcgk9RPsBVEflJpQLrSDVJLmcoc6mV4mgBjZWZy1RN6QbLctOcsigxK8Q3VRxWX0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKQ7\u002B/TQVVZz1l/w209Yqs\u002BKZFyiau6M8dlp3dBoAeVeGm8VWeq9Wi5BqC7agrK2S9otHZVxJZeRq/AppIDP7oA3UhHYuAF0db13CmaNvgWZnkOGRB7mRv\u002BGs\u002BlpCMtBqYo0QyzrBa4VMMz//XvaWedtXBjdqTZGQfLDX0MzqxjmyXMnUHpIIMKrFnHlbUyUj6TAqOLRtF6Hptf3lwG0MOdagnCr/YV06/1q4tDPGIKBEpz6x\u002B8f8ji3Ylk/wXDGG9pcB0E4RHj6HKEUG2AOT33S6pAAru6c85csYuYhotFctSAMg4/x/H9Y6WzIshqXrpNEZX94zMDXMJWgdBIFQ7", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30", + "request_id": "a859bdfb8e7243bba32fc74156d9ef5c" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dc87f7f9-627d-4bdf-8175-2096805bafb3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL7SA/g9BLeOAO/c8uPKXjWFQZDWD1GcQ/8CqZk6TBjxQJmrqYouX6Ua1vVkORpPjni0rFpxAysoWH7qzDbfrz54pJfKgY3oQD1rnCxS/tnhlZHSH8cP0qVk0go62g+50H+vjUKlZkrr0ywMXJ9rXTdWYc8Mm4lr/hWe5DRNpDjPLz8cQ93r9mIEPK8SyyV0rc/50bb+ykJNw7rP2mQrPV2V2lyahndXFXQ0ayp3Zf1B7LMDEOmZrbY+2wdOAoWV69cb123EzAnc0nMtiAbPpyKEkSVKilDU4HDXqwUIb7tfbP4Zp866ug+EgEWngpC1iTxkFur81XesR3ghZiQ+690CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBt3E08CDqyvl9WBDuvOMLPWwaOREZQAHqY7AErYjxTHgSAft0RKkUZ8caTFlzDJneydhhhUr1GqWoV2Qd4netvFRPueQkqyWcFSXdvGmgBTmK8ga0jgbCziGb6lfFWWnuErK/iWDXv0/HbWCC3MAoS17xeJGI1Dm/lhYCb+YPKoEU/AkL+fLTNpxHE3mTj/RACJQ5W96EmEU4ACF6Sq73ceWuKjwnVe54QwThfSWbjUBu3tOogxWF7I8AAhlV6gt9ZuWFwF4qj+xe1wPlDj04zJfzxqIoYnJA9xZ1v3d12P0tPAWX8LrdOoZ9mfrUN0i4rtNvWoVJ39PFeqY7S9egS\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b\",\"request_id\":\"3a07c85ac9814e64b6760e96aec31fb0\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert748574fa31b/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2396", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7c642831-6689-4cac-8ccf-0a91a9c5e845", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/79e3e08494e24a5abb8d756dd56ad03e\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert748574fa31b/79e3e08494e24a5abb8d756dd56ad03e\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert748574fa31b/79e3e08494e24a5abb8d756dd56ad03e\",\"x5t\":\"b8zbsTC2Qaw07Vgb0iutBXyzCqc\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQJBUNWDoLT5uRCYd15bGKRTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkxNloXDTI0MDMxNjA4MDkxNlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL7SA/g9BLeOAO/c8uPKXjWFQZDWD1GcQ/8CqZk6TBjxQJmrqYouX6Ua1vVkORpPjni0rFpxAysoWH7qzDbfrz54pJfKgY3oQD1rnCxS/tnhlZHSH8cP0qVk0go62g+50H+vjUKlZkrr0ywMXJ9rXTdWYc8Mm4lr/hWe5DRNpDjPLz8cQ93r9mIEPK8SyyV0rc/50bb+ykJNw7rP2mQrPV2V2lyahndXFXQ0ayp3Zf1B7LMDEOmZrbY+2wdOAoWV69cb123EzAnc0nMtiAbPpyKEkSVKilDU4HDXqwUIb7tfbP4Zp866ug+EgEWngpC1iTxkFur81XesR3ghZiQ+690CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFHYyfntz/sLFmrJZSn9SSDLyN9FLMB0GA1UdDgQWBBR2Mn57c/7CxZqyWUp/Ukgy8jfRSzANBgkqhkiG9w0BAQsFAAOCAQEAjWvZPg9vrMMon9Qu6nj3nqDLzJ+r2AJru1joPnX5MkpsRHoSl38eN4PdXb7SgJQK1adAX3mFPAietv5/6wjPGJaxUidcJPeF/o6hzT2AMdW/Ado2Ua8idMrpJfEd+8ID3pGINwpHIRdazKfUT9zNBQh48ZSVrQYZV2XAVQK1Pyi2NFrRfi5hgjPo4a59RPI2VDlNewPKN2Fjiz3CJJH1QBNALlElzRYF2p4DcNzkROkw4mC+zuSxSPjAnQgxC7zeAxeVW+vIcVVD7sU7UPlV1rC4KCJ4995aAO7+AnHjxiRcgV3aHrfAlVF6e7KUFSjfWgJx56YAQi6pbpFx8MUiWw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954154,\"updated\":1678954154}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert748574fa31b" ] + { + "RequestUri": "https://REDACTED/certificates/testcert2087690df30/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2386", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8232910-d321-4489-8f16-4c0173ed0771" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/9f65bacef99c4114972b0a06e56bdb0e", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert2087690df30/9f65bacef99c4114972b0a06e56bdb0e", + "sid": "https://azkvrecordtests.vault.azure.net/secrets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lziHEH8chkjTwJDv1b3q\u002BMKF6R/pdfy8cV/URdKAtsf7qot5RDhdzE9GC3UrHUd3fXpqmTgYF5maKTjNEm9Y7jnNtz63RhcAjDf2SLp2A2OjisOp7tL2bsAiHbJZxo3M\u002BWg==", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30/pending" + } + } + } + ], + "Variables": { + "0": "testcert2087690df30" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerEmptyName[1].json index 579f81c8b5227..660f4796cd70e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerEmptyName[1].json @@ -1,29 +1,78 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a94eea5f-6e40-4649-8c83-7f4aa85ee288" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6446e834-0c1e-4aab-a1ce-eb4c55d149e1", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "", + "credentials": {}, + "org_details": {}, + "attributes": {} + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f31c3d32-d710-44d6-9043-fbc288ecace4" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNullProvider[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNullProvider[1].json index dc1e4145d35d8..b53382ddb1875 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNullProvider[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNullProvider[1].json @@ -1,29 +1,77 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9f891171-c0a5-4c1f-9069-167a466d2e6b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0a1d550f-a095-46c9-adee-b74102a767f2", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/issuers/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "51", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "credentials": {}, + "org_details": {}, + "attributes": {} + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "36d519c4-3ae3-4edd-b4a2-b79ddae703a5" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNull[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuerNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuer[1].json index e19830eee564f..09941e4d710e5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.createIssuer[1].json @@ -1,29 +1,113 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer94021410a2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer69534f20b2?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "56b1d00f-cbdd-4931-ab76-7559ca7ca679" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cab934e0-0b20-4c8a-9615-a1454ecd1545", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer94021410a2\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954173,\"updated\":1678954173}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer94021410a2" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer69534f20b2?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9f8c1104-4500-499b-a529-f5095aa1b1ac" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer69534f20b2", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } + } + ], + "Variables": { + "0": "testissuer69534f20b2" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuerNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuerNotFound[1].json index f50031c851b2f..d74ba3c75c012 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuerNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuerNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d3c6440c-30e1-4dc1-b073-e7dc782c5253" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "36968fc6-90e7-4dfd-ba8a-db8a28027e55", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bdff9dd4-fb0d-437a-8949-fc727ffff17a" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuer[1].json index 12ad62234ff39..bf1d2d4eada07 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateIssuer[1].json @@ -1,54 +1,165 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer69556a8238?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer84933f7e8f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9de0e0ed-bbdd-44c8-acc1-a055613842a3" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1e917298-aeab-4162-88f0-c1a0974cd9ad", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer69556a8238\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer84933f7e8f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "396fb425-704d-43fd-a3f2-fdec67cc0a88" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer84933f7e8f", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer69556a8238?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7053d18e-a64b-478f-9196-3f97a2ecdfd4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer69556a8238\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer69556a8238" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer84933f7e8f?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "964386e0-b770-4a39-8c30-ccbcfc7459ef" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer84933f7e8f", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } + } + ], + "Variables": { + "0": "testissuer84933f7e8f" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateNotFound[1].json index 82ffc9f331195..0142269bb2528 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e7116663-1978-48bf-8689-3e4beb91d93c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a567e424-73ac-424d-b3f0-65fbfbbf636f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "650976fc-e061-49d1-b320-4b254f8c2779" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateOperation[1].json index b312ef4383252..1f761e37d4017 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificateOperation[1].json @@ -1,105 +1,298 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert828338a2b01/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9b6623f9-ecba-4bd5-9609-559b76ed07f8" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "61cc7ca0-2a44-4976-87fa-93b7e52d497d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZj6He7O314UOgiSIa8BKilRPgO0UVO5Z/W8S1A1qsYRq1iyt1pYf9XD4lu+WlHp97Dgs6bYyUNnPYws5cFPgMq4obDBKZxiFDHEHXDbk/eeP2i+vSY56tyeuUwTTnjXbutfFpcghDB2dmBmWgwBEzytrsXwB21eK5G8nkMIOp9EmBNSDmOT+krbkIXo6VTTtdCZd25tn+G9DocDILPQ/ap44jc2LfH6G+XYwzMLUzQra/fihU+pujXDt55yMjNYx+phTlw8lBYd1r2iZ9TEB0vZVXeLBrC68vGlRHvF2UqVRyyVm8HYHSO1Tl8oHD0DlF2DxRmpgZPhY2uh1KdXsECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBeySoB/8OjKIrTojDZenz1wX2w4kTrvPWXPUEpXfXVepMeaI08WXkbfqUdVoXjWM7t/YPz37ffF/ADYVz79DIn7BmtBpE6/nmJBaYI6qhNzEcNfjAhTEggQam2SOk+AAb2pC3kWhpsXqzJD40XqDrcJ5W0g2wVjp/RnIo8pwBlTkc0hEfDClk5zEFv0Xx7tv713dyexMjj+dVA3B553NxW0ehiLsh+Xz/V36t/fFoTcZx7muirCDbBYH/7nQ/v7eIhcNynRePTUR8UC15TYvqdTBL6n0bXzKSe1hCsX7hmz4WLf1sGNZNgmqGumIBApx++9Gq+YN6FnbGo/t4Y7yBQ\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"52eeee9381bc40e597baacbbac4713d0\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert828338a2b01/pending?api-version=7.4&request_id=52eeee9381bc40e597baacbbac4713d0", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "69c7e967-c1d8-4bc4-b2d0-88a5ce561c13" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert828338a2b01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb/pending?api-version=7.4\u0026request_id=f7547632d8304730ba6d5abb95841071", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3bdd7a78-bb3f-4571-8c75-e53f126fa346" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvRIlWn6UeCLqKHcefmF5blCn22x7owKmewXNSuWyXrifKV0oxpztG7tluqMpTZ6KrGlQAnQdP/I5JF6dUmw3WX2iHRLCH7kJzPVXyrxZmWrXnY4eyE\u002BCdpeQr8zbT1/Ezl1bARl\u002BXlnq37k9jaFAKxniW6tUS4UENlediLVfa\u002BzfEAzwyddHH6geDRvhCCbR0MDZTdTbzfNzqOY\u002BS8KP\u002BHsj5fjbT49REentdq8VDoPMbtzuiTtUPnUeKonmIncjy89URQFstcorGB7xsqYA9IC58GXmbTfKnvRH982MGxI0iP9dDuvHH0Fu8Vx4M7Wq/ouFrAUxQhkHXdy3CRwU0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBplbsHzr8JXMfUB/bacykPIo5xqBnC8B/zFj\u002BYmMa5iByIAgjfSYjW0aMkjUu40erO8VM\u002BVcd/Kqyp1u\u002BijG2U5efMApUqxhh74E41oc9CeD/B/SEe75zqDZy4oyGWDXnQJm4wG/WAPNvnPzByOexzYZFV0azFuKlI5QqRL1O7hbSkBTLG1MTjCBrEQyxiwwGPJbF9wTI56fryFBF65dNvfIPTfbiphTfboR8aEvGj1dkDM5Cg1qX/Jmw34GQXwlLBxn\u002BeyQTMw5sAU4ldn6Xon/4bT9uKXi3YL4xwOw4How/QP4\u002BH/pY3jETsno2Agr/BG3Q13OPJsTGtjctnnwfE", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "f7547632d8304730ba6d5abb95841071" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0363b09f-ba0e-42d1-9a3c-703c93bc5539", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZj6He7O314UOgiSIa8BKilRPgO0UVO5Z/W8S1A1qsYRq1iyt1pYf9XD4lu+WlHp97Dgs6bYyUNnPYws5cFPgMq4obDBKZxiFDHEHXDbk/eeP2i+vSY56tyeuUwTTnjXbutfFpcghDB2dmBmWgwBEzytrsXwB21eK5G8nkMIOp9EmBNSDmOT+krbkIXo6VTTtdCZd25tn+G9DocDILPQ/ap44jc2LfH6G+XYwzMLUzQra/fihU+pujXDt55yMjNYx+phTlw8lBYd1r2iZ9TEB0vZVXeLBrC68vGlRHvF2UqVRyyVm8HYHSO1Tl8oHD0DlF2DxRmpgZPhY2uh1KdXsECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBeySoB/8OjKIrTojDZenz1wX2w4kTrvPWXPUEpXfXVepMeaI08WXkbfqUdVoXjWM7t/YPz37ffF/ADYVz79DIn7BmtBpE6/nmJBaYI6qhNzEcNfjAhTEggQam2SOk+AAb2pC3kWhpsXqzJD40XqDrcJ5W0g2wVjp/RnIo8pwBlTkc0hEfDClk5zEFv0Xx7tv713dyexMjj+dVA3B553NxW0ehiLsh+Xz/V36t/fFoTcZx7muirCDbBYH/7nQ/v7eIhcNynRePTUR8UC15TYvqdTBL6n0bXzKSe1hCsX7hmz4WLf1sGNZNgmqGumIBApx++9Gq+YN6FnbGo/t4Y7yBQ\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01\",\"request_id\":\"52eeee9381bc40e597baacbbac4713d0\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a2eaefc9-ee71-405c-8423-48474c974810" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvRIlWn6UeCLqKHcefmF5blCn22x7owKmewXNSuWyXrifKV0oxpztG7tluqMpTZ6KrGlQAnQdP/I5JF6dUmw3WX2iHRLCH7kJzPVXyrxZmWrXnY4eyE\u002BCdpeQr8zbT1/Ezl1bARl\u002BXlnq37k9jaFAKxniW6tUS4UENlediLVfa\u002BzfEAzwyddHH6geDRvhCCbR0MDZTdTbzfNzqOY\u002BS8KP\u002BHsj5fjbT49REentdq8VDoPMbtzuiTtUPnUeKonmIncjy89URQFstcorGB7xsqYA9IC58GXmbTfKnvRH982MGxI0iP9dDuvHH0Fu8Vx4M7Wq/ouFrAUxQhkHXdy3CRwU0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBplbsHzr8JXMfUB/bacykPIo5xqBnC8B/zFj\u002BYmMa5iByIAgjfSYjW0aMkjUu40erO8VM\u002BVcd/Kqyp1u\u002BijG2U5efMApUqxhh74E41oc9CeD/B/SEe75zqDZy4oyGWDXnQJm4wG/WAPNvnPzByOexzYZFV0azFuKlI5QqRL1O7hbSkBTLG1MTjCBrEQyxiwwGPJbF9wTI56fryFBF65dNvfIPTfbiphTfboR8aEvGj1dkDM5Cg1qX/Jmw34GQXwlLBxn\u002BeyQTMw5sAU4ldn6Xon/4bT9uKXi3YL4xwOw4How/QP4\u002BH/pY3jETsno2Agr/BG3Q13OPJsTGtjctnnwfE", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "f7547632d8304730ba6d5abb95841071" + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert828338a2b01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "760954e9-6728-4650-a8de-e5fb19868f52" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvRIlWn6UeCLqKHcefmF5blCn22x7owKmewXNSuWyXrifKV0oxpztG7tluqMpTZ6KrGlQAnQdP/I5JF6dUmw3WX2iHRLCH7kJzPVXyrxZmWrXnY4eyE\u002BCdpeQr8zbT1/Ezl1bARl\u002BXlnq37k9jaFAKxniW6tUS4UENlediLVfa\u002BzfEAzwyddHH6geDRvhCCbR0MDZTdTbzfNzqOY\u002BS8KP\u002BHsj5fjbT49REentdq8VDoPMbtzuiTtUPnUeKonmIncjy89URQFstcorGB7xsqYA9IC58GXmbTfKnvRH982MGxI0iP9dDuvHH0Fu8Vx4M7Wq/ouFrAUxQhkHXdy3CRwU0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBplbsHzr8JXMfUB/bacykPIo5xqBnC8B/zFj\u002BYmMa5iByIAgjfSYjW0aMkjUu40erO8VM\u002BVcd/Kqyp1u\u002BijG2U5efMApUqxhh74E41oc9CeD/B/SEe75zqDZy4oyGWDXnQJm4wG/WAPNvnPzByOexzYZFV0azFuKlI5QqRL1O7hbSkBTLG1MTjCBrEQyxiwwGPJbF9wTI56fryFBF65dNvfIPTfbiphTfboR8aEvGj1dkDM5Cg1qX/Jmw34GQXwlLBxn\u002BeyQTMw5sAU4ldn6Xon/4bT9uKXi3YL4xwOw4How/QP4\u002BH/pY3jETsno2Agr/BG3Q13OPJsTGtjctnnwfE", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb", + "request_id": "f7547632d8304730ba6d5abb95841071" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1223", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "78947be1-a340-4058-8ca2-5b9d0fbb2731", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZj6He7O314UOgiSIa8BKilRPgO0UVO5Z/W8S1A1qsYRq1iyt1pYf9XD4lu+WlHp97Dgs6bYyUNnPYws5cFPgMq4obDBKZxiFDHEHXDbk/eeP2i+vSY56tyeuUwTTnjXbutfFpcghDB2dmBmWgwBEzytrsXwB21eK5G8nkMIOp9EmBNSDmOT+krbkIXo6VTTtdCZd25tn+G9DocDILPQ/ap44jc2LfH6G+XYwzMLUzQra/fihU+pujXDt55yMjNYx+phTlw8lBYd1r2iZ9TEB0vZVXeLBrC68vGlRHvF2UqVRyyVm8HYHSO1Tl8oHD0DlF2DxRmpgZPhY2uh1KdXsECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBeySoB/8OjKIrTojDZenz1wX2w4kTrvPWXPUEpXfXVepMeaI08WXkbfqUdVoXjWM7t/YPz37ffF/ADYVz79DIn7BmtBpE6/nmJBaYI6qhNzEcNfjAhTEggQam2SOk+AAb2pC3kWhpsXqzJD40XqDrcJ5W0g2wVjp/RnIo8pwBlTkc0hEfDClk5zEFv0Xx7tv713dyexMjj+dVA3B553NxW0ehiLsh+Xz/V36t/fFoTcZx7muirCDbBYH/7nQ/v7eIhcNynRePTUR8UC15TYvqdTBL6n0bXzKSe1hCsX7hmz4WLf1sGNZNgmqGumIBApx++9Gq+YN6FnbGo/t4Y7yBQ\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01\",\"request_id\":\"52eeee9381bc40e597baacbbac4713d0\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/pending?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1219", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "23449dc9-42a8-4613-b310-98fee0d1dc8e" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvRIlWn6UeCLqKHcefmF5blCn22x7owKmewXNSuWyXrifKV0oxpztG7tluqMpTZ6KrGlQAnQdP/I5JF6dUmw3WX2iHRLCH7kJzPVXyrxZmWrXnY4eyE\u002BCdpeQr8zbT1/Ezl1bARl\u002BXlnq37k9jaFAKxniW6tUS4UENlediLVfa\u002BzfEAzwyddHH6geDRvhCCbR0MDZTdTbzfNzqOY\u002BS8KP\u002BHsj5fjbT49REentdq8VDoPMbtzuiTtUPnUeKonmIncjy89URQFstcorGB7xsqYA9IC58GXmbTfKnvRH982MGxI0iP9dDuvHH0Fu8Vx4M7Wq/ouFrAUxQhkHXdy3CRwU0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBplbsHzr8JXMfUB/bacykPIo5xqBnC8B/zFj\u002BYmMa5iByIAgjfSYjW0aMkjUu40erO8VM\u002BVcd/Kqyp1u\u002BijG2U5efMApUqxhh74E41oc9CeD/B/SEe75zqDZy4oyGWDXnQJm4wG/WAPNvnPzByOexzYZFV0azFuKlI5QqRL1O7hbSkBTLG1MTjCBrEQyxiwwGPJbF9wTI56fryFBF65dNvfIPTfbiphTfboR8aEvGj1dkDM5Cg1qX/Jmw34GQXwlLBxn\u002BeyQTMw5sAU4ldn6Xon/4bT9uKXi3YL4xwOw4How/QP4\u002BH/pY3jETsno2Agr/BG3Q13OPJsTGtjctnnwfE", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb", + "request_id": "f7547632d8304730ba6d5abb95841071" + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert828338a2b01/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "110", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ce44ade8-1850-4426-8e48-9fc0e662564a", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending Certificate not found: testcert828338a2b01\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert828338a2b01" ] + { + "RequestUri": "https://REDACTED/certificates/testcert72950e838eb/pending?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aeed6817-fccc-43a1-ace6-5f4a7d0f5a1d" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending Certificate not found: testcert72950e838eb" + } + } + } + ], + "Variables": { + "0": "testcert72950e838eb" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificate[1].json index ad7136548ad46..ea39281e4c9ca 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteCertificate[1].json @@ -1,155 +1,512 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert630101e0f5b/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0ebe6f5d-dead-425f-93fa-f137b83152f1" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4d90a1ba-81ba-4df2-818e-e8a9c707780d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAELZclMx6/es5ItGPSKrR0sLilBvQHAJxVOcBzsXm606VXwtT5OUh2sHWTKFE4Hky3IaZGPqzVPDQOurz+6nre5Aq/RaWCUHNe880Lg6/CjG0kZSAlvVYJXIJY4G4wL8vvoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf3PkjxHPo4qBG8sbyTEfGDVySjoxEhsDNb9sn1nKS7CgQM9rmhvRoO4QrtZumu0tAjEAnkT6v4OmAdFAL786pCGBikAagpWIudGjdd6e521+QldQo3zfNlHWzDumHiNJrQpi\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"3de635eb9798462b83321074c080bf09\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending?api-version=7.4&request_id=3de635eb9798462b83321074c080bf09", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending?api-version=7.4\u0026request_id=218c0b9045d045a59dd7fc729b9ca9b7", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4628feea-1d06-4065-b718-ca4dd79aaaf0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl\u002B6UEFWmLvx3XSZBFA2qunGshoo4S74oyrdt8LrDA2FSTUtwKDhYmJsVe4mreCvpq4zBIaGYjJCea4PWTkAURovewLn/N6CDT\u002BYiwFCNkS7Jk0y71p0br8RDtYCogAuAoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwXCwg7Nq5WsO9RKvPS/9Lv31gWqYzC4EDlUHiorM1wdX106QSD2qPKeSwMK6nsk5jAjAE1TCi2pCITcG7dbpaKT/LlNiTJK9TWjj86CfqahzUTeRb3ucoZQ66EbMjXN8Vq/E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "218c0b9045d045a59dd7fc729b9ca9b7" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert630101e0f5b/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0a6daf02-29a1-4b02-87fc-6281f500070d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl\u002B6UEFWmLvx3XSZBFA2qunGshoo4S74oyrdt8LrDA2FSTUtwKDhYmJsVe4mreCvpq4zBIaGYjJCea4PWTkAURovewLn/N6CDT\u002BYiwFCNkS7Jk0y71p0br8RDtYCogAuAoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwXCwg7Nq5WsO9RKvPS/9Lv31gWqYzC4EDlUHiorM1wdX106QSD2qPKeSwMK6nsk5jAjAE1TCi2pCITcG7dbpaKT/LlNiTJK9TWjj86CfqahzUTeRb3ucoZQ66EbMjXN8Vq/E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "218c0b9045d045a59dd7fc729b9ca9b7" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6314a811-aa70-47f5-a499-2d1d0792c748", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAELZclMx6/es5ItGPSKrR0sLilBvQHAJxVOcBzsXm606VXwtT5OUh2sHWTKFE4Hky3IaZGPqzVPDQOurz+6nre5Aq/RaWCUHNe880Lg6/CjG0kZSAlvVYJXIJY4G4wL8vvoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf3PkjxHPo4qBG8sbyTEfGDVySjoxEhsDNb9sn1nKS7CgQM9rmhvRoO4QrtZumu0tAjEAnkT6v4OmAdFAL786pCGBikAagpWIudGjdd6e521+QldQo3zfNlHWzDumHiNJrQpi\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"3de635eb9798462b83321074c080bf09\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a6aa82ad-ff10-4a8d-a651-b659b8d6f866" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl\u002B6UEFWmLvx3XSZBFA2qunGshoo4S74oyrdt8LrDA2FSTUtwKDhYmJsVe4mreCvpq4zBIaGYjJCea4PWTkAURovewLn/N6CDT\u002BYiwFCNkS7Jk0y71p0br8RDtYCogAuAoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwXCwg7Nq5WsO9RKvPS/9Lv31gWqYzC4EDlUHiorM1wdX106QSD2qPKeSwMK6nsk5jAjAE1TCi2pCITcG7dbpaKT/LlNiTJK9TWjj86CfqahzUTeRb3ucoZQ66EbMjXN8Vq/E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "218c0b9045d045a59dd7fc729b9ca9b7" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert630101e0f5b/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f38324b5-a987-41c3-8b48-6d149afb51d8" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl\u002B6UEFWmLvx3XSZBFA2qunGshoo4S74oyrdt8LrDA2FSTUtwKDhYmJsVe4mreCvpq4zBIaGYjJCea4PWTkAURovewLn/N6CDT\u002BYiwFCNkS7Jk0y71p0br8RDtYCogAuAoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwXCwg7Nq5WsO9RKvPS/9Lv31gWqYzC4EDlUHiorM1wdX106QSD2qPKeSwMK6nsk5jAjAE1TCi2pCITcG7dbpaKT/LlNiTJK9TWjj86CfqahzUTeRb3ucoZQ66EbMjXN8Vq/E=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "218c0b9045d045a59dd7fc729b9ca9b7" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b6d98f29-faf6-4f76-ae84-c011543034e0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAELZclMx6/es5ItGPSKrR0sLilBvQHAJxVOcBzsXm606VXwtT5OUh2sHWTKFE4Hky3IaZGPqzVPDQOurz+6nre5Aq/RaWCUHNe880Lg6/CjG0kZSAlvVYJXIJY4G4wL8vvoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf3PkjxHPo4qBG8sbyTEfGDVySjoxEhsDNb9sn1nKS7CgQM9rmhvRoO4QrtZumu0tAjEAnkT6v4OmAdFAL786pCGBikAagpWIudGjdd6e521+QldQo3zfNlHWzDumHiNJrQpi\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b\",\"request_id\":\"3de635eb9798462b83321074c080bf09\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "66c43c65-e2b3-427f-9334-8f781e9e1441" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl\u002B6UEFWmLvx3XSZBFA2qunGshoo4S74oyrdt8LrDA2FSTUtwKDhYmJsVe4mreCvpq4zBIaGYjJCea4PWTkAURovewLn/N6CDT\u002BYiwFCNkS7Jk0y71p0br8RDtYCogAuAoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwXCwg7Nq5WsO9RKvPS/9Lv31gWqYzC4EDlUHiorM1wdX106QSD2qPKeSwMK6nsk5jAjAE1TCi2pCITcG7dbpaKT/LlNiTJK9TWjj86CfqahzUTeRb3ucoZQ66EbMjXN8Vq/E=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554", + "request_id": "218c0b9045d045a59dd7fc729b9ca9b7" + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert630101e0f5b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert88327ed6554?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f8c8b18a-05e6-4648-8a07-e7a22422c6ae" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert88327ed6554", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "cer": "MIIB2zCCAWGgAwIBAgIQAKiwoVNSRaC\u002BaeY7jCqmYTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABJfulBBVpi78d10mQRQNqrpxrIaKOEu\u002BKMq3bfC6wwNhUk1LcCg4WJibFXuJq3gr6auMwSGhmIyQnmuD1k5AFEaL3sC5/zegg0/mIsBQjZEuyZNMu9adG6/EQ7WAqIALgKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFAK5eQLzasBBB/pQn\u002BTYDrNXnq6wMB0GA1UdDgQWBBQCuXkC82rAQQf6UJ/k2A6zV56usDAKBggqhkjOPQQDAwNoADBlAjEA9iQATRmtn4AUA4c2GqCPdjMfCsjX2hGd2suRxR3tFjFjnjLCq4pDKh1qrtuJHM4lAjBgsp/1L1FpesSV9pJODL1NdIH6Yu05DJJM\u002BtfTICnoDLUYqVjeeehsBzRj\u002BguA9LE=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b29ef502-b9ea-4e07-90fa-52c00ec46962", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert630101e0f5b\",\"deletedDate\":1678954151,\"scheduledPurgeDate\":1679558951,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"x5t\":\"0vyYRN8YXPDTgAegOD7wUmDv9JU\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQYNAHIGJ7RYuHOgQtirWhbzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMFoXDTI1MDMxNjA4MDkxMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABC2XJTMev3rOSLRj0iq0dLC4pQb0BwCcVTnAc7F5utOlV8LU+TlIdrB1kyhROB5MtyGmRj6s1Tw0Drq8/up63uQKv0WlglBzXvPNC4OvwoxtJGUgJb1WCVyCWOBuMC/L76N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGx0m4IwciCbGHHt6oFWhaiYUt6KMB0GA1UdDgQWBBRsdJuCMHIgmxhx7eqBVoWomFLeijAKBggqhkjOPQQDAwNnADBkAjALSJxC14ednYhaB0MR4yxKJaVwaWzJz3VtKTMszj3MwaEdbP9zQL0XEdMma6bhXuACMBHfwSbE7Gltt233cYHleHy/TTHeFvzCYLjiDrcahanCNqDA96vG/usSoUzRzBs3Gw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert88327ed6554?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "29c559f0-13a1-4401-9387-14b57b3ebbf1" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert88327ed6554" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert630101e0f5b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9f95adcf-bef2-4533-8629-c6ec92a9d05e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert630101e0f5b\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert630101e0f5b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0efb0726-554a-4ad5-9b3d-387431f35f64", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert630101e0f5b\",\"deletedDate\":1678954151,\"scheduledPurgeDate\":1679558951,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert630101e0f5b/796f2702c5c24e7d8d84d19fc51622d5\",\"x5t\":\"0vyYRN8YXPDTgAegOD7wUmDv9JU\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQYNAHIGJ7RYuHOgQtirWhbzAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMFoXDTI1MDMxNjA4MDkxMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABC2XJTMev3rOSLRj0iq0dLC4pQb0BwCcVTnAc7F5utOlV8LU+TlIdrB1kyhROB5MtyGmRj6s1Tw0Drq8/up63uQKv0WlglBzXvPNC4OvwoxtJGUgJb1WCVyCWOBuMC/L76N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGx0m4IwciCbGHHt6oFWhaiYUt6KMB0GA1UdDgQWBBRsdJuCMHIgmxhx7eqBVoWomFLeijAKBggqhkjOPQQDAwNnADBkAjALSJxC14ednYhaB0MR4yxKJaVwaWzJz3VtKTMszj3MwaEdbP9zQL0XEdMma6bhXuACMBHfwSbE7Gltt233cYHleHy/TTHeFvzCYLjiDrcahanCNqDA96vG/usSoUzRzBs3Gw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert630101e0f5b" ] + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert88327ed6554?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6c988035-3555-4c44-a1ff-7adefdcf7365" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert88327ed6554", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert88327ed6554/9b7856b1e8f44c0fae1b00e168775f70", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "cer": "MIIB2zCCAWGgAwIBAgIQAKiwoVNSRaC\u002BaeY7jCqmYTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABJfulBBVpi78d10mQRQNqrpxrIaKOEu\u002BKMq3bfC6wwNhUk1LcCg4WJibFXuJq3gr6auMwSGhmIyQnmuD1k5AFEaL3sC5/zegg0/mIsBQjZEuyZNMu9adG6/EQ7WAqIALgKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFAK5eQLzasBBB/pQn\u002BTYDrNXnq6wMB0GA1UdDgQWBBQCuXkC82rAQQf6UJ/k2A6zV56usDAKBggqhkjOPQQDAwNoADBlAjEA9iQATRmtn4AUA4c2GqCPdjMfCsjX2hGd2suRxR3tFjFjnjLCq4pDKh1qrtuJHM4lAjBgsp/1L1FpesSV9pJODL1NdIH6Yu05DJJM\u002BtfTICnoDLUYqVjeeehsBzRj\u002BguA9LE=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554/pending" + } + } + } + ], + "Variables": { + "0": "testcert88327ed6554" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteContacts[1].json index 926927cab0127..ccbf2c3d9a5a2 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.deleteContacts[1].json @@ -1,54 +1,123 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8620cd7a-7d86-4b15-a245-0d817df88c30" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "3a433c4f-8ead-43a9-b6e2-963678764229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2f997e7a-32c1-4718-aa20-4c28df9b53ac" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "781eb50c-e761-44e1-8078-cf66e249ee6c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8594cca2-ce02-435d-8941-49e825c8133a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuerNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuerNotFound[1].json index ed20796da47fc..f7aa4284391d7 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuerNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuerNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "81572929-f5f4-420d-94fa-829bf18713e2" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9fe8b3a5-36af-4105-8eab-6891f13cef5f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "191799b1-ccdf-486e-8104-1f1cc7ffd32a" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuer[1].json index 2f412097b0069..04dd164e36ea3 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateIssuer[1].json @@ -1,54 +1,165 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer1731455651?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer5598119d48?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1c208b9f-b429-44a9-b1ec-37af1b151615" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c430893a-6d9c-44f5-b827-a6d193f1f5f8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer1731455651\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954164,\"updated\":1678954164}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer5598119d48?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f48b06a2-bad3-4e8d-84cf-6707785ef502" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer5598119d48", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer1731455651?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "35478bf3-ee5f-4a3a-8530-ce236ff25d28", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer1731455651\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954164,\"updated\":1678954164}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer1731455651" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer5598119d48?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b1c3d942-e3dd-4836-9232-0c3cc81a0510" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer5598119d48", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } + } + ], + "Variables": { + "0": "testissuer5598119d48" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateNotFound[1].json index f3b2ecb5169e9..939da3e172d0d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9cbaf797-a1d1-4825-97b2-0d670d4f2c8b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "83f40f19-be5c-4974-b427-db163533cb9a", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ece68230-4b08-4a8f-ae2e-f8e67abf5322" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperationNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperationNotFound[1].json index 2bb735a2cb855..f515f87d53fbc 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperationNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperationNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c9adc5e1-6dc8-4a19-beda-b9c78ccbf1b2" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "12f899d0-5fde-4759-9ac8-1439009eff3b", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending certificate not found: non-existing\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "836b2337-211b-422c-a1a6-0b12139bde9e" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending certificate not found: non-existing" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperation[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperation[1].json index 813a6404109e0..9f3f9f7316dbd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperation[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateOperation[1].json @@ -1,180 +1,466 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "64c8a3e0-7d43-4189-814c-d5eab810ca0d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bcb94745-b962-4677-8bdc-31c619409932", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "acfbed82-2c0b-41a1-926a-a388738aa52c" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending?api-version=7.4\u0026request_id=a3b22b86f0774070b0c4673b29acf694", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fc65a900-c37a-4b20-a6d8-4c89dfe0bcfd" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEvOPKbk7zZP5SZhalfq5g3bzQ7GfjellPWYfJJgLqTyTs\u002B5QINCwRHk6HFQ/66M6gZayviw7QYFVlOsvNRlkXtcIGeRwgeTt/3U/WIENW6a3PnO7HhgbgiosrpzVm7jAQoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwT0nDeGiunuwRU9I2el1tgJw3Y3E3mxSSELXd66Ws1crPTTL6W/kHyltAgHGDLt59AjAJxsQrXFQzyj7e2J5zBm/YO64zBv0\u002BIx/RIhnlM8LpzaknunoCUcXLrzlQiY8kufU=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a3b22b86f0774070b0c4673b29acf694" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:36 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ffab6723-e60d-42f6-90e6-7dbaf7113968", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "274327a6-82c7-4d79-b73b-5cf3cbabf1a3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEvOPKbk7zZP5SZhalfq5g3bzQ7GfjellPWYfJJgLqTyTs\u002B5QINCwRHk6HFQ/66M6gZayviw7QYFVlOsvNRlkXtcIGeRwgeTt/3U/WIENW6a3PnO7HhgbgiosrpzVm7jAQoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwT0nDeGiunuwRU9I2el1tgJw3Y3E3mxSSELXd66Ws1crPTTL6W/kHyltAgHGDLt59AjAJxsQrXFQzyj7e2J5zBm/YO64zBv0\u002BIx/RIhnlM8LpzaknunoCUcXLrzlQiY8kufU=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b", + "request_id": "a3b22b86f0774070b0c4673b29acf694" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "61dac55e-124e-4145-bec9-5b39ec16434f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEvOPKbk7zZP5SZhalfq5g3bzQ7GfjellPWYfJJgLqTyTs\u002B5QINCwRHk6HFQ/66M6gZayviw7QYFVlOsvNRlkXtcIGeRwgeTt/3U/WIENW6a3PnO7HhgbgiosrpzVm7jAQoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwT0nDeGiunuwRU9I2el1tgJw3Y3E3mxSSELXd66Ws1crPTTL6W/kHyltAgHGDLt59AjAJxsQrXFQzyj7e2J5zBm/YO64zBv0\u002BIx/RIhnlM8LpzaknunoCUcXLrzlQiY8kufU=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b", + "request_id": "a3b22b86f0774070b0c4673b29acf694" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f0d7d637-d9f1-4e40-9df6-465a386f4779", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEh6tjSXHi/kTzte2OZJgFoLt6cBn6RX4Ri5dU3n56RStg+ao3ET50cBoNF1/egLfZ8TuRAr+0xMhLDLAwdM7G7CSZd1TeB8ge57lwkW1N1TbEiGFa8egCuL4A3gUa5Tb1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf+aVCszM92JF42f8P48B+OJ/iJwGv1FhD4tQqL+BnHaduvbQYf+9evWhayFkr3JLAjEAyUdyu/K3sqnBn3Fp5h9wCSfHnKJXplnXBzXdp7bJSfVjp9k8J5/SVx80Zsl1Mi1A\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5515b70047ff49adab05fc5a4e8ead1e\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending?api-version=7.4&request_id=5515b70047ff49adab05fc5a4e8ead1e", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bfb43e27-ca0e-4c9e-af5d-111d0ee33845" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "x5t": "-7UgEA9ScuFHJjOgYnrzOYH-7LA", + "cer": "MIIB3DCCAWGgAwIBAgIQa8FSdpfzQkuFEkMu8Y9oSDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwN1oXDTI1MDQxMjAyNTIwN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLzjym5O82T\u002BUmYWpX6uYN280Oxn43pZT1mHySYC6k8k7PuUCDQsER5OhxUP\u002BujOoGWsr4sO0GBVZTrLzUZZF7XCBnkcIHk7f91P1iBDVumtz5zux4YG4IqLK6c1Zu4wEKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFK1JzM2AgzAi/M3R7rDQ4YqgppmqMB0GA1UdDgQWBBStSczNgIMwIvzN0e6w0OGKoKaZqjAKBggqhkjOPQQDAwNpADBmAjEAsIpHObFVErnMz8jKzKdAhdtDXj\u002BAFZpcKpgraRmKGkQEGuIYQhgJLBJpla\u002BEf30EAjEArzcg4sst7A\u002B6\u002Bsjv5LLu0Acz1\u002BdUbHce\u002BOiJdJ3W6K5wwcj6\u002B2C/V9imOM519HU2", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267926, + "updated": 1681267926 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a13f3ae7-7d78-4bf0-892d-909439ca56fd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEh6tjSXHi/kTzte2OZJgFoLt6cBn6RX4Ri5dU3n56RStg+ao3ET50cBoNF1/egLfZ8TuRAr+0xMhLDLAwdM7G7CSZd1TeB8ge57lwkW1N1TbEiGFa8egCuL4A3gUa5Tb1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf+aVCszM92JF42f8P48B+OJ/iJwGv1FhD4tQqL+BnHaduvbQYf+9evWhayFkr3JLAjEAyUdyu/K3sqnBn3Fp5h9wCSfHnKJXplnXBzXdp7bJSfVjp9k8J5/SVx80Zsl1Mi1A\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897\",\"request_id\":\"5515b70047ff49adab05fc5a4e8ead1e\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ca3339b3-968e-4b5e-b7b8-75bb1f80326e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEh6tjSXHi/kTzte2OZJgFoLt6cBn6RX4Ri5dU3n56RStg+ao3ET50cBoNF1/egLfZ8TuRAr+0xMhLDLAwdM7G7CSZd1TeB8ge57lwkW1N1TbEiGFa8egCuL4A3gUa5Tb1oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwf+aVCszM92JF42f8P48B+OJ/iJwGv1FhD4tQqL+BnHaduvbQYf+9evWhayFkr3JLAjEAyUdyu/K3sqnBn3Fp5h9wCSfHnKJXplnXBzXdp7bJSfVjp9k8J5/SVx80Zsl1Mi1A\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897\",\"request_id\":\"5515b70047ff49adab05fc5a4e8ead1e\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6b5547d6-7c42-49f0-99c9-d679786a3800", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"x5t\":\"Jk4gujvIUxmvulgZ17B8bbv0Urs\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQMq0zaFD9S4Wltsum2qMzejAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTk0MVoXDTI1MDMxNjA4MDk0MVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIerY0lx4v5E87XtjmSYBaC7enAZ+kV+EYuXVN5+ekUrYPmqNxE+dHAaDRdf3oC32fE7kQK/tMTISwywMHTOxuwkmXdU3gfIHue5cJFtTdU2xIhhWvHoAri+AN4FGuU29aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDhKN+JuBkQ4S8gbl12V2edY+1gsMB0GA1UdDgQWBBQ4SjfibgZEOEvIG5ddldnnWPtYLDAKBggqhkjOPQQDAwNnADBkAjAj6e5Zfgyc8Rx82XdB/XvjYLgL+fPs5EK5YJMWexqJwyc79d70ZxAHrlj8Z+HrC+wCMCXJAatGMf1/3L6k7BmDaagLo7Uwcf+hX2dATbhAGsqcfXOJotY33PUJDH1bxKqkEQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954181,\"updated\":1678954181}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert2853856e897/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "321d30df-28ae-4bc7-aa52-23ed1c82033f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert2853856e897/3cfcf8617a274393a0dfd9d277fd24fc\",\"x5t\":\"Jk4gujvIUxmvulgZ17B8bbv0Urs\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQMq0zaFD9S4Wltsum2qMzejAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTk0MVoXDTI1MDMxNjA4MDk0MVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIerY0lx4v5E87XtjmSYBaC7enAZ+kV+EYuXVN5+ekUrYPmqNxE+dHAaDRdf3oC32fE7kQK/tMTISwywMHTOxuwkmXdU3gfIHue5cJFtTdU2xIhhWvHoAri+AN4FGuU29aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDhKN+JuBkQ4S8gbl12V2edY+1gsMB0GA1UdDgQWBBQ4SjfibgZEOEvIG5ddldnnWPtYLDAKBggqhkjOPQQDAwNnADBkAjAj6e5Zfgyc8Rx82XdB/XvjYLgL+fPs5EK5YJMWexqJwyc79d70ZxAHrlj8Z+HrC+wCMCXJAatGMf1/3L6k7BmDaagLo7Uwcf+hX2dATbhAGsqcfXOJotY33PUJDH1bxKqkEQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954181,\"updated\":1678954181}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert2853856e897" ] + { + "RequestUri": "https://REDACTED/certificates/testcert825805c9c5b/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "27439eb1-2bcd-4ae2-b799-c7ff07ffe985" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert825805c9c5b/32c24ce3058040ca9cbdb549926a8f1e", + "x5t": "-7UgEA9ScuFHJjOgYnrzOYH-7LA", + "cer": "MIIB3DCCAWGgAwIBAgIQa8FSdpfzQkuFEkMu8Y9oSDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwN1oXDTI1MDQxMjAyNTIwN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLzjym5O82T\u002BUmYWpX6uYN280Oxn43pZT1mHySYC6k8k7PuUCDQsER5OhxUP\u002BujOoGWsr4sO0GBVZTrLzUZZF7XCBnkcIHk7f91P1iBDVumtz5zux4YG4IqLK6c1Zu4wEKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFK1JzM2AgzAi/M3R7rDQ4YqgppmqMB0GA1UdDgQWBBStSczNgIMwIvzN0e6w0OGKoKaZqjAKBggqhkjOPQQDAwNpADBmAjEAsIpHObFVErnMz8jKzKdAhdtDXj\u002BAFZpcKpgraRmKGkQEGuIYQhgJLBJpla\u002BEf30EAjEArzcg4sst7A\u002B6\u002Bsjv5LLu0Acz1\u002BdUbHce\u002BOiJdJ3W6K5wwcj6\u002B2C/V9imOM519HU2", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267926, + "updated": 1681267926 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b/pending" + } + } + } + ], + "Variables": { + "0": "testcert825805c9c5b" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicyNotFound[1].json index 455fa1c0cae9a..62e64e3202c22 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/non-existing/policy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/non-existing/policy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c92fb6b0-870d-4c94-8ad1-4ef7020ea79c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "00f93d76-05e4-4464-b5c9-3211df0c4334", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/non-existing/policy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "490dfe4e-b4e3-4092-908a-31ecf305ca64" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicy[1].json index 58aef116c6f89..ee00815f9becc 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificatePolicy[1].json @@ -1,80 +1,332 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18236eadc35/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert24189bd8691/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "76c8572a-e9f4-49dc-a32b-1a639930af5f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "adcde814-ccdf-4b66-84f9-e8b82a4b8268", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbL1RVOC0vtOh/nlcPf9FFUeRuQMwBiV5w+gMx12VBPal3KHV7usdjGY8fXzSXcuvAOdWBDTbKBf3oLAQ85Z7iCu0n8wG6ISw5YzgDl5VzaFgQtj1RxyeZ3nzaAnPXKfhoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAKdF7SnnH1dAbnAp2vT3Svx/qXCqW4tOU+lSrupfzM9iU1OcdbzE1SnD+hhs8Xaj1QIxAMYxzkMzH0UZOjhxaJQSX9zmWopkz1AEcJrPM8URT/Gde+pA02NX+vCbqrm4TFp8tQ==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"fddeadd743f3499b9acf018f5834e0ff\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/pending?api-version=7.4&request_id=fddeadd743f3499b9acf018f5834e0ff", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert24189bd8691/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2f2c3a14-2dbf-42e7-b71f-4f834b8ce970" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18236eadc35/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert24189bd8691/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/pending?api-version=7.4\u0026request_id=67869904c15c445998871b854025ed52", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "837e2d18-6ced-47da-a476-bd579d2e3abd" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE9F6cKBMsuvh87wBXlHGBIG76Pt4iRYBCBlYSyiDNSQetE4PBZ3FUQ/Qqp9Cbqvy6FK3pCPXM2xcN1g4\u002B14xePp6jprHsopCZCbPt188qNvqLcj2yAA/YxVwd86sSglIsoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwPmkB8GwevQv1C\u002BM3PMS4Wd7o4eqM4ZHoyoLjZGK6US2NehJFyz8PUFPDbkxZA4hkAjEA6sPK32Dho\u002BO1aTjf2KFZD2rULojdPipn\u002B03mfaVVMdMVB0jg0GdRSz98ZaGiCi8j", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "67869904c15c445998871b854025ed52" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4268fab2-34f3-4c0d-97e6-4ace7960c94f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbL1RVOC0vtOh/nlcPf9FFUeRuQMwBiV5w+gMx12VBPal3KHV7usdjGY8fXzSXcuvAOdWBDTbKBf3oLAQ85Z7iCu0n8wG6ISw5YzgDl5VzaFgQtj1RxyeZ3nzaAnPXKfhoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAKdF7SnnH1dAbnAp2vT3Svx/qXCqW4tOU+lSrupfzM9iU1OcdbzE1SnD+hhs8Xaj1QIxAMYxzkMzH0UZOjhxaJQSX9zmWopkz1AEcJrPM8URT/Gde+pA02NX+vCbqrm4TFp8tQ==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35\",\"request_id\":\"fddeadd743f3499b9acf018f5834e0ff\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert24189bd8691/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "63ca4df5-e431-48d0-b33a-1a00b5d52efc" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE9F6cKBMsuvh87wBXlHGBIG76Pt4iRYBCBlYSyiDNSQetE4PBZ3FUQ/Qqp9Cbqvy6FK3pCPXM2xcN1g4\u002B14xePp6jprHsopCZCbPt188qNvqLcj2yAA/YxVwd86sSglIsoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwPmkB8GwevQv1C\u002BM3PMS4Wd7o4eqM4ZHoyoLjZGK6US2NehJFyz8PUFPDbkxZA4hkAjEA6sPK32Dho\u002BO1aTjf2KFZD2rULojdPipn\u002B03mfaVVMdMVB0jg0GdRSz98ZaGiCi8j", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691", + "request_id": "67869904c15c445998871b854025ed52" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert18236eadc35/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ead64d9b-1133-412d-8d26-a97d44050320", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/88292ccd4641450dbc3c229e5d056032\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18236eadc35/88292ccd4641450dbc3c229e5d056032\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert18236eadc35/88292ccd4641450dbc3c229e5d056032\",\"x5t\":\"JqechkEBzXbUg6c5E1VS9oWPeMI\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQHT3vzNl9SOKvc75fOwO+8DAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyNloXDTI1MDMxNjA4MDkyNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABGy9UVTgtL7Tof55XD3/RRVHkbkDMAYlecPoDMddlQT2pdyh1e7rHYxmPH180l3LrwDnVgQ02ygX96CwEPOWe4grtJ/MBuiEsOWM4A5eVc2hYELY9Uccnmd582gJz1yn4aN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFAVM2AuORUil8hIbajp04pI5nhErMB0GA1UdDgQWBBQFTNgLjkVIpfISG2o6dOKSOZ4RKzAKBggqhkjOPQQDAwNoADBlAjBAfoYXj5T5Iin/lkxuW4cg4WvzJK2PC93d3rhOciwCPG0mpBwb1LRmGTeKjufTX1sCMQDdZpTZAErmNN+Dwn86HvgNk2KHcXiVk1JfLEYAA7wC5EQ5LUeLQmZ8NwwtZhBCScY=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953566,\"exp\":1742112566,\"created\":1678954166,\"updated\":1678954166,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954165,\"updated\":1678954165}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert18236eadc35" ] + { + "RequestUri": "https://REDACTED/certificates/testcert24189bd8691/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f722143f-ebab-4ecb-9b60-fa814f081273" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/f7096a1fee85476c9bea57e609a9e07d", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert24189bd8691/f7096a1fee85476c9bea57e609a9e07d", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert24189bd8691/f7096a1fee85476c9bea57e609a9e07d", + "x5t": "G9AC8vvVP6X60mG4bBGURyUbBk4", + "cer": "MIIB2zCCAWGgAwIBAgIQYIj1B1gkQoWOQVgidrQkRDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPRenCgTLLr4fO8AV5RxgSBu\u002Bj7eIkWAQgZWEsogzUkHrRODwWdxVEP0KqfQm6r8uhSt6Qj1zNsXDdYOPteMXj6eo6ax7KKQmQmz7dfPKjb6i3I9sgAP2MVcHfOrEoJSLKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFOUMjKwjTPglQG8kTe\u002BFbqflDMnzMB0GA1UdDgQWBBTlDIysI0z4JUBvJE3vhW6n5QzJ8zAKBggqhkjOPQQDAwNoADBlAjA2YN0Q01klCT/b4bBBMlpg9OuxUsnDmf5foMEzPh8krsmI3mkYfi59oC3r\u002BwgQ88ECMQCdKCDMh5HfrgksrCStpbr82j32lnk2LPOOtShz44YC5IN5pxu6i8momZPF2SY5URs=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691/pending" + } + } + } + ], + "Variables": { + "0": "testcert24189bd8691" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateSpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateSpecificVersion[1].json index 2c862ca615ab8..9eac8b452ca99 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateSpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificateSpecificVersion[1].json @@ -1,105 +1,341 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert05372a8c3d9/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "32120f8c-d008-4559-b133-fbb86a73be46" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3fc1d305-63d2-4312-a8f7-a071c9f56e53", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8Rjstes0cDeB0ALfFNUzyIJMjGqlt3X8/vk0v10Jb6F4GgFOe1NpxW5ZAFV9w1Z9gxB11+Id2wQXVlgS1nGmH0jbdK9m73mZo68RvlEHBcmev7DorL9ktkwd1nVf+LY4oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALbCoU8xQaEPaMtCgME6m2okluddWioYMxC38Y+TIncLvuyBjyVVImoSxMNCR5GVUwIxAMgvo74wr7hwgZ9mOJw5bu4GzgCftj9mQYTMrMwE9H9biKokGt+RgP2R5ItSDMBNkQ==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"24c8cc6dcd3c4666886275033737c5db\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/pending?api-version=7.4&request_id=24c8cc6dcd3c4666886275033737c5db", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/pending?api-version=7.4\u0026request_id=49839c1c72094ef1a7240c428fd10a03", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "47676255-630f-457c-89a0-efdc4efc9873" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE064gtl6bvGg5PIyeeojOQus0323bcTp9tvT\u002BxYvGjtUuspYTrJVVbw5\u002BQZZzOlFuqblIwNz7Q2fKdhzcvs\u002BEL0hy/5IC3ffc1F2CXcs92qsEAizK/L8ZKo/hk08gsJYVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwCtJuMome3jFIJFcr90SplwbXxVyXPE8vgAzOpPle6pbNOq3dOZnl\u002Br\u002B6uSDsDoWDAjEAtH7Ntbt6m6mL0rbE3yVG0xJXtOvFa9KKk99vYth2ktP/TyZfVZnk1x/Lh1WwltMR", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "49839c1c72094ef1a7240c428fd10a03" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert05372a8c3d9/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0f9c03f0-3565-429e-9660-04a639cf0005" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE064gtl6bvGg5PIyeeojOQus0323bcTp9tvT\u002BxYvGjtUuspYTrJVVbw5\u002BQZZzOlFuqblIwNz7Q2fKdhzcvs\u002BEL0hy/5IC3ffc1F2CXcs92qsEAizK/L8ZKo/hk08gsJYVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwCtJuMome3jFIJFcr90SplwbXxVyXPE8vgAzOpPle6pbNOq3dOZnl\u002Br\u002B6uSDsDoWDAjEAtH7Ntbt6m6mL0rbE3yVG0xJXtOvFa9KKk99vYth2ktP/TyZfVZnk1x/Lh1WwltMR", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "49839c1c72094ef1a7240c428fd10a03" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "395b6a3e-ef15-4e08-b420-bc9409cc5a68", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8Rjstes0cDeB0ALfFNUzyIJMjGqlt3X8/vk0v10Jb6F4GgFOe1NpxW5ZAFV9w1Z9gxB11+Id2wQXVlgS1nGmH0jbdK9m73mZo68RvlEHBcmev7DorL9ktkwd1nVf+LY4oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALbCoU8xQaEPaMtCgME6m2okluddWioYMxC38Y+TIncLvuyBjyVVImoSxMNCR5GVUwIxAMgvo74wr7hwgZ9mOJw5bu4GzgCftj9mQYTMrMwE9H9biKokGt+RgP2R5ItSDMBNkQ==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9\",\"request_id\":\"24c8cc6dcd3c4666886275033737c5db\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0c983ce6-ff60-40ee-9a4b-fde702b48225" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE064gtl6bvGg5PIyeeojOQus0323bcTp9tvT\u002BxYvGjtUuspYTrJVVbw5\u002BQZZzOlFuqblIwNz7Q2fKdhzcvs\u002BEL0hy/5IC3ffc1F2CXcs92qsEAizK/L8ZKo/hk08gsJYVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwCtJuMome3jFIJFcr90SplwbXxVyXPE8vgAzOpPle6pbNOq3dOZnl\u002Br\u002B6uSDsDoWDAjEAtH7Ntbt6m6mL0rbE3yVG0xJXtOvFa9KKk99vYth2ktP/TyZfVZnk1x/Lh1WwltMR", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67", + "request_id": "49839c1c72094ef1a7240c428fd10a03" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert05372a8c3d9/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a3388ded-2f8e-4a0f-b9d7-fcc2f66d5afe" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "cer": "MIIB3DCCAWGgAwIBAgIQOBLfw1pNT\u002BCh\u002Bwy9v1HcaTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNOuILZem7xoOTyMnnqIzkLrNN9t23E6fbb0/sWLxo7VLrKWE6yVVW8OfkGWczpRbqm5SMDc\u002B0NnynYc3L7PhC9Icv\u002BSAt333NRdgl3LPdqrBAIsyvy/GSqP4ZNPILCWFaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFISbMxKXztCUGAfyKZbAFsfTM9SbMB0GA1UdDgQWBBSEmzMSl87QlBgH8imWwBbH0zPUmzAKBggqhkjOPQQDAwNpADBmAjEA28QK5K5tFxp5PrrMK\u002BM6RJaAiuEAP5pTWdhuXCvp4a4dGubam5\u002BGEs5ELpoKx4hKAjEAsOb368fP0Vt4xjMXngVrTjUe4lvAtjWFgknghVvq46l801j2eM1o5y9Qd0AeIdnC", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "02bcb5d2-ad0a-42da-b9b8-81b56f4e1764", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"x5t\":\"Bq2EKqUV7yhWUWKcvUBbJb5_gxE\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQCIoAulavT7uQP22EFHRQGDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMFoXDTI1MDMxNjA4MDkyMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPEY7LXrNHA3gdAC3xTVM8iCTIxqpbd1/P75NL9dCW+heBoBTntTacVuWQBVfcNWfYMQddfiHdsEF1ZYEtZxph9I23SvZu95maOvEb5RBwXJnr+w6Ky/ZLZMHdZ1X/i2OKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIUe9rC8h7m7AJsPMx0Dct7lNxG3MB0GA1UdDgQWBBSFHvawvIe5uwCbDzMdA3Le5TcRtzAKBggqhkjOPQQDAwNnADBkAjBI3eQmj6lBkfFZxbd8fYq4dS2I9XF6so9B1n0FROjh1SzTxWbcw7eKIrzP96rhgMMCMBfPbVN6dMzwPZw5ePlYMRqjjmgLW9NUHhF1wZPIJxErON6B/zWADclqYAEx4s/CvQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954159,\"updated\":1678954159}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1196", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0c534569-42e6-4d44-abab-cf0368a5bded", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert05372a8c3d9/d172c8bfbafe46a5bc96e68de0f34c84\",\"x5t\":\"Bq2EKqUV7yhWUWKcvUBbJb5_gxE\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQCIoAulavT7uQP22EFHRQGDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMFoXDTI1MDMxNjA4MDkyMFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABPEY7LXrNHA3gdAC3xTVM8iCTIxqpbd1/P75NL9dCW+heBoBTntTacVuWQBVfcNWfYMQddfiHdsEF1ZYEtZxph9I23SvZu95maOvEb5RBwXJnr+w6Ky/ZLZMHdZ1X/i2OKN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIUe9rC8h7m7AJsPMx0Dct7lNxG3MB0GA1UdDgQWBBSFHvawvIe5uwCbDzMdA3Le5TcRtzAKBggqhkjOPQQDAwNnADBkAjBI3eQmj6lBkfFZxbd8fYq4dS2I9XF6so9B1n0FROjh1SzTxWbcw7eKIrzP96rhgMMCMBfPbVN6dMzwPZw5ePlYMRqjjmgLW9NUHhF1wZPIJxErON6B/zWADclqYAEx4s/CvQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert05372a8c3d9" ] + { + "RequestUri": "https://REDACTED/certificates/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1190", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "43af65ea-e23b-4cfb-8f04-b975c691f841" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert12248a9fc67/ea9b497b43d646509b18f5dbe00e7f0c", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "cer": "MIIB3DCCAWGgAwIBAgIQOBLfw1pNT\u002BCh\u002Bwy9v1HcaTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNOuILZem7xoOTyMnnqIzkLrNN9t23E6fbb0/sWLxo7VLrKWE6yVVW8OfkGWczpRbqm5SMDc\u002B0NnynYc3L7PhC9Icv\u002BSAt333NRdgl3LPdqrBAIsyvy/GSqP4ZNPILCWFaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFISbMxKXztCUGAfyKZbAFsfTM9SbMB0GA1UdDgQWBBSEmzMSl87QlBgH8imWwBbH0zPUmzAKBggqhkjOPQQDAwNpADBmAjEA28QK5K5tFxp5PrrMK\u002BM6RJaAiuEAP5pTWdhuXCvp4a4dGubam5\u002BGEs5ELpoKx4hKAjEAsOb368fP0Vt4xjMXngVrTjUe4lvAtjWFgknghVvq46l801j2eM1o5y9Qd0AeIdnC", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testcert12248a9fc67" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificate[1].json index c1643e990e9ea..40089f20a0ed0 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getCertificate[1].json @@ -1,105 +1,502 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert62702785964/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b5ef74e3-4536-4b8c-80fb-9ebf3ca516be" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5fb3fb65-5a5a-4044-949d-1fc9a218169b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2AwBAt6WmeiQ94VgDtaDgx6OIoTPwvGKvnDPok8NvJtmIZqvtNprKXUqGnISconoZEFDyweqtUXCINJA+JISYL9RA7qeLQreBQZ9hngZiThk+63xoe5eXvz/Y1LbhMKXoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAOdtaG2SzJ6jLVbA107B/S/DqOYVP1D2YI+ivQD0vnMyIsE6PO32kOKA3b6S0mGuyAIxAJJQPXsKBwTg9ghGPp6gQL0sd8SQzGqZvdfR21e2RNsUILAhdloSAUa5PV9mT1eqvg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0bb13ab1794a4b5188294a19d9662266\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert62702785964/pending?api-version=7.4&request_id=0bb13ab1794a4b5188294a19d9662266", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "be06676e-bf2b-443e-bf26-abb7abe4aefc" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert62702785964/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a1ff5016-96fe-4fe6-aa54-832ad84ba55f" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0596e9d4-0618-4677-b874-6a5d86892965", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2AwBAt6WmeiQ94VgDtaDgx6OIoTPwvGKvnDPok8NvJtmIZqvtNprKXUqGnISconoZEFDyweqtUXCINJA+JISYL9RA7qeLQreBQZ9hngZiThk+63xoe5eXvz/Y1LbhMKXoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAOdtaG2SzJ6jLVbA107B/S/DqOYVP1D2YI+ivQD0vnMyIsE6PO32kOKA3b6S0mGuyAIxAJJQPXsKBwTg9ghGPp6gQL0sd8SQzGqZvdfR21e2RNsUILAhdloSAUa5PV9mT1eqvg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964\",\"request_id\":\"0bb13ab1794a4b5188294a19d9662266\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:11 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/pending?api-version=7.4\u0026request_id=a9f0542adf5640c1bc0a500617e59c93", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2745185b-034b-4c2f-bcf7-5ff161afd26b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEtZNcLeI6qB8Hq6Ntbdo\u002BnB1aCsMKU\u002BmdnCRnKSb0nCiIOG9AyQOScpxC5fHIo9/zFXXwoR2p1CTFlkndagHVCyi5reORPx/fjGVidceWAKFOENz\u002BUt4hRQ\u002BvQ\u002Bli3bxGoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwGLPHpr1gn72k1RsxSB5wPDonphJbU3\u002Bgz2lX295VdEvo4GdMY\u002BAl6cx848WCwa8IAjBEeqVt/JHUgvY4efjjer5CcLQ6tfWE\u002BXR90K26Uz4blNJBrFvzaRh0fCzJelO1CbQ=", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a9f0542adf5640c1bc0a500617e59c93" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert62702785964/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3045d43e-db2f-49d1-855c-dac94cef5f46" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEtZNcLeI6qB8Hq6Ntbdo\u002BnB1aCsMKU\u002BmdnCRnKSb0nCiIOG9AyQOScpxC5fHIo9/zFXXwoR2p1CTFlkndagHVCyi5reORPx/fjGVidceWAKFOENz\u002BUt4hRQ\u002BvQ\u002Bli3bxGoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwGLPHpr1gn72k1RsxSB5wPDonphJbU3\u002Bgz2lX295VdEvo4GdMY\u002BAl6cx848WCwa8IAjBEeqVt/JHUgvY4efjjer5CcLQ6tfWE\u002BXR90K26Uz4blNJBrFvzaRh0fCzJelO1CbQ=", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d", + "request_id": "a9f0542adf5640c1bc0a500617e59c93" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "edd7fe2a-40fa-4796-885a-b76db7abd1d9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"x5t\":\"8MceP-9eU9W7nhKmwDFce51dSRw\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQKdyjMFsYQkm66yPFg/+ZvDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkzM1oXDTI1MDMxNjA4MDkzM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNgMAQLelpnokPeFYA7Wg4MejiKEz8Lxir5wz6JPDbybZiGar7Taayl1KhpyEnKJ6GRBQ8sHqrVFwiDSQPiSEmC/UQO6ni0K3gUGfYZ4GYk4ZPut8aHuXl78/2NS24TCl6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFLA7FNU+0hsJk2TPFxHlRYSuZIZ1MB0GA1UdDgQWBBSwOxTVPtIbCZNkzxcR5UWErmSGdTAKBggqhkjOPQQDAwNoADBlAjEA3v0NnRcHkuIVUw5tSiQqdT2aoru7igEMxPHxq2uo92vtYiV/HCEx2bsPb/eHiTqsAjBLyJfsDNhbAbNLZZDxh/OpSbQzgSMYKdWzPplQz2/+iiJ8KYSRwf8W3tsHnPNw1TM=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954173,\"updated\":1678954173}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7b0a8009-7158-4095-9418-87f22a44f0e8" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "x5t": "NSGYAPyW_cvQOWPWzcOVTKN_cA0", + "cer": "MIIB3DCCAWGgAwIBAgIQFWxRy1bhTEGGEHAm07MpyjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxMloXDTI1MDQxMjAyNTIxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLWTXC3iOqgfB6ujbW3aPpwdWgrDClPpnZwkZykm9JwoiDhvQMkDknKcQuXxyKPf8xV18KEdqdQkxZZJ3WoB1Qsoua3jkT8f34xlYnXHlgChThDc/lLeIUUPr0PpYt28RqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFL9BexFI1lhyJwYhXjBKw4QCtFb3MB0GA1UdDgQWBBS/QXsRSNZYcicGIV4wSsOEArRW9zAKBggqhkjOPQQDAwNpADBmAjEAxiTb\u002B7LSamR79wfb2YgEINqnBEitpV840Z1AE2jMGJ55bS6gOYBZ7KVkQ2AVNlUVAjEAlR2CCAT7c38f3FVgwheWGufX0HcR4oweUo/jkv7Ve0cwjegpRb1Yd5M0iHuNkV54", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert62702785964/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1bcad652-416b-4feb-99e2-4a42c174e72f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert62702785964/5d41b945179540098b8894f4f31938d8\",\"x5t\":\"8MceP-9eU9W7nhKmwDFce51dSRw\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQKdyjMFsYQkm66yPFg/+ZvDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkzM1oXDTI1MDMxNjA4MDkzM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNgMAQLelpnokPeFYA7Wg4MejiKEz8Lxir5wz6JPDbybZiGar7Taayl1KhpyEnKJ6GRBQ8sHqrVFwiDSQPiSEmC/UQO6ni0K3gUGfYZ4GYk4ZPut8aHuXl78/2NS24TCl6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFLA7FNU+0hsJk2TPFxHlRYSuZIZ1MB0GA1UdDgQWBBSwOxTVPtIbCZNkzxcR5UWErmSGdTAKBggqhkjOPQQDAwNoADBlAjEA3v0NnRcHkuIVUw5tSiQqdT2aoru7igEMxPHxq2uo92vtYiV/HCEx2bsPb/eHiTqsAjBLyJfsDNhbAbNLZZDxh/OpSbQzgSMYKdWzPplQz2/+iiJ8KYSRwf8W3tsHnPNw1TM=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954173,\"updated\":1678954173}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert62702785964" ] + { + "RequestUri": "https://REDACTED/certificates/testcert27446e8292d/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "96a27f6d-2dc7-49d1-b13c-10f508dfcc62" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert27446e8292d/a23423b8b47b4f2bae33592554631f98", + "x5t": "NSGYAPyW_cvQOWPWzcOVTKN_cA0", + "cer": "MIIB3DCCAWGgAwIBAgIQFWxRy1bhTEGGEHAm07MpyjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxMloXDTI1MDQxMjAyNTIxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABLWTXC3iOqgfB6ujbW3aPpwdWgrDClPpnZwkZykm9JwoiDhvQMkDknKcQuXxyKPf8xV18KEdqdQkxZZJ3WoB1Qsoua3jkT8f34xlYnXHlgChThDc/lLeIUUPr0PpYt28RqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFL9BexFI1lhyJwYhXjBKw4QCtFb3MB0GA1UdDgQWBBS/QXsRSNZYcicGIV4wSsOEArRW9zAKBggqhkjOPQQDAwNpADBmAjEAxiTb\u002B7LSamR79wfb2YgEINqnBEitpV840Z1AE2jMGJ55bS6gOYBZ7KVkQ2AVNlUVAjEAlR2CCAT7c38f3FVgwheWGufX0HcR4oweUo/jkv7Ve0cwjegpRb1Yd5M0iHuNkV54", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d/pending" + } + } + } + ], + "Variables": { + "0": "testcert27446e8292d" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificateNotFound[1].json index bd43c0e365de0..6ec678cc726b5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:04:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e5401497-0dc6-440c-8f05-0c3e684b1eab" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f916c8e5-2b2b-4bd4-824e-006678599c2b", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:04:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d7a3f29-a8c8-4ad6-b50d-3b6558c8a264" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificate[1].json index a9161516fd4a7..86f9412021dea 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.getDeletedCertificate[1].json @@ -1,155 +1,490 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert94279fce980/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert982359b2570/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "884c44f8-92d6-4f81-b737-a01d4629acc5" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "84842763-7963-4c95-949b-097fe8161d74", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZv1+eoWuQGK/aJmCQzCz54fTjQydw4/qG8zh57tL/FGyuCBZ7rOm2yetwDiegIjCiuYR62/YsfXivpWlmgtrU37qsDnIOwATaxqmoJ63Tc+kSiPp1dBefJzZVE4AKAZ7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAKkLDa0kh8Hqt92xBoEyHboW26e7iikVpK98REC4sRVYt4CVS51KWvfPb1B0FY+vbwIxAOzc/NRAuuRmwj+9kfyl0f4BT8WuBBCt+11+dR6aHP1GXINdh8FBLq05fJx+idtQuw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5a0a577c2bab4b4f84c5323f9df490ce\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending?api-version=7.4&request_id=5a0a577c2bab4b4f84c5323f9df490ce", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert982359b2570/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "852", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:28 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending?api-version=7.4\u0026request_id=a47eda7c81f042f7b6df380f29272e1f", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "01ae9bf8-003d-45f0-969e-da47afcae8cb" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEK/FJqwfziTZIdnrhItQCKz4l8MFcJrO39WygsimZUxBELe9GtcGebH5y3jAYpug/Hb4KAYtb28iibZi2h4IALr\u002BCAqpRiyCOzFEn824ne\u002Bdz\u002B6EofFvIGRQZmFVMTsWtoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxANsHOnjwmZshg\u002Bz2uHFeu6AawueEa3DxNFhRhrvmopyKvs1qMCA9oKTUIGLRWZYiBwIxAJ013hNN8mp2pDTfeFgz7rxCwExZcqqWxl4w8j3BwDQUGnLOKWSmPny32LhGDOw8iA==", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a47eda7c81f042f7b6df380f29272e1f" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert94279fce980/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert982359b2570/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aa40dae6-1e6b-4a81-ab3a-6346117659b6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEK/FJqwfziTZIdnrhItQCKz4l8MFcJrO39WygsimZUxBELe9GtcGebH5y3jAYpug/Hb4KAYtb28iibZi2h4IALr\u002BCAqpRiyCOzFEn824ne\u002Bdz\u002B6EofFvIGRQZmFVMTsWtoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxANsHOnjwmZshg\u002Bz2uHFeu6AawueEa3DxNFhRhrvmopyKvs1qMCA9oKTUIGLRWZYiBwIxAJ013hNN8mp2pDTfeFgz7rxCwExZcqqWxl4w8j3BwDQUGnLOKWSmPny32LhGDOw8iA==", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570", + "request_id": "a47eda7c81f042f7b6df380f29272e1f" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e7188d22-c872-4c5b-b10b-0ca359988f4d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEZv1+eoWuQGK/aJmCQzCz54fTjQydw4/qG8zh57tL/FGyuCBZ7rOm2yetwDiegIjCiuYR62/YsfXivpWlmgtrU37qsDnIOwATaxqmoJ63Tc+kSiPp1dBefJzZVE4AKAZ7oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxAKkLDa0kh8Hqt92xBoEyHboW26e7iikVpK98REC4sRVYt4CVS51KWvfPb1B0FY+vbwIxAOzc/NRAuuRmwj+9kfyl0f4BT8WuBBCt+11+dR6aHP1GXINdh8FBLq05fJx+idtQuw==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980\",\"request_id\":\"5a0a577c2bab4b4f84c5323f9df490ce\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert982359b2570?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "06931d17-084f-46c8-8f22-089d4fbb5197" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert982359b2570", + "deletedDate": 1681276829, + "scheduledPurgeDate": 1681881629, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "x5t": "1JUacvH3qGRlxL2xjj02LEAwwb0", + "cer": "MIIB2jCCAWGgAwIBAgIQMIk0Q0CVTD2B\u002BtJP7c4TCjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjA1MTAyOVoXDTI1MDQxMjA1MjAyOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABCvxSasH84k2SHZ64SLUAis\u002BJfDBXCazt/VsoLIpmVMQRC3vRrXBnmx\u002Bct4wGKboPx2\u002BCgGLW9vIom2YtoeCAC6/ggKqUYsgjsxRJ/NuJ3vnc/uhKHxbyBkUGZhVTE7FraN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMFYd6erX/8kZSff1aqqT\u002B05MGSkMB0GA1UdDgQWBBTBWHenq1//JGUn39Wqqk/tOTBkpDAKBggqhkjOPQQDAwNnADBkAjBzq5g2fPGLFiEQk86J2Q08K7A2I60DIgvkpo3rHc/zeLVJd7kMT6T8Fq710jWmi34CMDzPW4T3SVBhUI0VlFJPS\u002BtHSgRqcZEF6Suxfb6cXCtlpkG6bY6Lrqg6fObeX4WY2w==", + "attributes": { + "enabled": true, + "nbf": 1681276229, + "exp": 1744435229, + "created": 1681276829, + "updated": 1681276829, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681276828, + "updated": 1681276828 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert94279fce980?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert982359b2570?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e7a6cff1-9c1a-4cd7-bef7-71f241e1af6e" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert982359b2570" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "abf558ea-b583-4215-80f3-293d5ee3c2d9", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert94279fce980\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"x5t\":\"rIUA1kmA1gZDqD5UsuMGJbobYGY\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQENb5TiTMQ1mXm+zeCs1wgTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMloXDTI1MDMxNjA4MDkxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABGb9fnqFrkBiv2iZgkMws+eH040MncOP6hvM4ee7S/xRsrggWe6zptsnrcA4noCIwormEetv2LH14r6VpZoLa1N+6rA5yDsAE2sapqCet03PpEoj6dXQXnyc2VROACgGe6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFI9J8n+DVzpn506/Ee8PIJPTj+v5MB0GA1UdDgQWBBSPSfJ/g1c6Z+dOvxHvDyCT04/r+TAKBggqhkjOPQQDAwNoADBlAjEAqsb+nrNhw1w9NOXZAoDR+/vmpPsT3WevkZJIcXjIYR2i1ZmNJQVqqd1F3FUYM6vtAjA3PBJIxkwH1tsAHXIiJp6uZkmxtDkgeMQJf88A19oOf7rx2ta//RNmBGiAduzNlWM=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert982359b2570?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5c0789bf-f377-42b2-a49f-f980e2da066c" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert982359b2570", + "deletedDate": 1681276829, + "scheduledPurgeDate": 1681881629, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "x5t": "1JUacvH3qGRlxL2xjj02LEAwwb0", + "cer": "MIIB2jCCAWGgAwIBAgIQMIk0Q0CVTD2B\u002BtJP7c4TCjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjA1MTAyOVoXDTI1MDQxMjA1MjAyOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABCvxSasH84k2SHZ64SLUAis\u002BJfDBXCazt/VsoLIpmVMQRC3vRrXBnmx\u002Bct4wGKboPx2\u002BCgGLW9vIom2YtoeCAC6/ggKqUYsgjsxRJ/NuJ3vnc/uhKHxbyBkUGZhVTE7FraN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMFYd6erX/8kZSff1aqqT\u002B05MGSkMB0GA1UdDgQWBBTBWHenq1//JGUn39Wqqk/tOTBkpDAKBggqhkjOPQQDAwNnADBkAjBzq5g2fPGLFiEQk86J2Q08K7A2I60DIgvkpo3rHc/zeLVJd7kMT6T8Fq710jWmi34CMDzPW4T3SVBhUI0VlFJPS\u002BtHSgRqcZEF6Suxfb6cXCtlpkG6bY6Lrqg6fObeX4WY2w==", + "attributes": { + "enabled": true, + "nbf": 1681276229, + "exp": 1744435229, + "created": 1681276829, + "updated": 1681276829, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681276828, + "updated": 1681276828 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert94279fce980?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e61a4d07-a4b1-4fc6-a794-c64f2dd5e809", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert94279fce980\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert94279fce980?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3f42af1e-13dc-43a9-9aaf-bab7b019a8af", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert94279fce980\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"x5t\":\"rIUA1kmA1gZDqD5UsuMGJbobYGY\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQENb5TiTMQ1mXm+zeCs1wgTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMloXDTI1MDMxNjA4MDkxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABGb9fnqFrkBiv2iZgkMws+eH040MncOP6hvM4ee7S/xRsrggWe6zptsnrcA4noCIwormEetv2LH14r6VpZoLa1N+6rA5yDsAE2sapqCet03PpEoj6dXQXnyc2VROACgGe6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFI9J8n+DVzpn506/Ee8PIJPTj+v5MB0GA1UdDgQWBBSPSfJ/g1c6Z+dOvxHvDyCT04/r+TAKBggqhkjOPQQDAwNoADBlAjEAqsb+nrNhw1w9NOXZAoDR+/vmpPsT3WevkZJIcXjIYR2i1ZmNJQVqqd1F3FUYM6vtAjA3PBJIxkwH1tsAHXIiJp6uZkmxtDkgeMQJf88A19oOf7rx2ta//RNmBGiAduzNlWM=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert94279fce980?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5da2de94-5d4b-4261-a657-f373da67cb87", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert94279fce980\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert94279fce980/dd9f1ec1e3324b71b61c1b4ec7573822\",\"x5t\":\"rIUA1kmA1gZDqD5UsuMGJbobYGY\",\"cer\":\"MIIB2zCCAWGgAwIBAgIQENb5TiTMQ1mXm+zeCs1wgTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxMloXDTI1MDMxNjA4MDkxMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABGb9fnqFrkBiv2iZgkMws+eH040MncOP6hvM4ee7S/xRsrggWe6zptsnrcA4noCIwormEetv2LH14r6VpZoLa1N+6rA5yDsAE2sapqCet03PpEoj6dXQXnyc2VROACgGe6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFI9J8n+DVzpn506/Ee8PIJPTj+v5MB0GA1UdDgQWBBSPSfJ/g1c6Z+dOvxHvDyCT04/r+TAKBggqhkjOPQQDAwNoADBlAjEAqsb+nrNhw1w9NOXZAoDR+/vmpPsT3WevkZJIcXjIYR2i1ZmNJQVqqd1F3FUYM6vtAjA3PBJIxkwH1tsAHXIiJp6uZkmxtDkgeMQJf88A19oOf7rx2ta//RNmBGiAduzNlWM=\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert94279fce980" ] + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert982359b2570?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 05:20:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0f8b0da3-fc0f-4853-ae22-ab19c9b78307" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert982359b2570", + "deletedDate": 1681276829, + "scheduledPurgeDate": 1681881629, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert982359b2570/1d1c2db76bd14f7bbc31e41134cd3852", + "x5t": "1JUacvH3qGRlxL2xjj02LEAwwb0", + "cer": "MIIB2jCCAWGgAwIBAgIQMIk0Q0CVTD2B\u002BtJP7c4TCjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjA1MTAyOVoXDTI1MDQxMjA1MjAyOVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABCvxSasH84k2SHZ64SLUAis\u002BJfDBXCazt/VsoLIpmVMQRC3vRrXBnmx\u002Bct4wGKboPx2\u002BCgGLW9vIom2YtoeCAC6/ggKqUYsgjsxRJ/NuJ3vnc/uhKHxbyBkUGZhVTE7FraN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMFYd6erX/8kZSff1aqqT\u002B05MGSkMB0GA1UdDgQWBBTBWHenq1//JGUn39Wqqk/tOTBkpDAKBggqhkjOPQQDAwNnADBkAjBzq5g2fPGLFiEQk86J2Q08K7A2I60DIgvkpo3rHc/zeLVJd7kMT6T8Fq710jWmi34CMDzPW4T3SVBhUI0VlFJPS\u002BtHSgRqcZEF6Suxfb6cXCtlpkG6bY6Lrqg6fObeX4WY2w==", + "attributes": { + "enabled": true, + "nbf": 1681276229, + "exp": 1744435229, + "created": 1681276829, + "updated": 1681276829, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681276828, + "updated": 1681276828 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert982359b2570/pending" + } + } + } + ], + "Variables": { + "0": "testcert982359b2570" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importCertificate[1].json index c9511584f5ec3..ac8ce9bdbe933 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importCertificate[1].json @@ -1,29 +1,136 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/importcertpkcs18458ce7/import?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/importcertpkcs0802660b/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b326d355-4cc3-4a93-b2cb-ecb592f4afb8" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2195", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ed52390e-d205-4cc1-a85e-92fb62a3567c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs18458ce7/068235d6e0ba45fdadf4c6d33dfc447b\",\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs18458ce7/068235d6e0ba45fdadf4c6d33dfc447b\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs18458ce7/068235d6e0ba45fdadf4c6d33dfc447b\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"cer\":\"MIIDDzCCAfegAwIBAgIUPnG5OzbWNMDRDWcAs7/z12GGbQQwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MB4XDTIzMDMwNDAxMTQwM1oXDTI0MDMwMzAxMTQwM1owFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv68zJXrJd0QFmzmL0vXjZgER82K5PV5eE+ponTg8LzbAgvXZNTK0W1EjwTe6xwrJeeIDPLN5aKuLHYEAJG5/p5+J/iycqhYM8d33hTq7Iaa0MI0ijbqG7ccQdMmrPMO/dahXNKmHK2RuxrswM9k07ZslXthoiAjQduTaxNcn7dKZ7mOYcTZvPp8Yx11hVcQextA6SGS9/r0BfBClK+OZ6f8jZzGkV5ieVo621ikSfcRC0kywChB1ZEEMDQXofUwto656oLlxsY/B7dtTQMwlFz1QHUYG1PpoyGW0sFl3FMVUZ/jdMwDZWa9NYuzSiyuSW4Jc1YGhNzaIsc3pa8ZcVwIDAQABo1MwUTAdBgNVHQ4EFgQU9rMViA3O61dYZyQLAl5HYbaWR80wHwYDVR0jBBgwFoAU9rMViA3O61dYZyQLAl5HYbaWR80wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAd3+FOKZXVb/+FG5LN3UV+qZP4muFO5caTN2ADWEd3tou5A3SmUotTHvPAax6XfaEhodf4dWIqs2rNGANzLE5ys/fgCtHUK2gkY0CJ+aUYLbXHCnf2wayb2nh12fgMdLM91iwWcHR8eNb1tf5FpKTXjxREHFgc/DziuEElD6u+5IMUXdtbyFkQa9LL9ybDjhBp0RlDYBStWMw8VVtyHmIgOIHR7X0AVyCCjE+ZR1QdnhmImzSZraPQFHAHL8n53JRrnf8SJJqPUPy+1zdtofrsoZEbiFxuqsdAhzF42Tv4Q+cjUfSgKp/EZr9s1lNa3m1IbCsDYFYblWAoZN6oYnYKA==\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs18458ce7/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":12,\"basic_constraints\":{\"ca\":true}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1678954164,\"updated\":1678954164}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "importcertpkcs18458ce7" ] + { + "RequestUri": "https://REDACTED/certificates/importcertpkcs0802660b/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "3283", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "MIIJUQIBAzCCCRcGCSqGSIb3DQEHAaCCCQgEggkEMIIJADCCA7cGCSqGSIb3DQEHBqCCA6gwggOkAgEAMII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gIIAA==", + "pwd": "fakePasswordPlaceholder", + "attributes": { + "enabled": true + }, + "tags": { + "key": "val" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2187", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "480c5330-0bb2-4507-aec0-80f6088ad52d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs0802660b/d32f46e2b22749b78b41d1d369242c85", + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs0802660b/d32f46e2b22749b78b41d1d369242c85", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/importcertpkcs0802660b/d32f46e2b22749b78b41d1d369242c85", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "cer": "MIIDDzCCAfegAwIBAgIUPnG5OzbWNMDRDWcAs7/z12GGbQQwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MB4XDTIzMDMwNDAxMTQwM1oXDTI0MDMwMzAxMTQwM1owFzEVMBMGA1UEAwwMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv68zJXrJd0QFmzmL0vXjZgER82K5PV5eE\u002BponTg8LzbAgvXZNTK0W1EjwTe6xwrJeeIDPLN5aKuLHYEAJG5/p5\u002BJ/iycqhYM8d33hTq7Iaa0MI0ijbqG7ccQdMmrPMO/dahXNKmHK2RuxrswM9k07ZslXthoiAjQduTaxNcn7dKZ7mOYcTZvPp8Yx11hVcQextA6SGS9/r0BfBClK\u002BOZ6f8jZzGkV5ieVo621ikSfcRC0kywChB1ZEEMDQXofUwto656oLlxsY/B7dtTQMwlFz1QHUYG1PpoyGW0sFl3FMVUZ/jdMwDZWa9NYuzSiyuSW4Jc1YGhNzaIsc3pa8ZcVwIDAQABo1MwUTAdBgNVHQ4EFgQU9rMViA3O61dYZyQLAl5HYbaWR80wHwYDVR0jBBgwFoAU9rMViA3O61dYZyQLAl5HYbaWR80wDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAd3\u002BFOKZXVb/\u002BFG5LN3UV\u002BqZP4muFO5caTN2ADWEd3tou5A3SmUotTHvPAax6XfaEhodf4dWIqs2rNGANzLE5ys/fgCtHUK2gkY0CJ\u002BaUYLbXHCnf2wayb2nh12fgMdLM91iwWcHR8eNb1tf5FpKTXjxREHFgc/DziuEElD6u\u002B5IMUXdtbyFkQa9LL9ybDjhBp0RlDYBStWMw8VVtyHmIgOIHR7X0AVyCCjE\u002BZR1QdnhmImzSZraPQFHAHL8n53JRrnf8SJJqPUPy\u002B1zdtofrsoZEbiFxuqsdAhzF42Tv4Q\u002BcjUfSgKp/EZr9s1lNa3m1IbCsDYFYblWAoZN6oYnYKA==", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267922, + "updated": 1681267922, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs0802660b/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=KeyVaultTest", + "ekus": [], + "key_usage": [], + "validity_months": 12, + "basic_constraints": { + "ca": true + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "EmailContacts" + } + } + ], + "issuer": { + "name": "Unknown" + }, + "attributes": { + "enabled": true, + "created": 1681267922, + "updated": 1681267922 + } + } + } + } + ], + "Variables": { + "0": "importcertpkcs0802660b" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importPemCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importPemCertificate[1].json index 6459d1cb36111..f6947c6e3acf6 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importPemCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.importPemCertificate[1].json @@ -1,29 +1,149 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/importcertpem849004cb/import?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/importcertpem88272c66/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9d8d25f5-bba2-411a-a6c8-4ba8446db127" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2470", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "718c87e7-2727-42bf-8b2f-5c2435f05ffa", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb/b560def494224ff38cb440ac26f18a08\",\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem849004cb/b560def494224ff38cb440ac26f18a08\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/importcertpem849004cb/b560def494224ff38cb440ac26f18a08\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"cer\":\"MIIDqzCCApMCFC+MROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAlBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNvbTAeFw0yMDAyMTQyMzE3MTZaFw0yNTAyMTIyMzE3MTZaMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAlBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANwCTuK0OnFc8UytzzCIB5pUWqWCMZA8kWO1Es84wOVupPTZHNDWKI57prj0CB5JP2yU8BkIFjhkV/9wc2KLjKwu7xaJTwBZF/i0t8dPBbgiEUmK6xdbJsLXoef/XZ5AmvCKb0mimEMvL8KgeF5OHuZJuYO0zCiRNVtpZYSx2R73qhgy5klDHh346qQd5T+KbsdK3DArilT86QO1GrpBWl1GPvHJ3VZ1OO33iFWfyEVgwdAtMAkWXH8Eh1/MpPE8WQk5X5pdVEu+RJLLrVbgr+cnlVzfirSVLRarKZROAB3e2x8JdSqylnar/WWK11NERdiKaZr3WxAkceuVkTsKmRkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAYLfk2dBcW1mJbkVYx80ogDUy/xX3d+uuop2gZwUXuzWYI4uXzSEsY37/+NKzOX6PtET3X6xENDW7AuJhTuWmTGZtPB1AjiVKLIgRwugV3Ovr1DoPBIvS7iCHGGcsr7tAgYxiVATlIcczCxQG1KPhrrLSUDxkbiyUHpyroExHGBeCUflT2BIO+TZ+44aYfO7vuwpu0ajfB6Rs0s/DM+uUTWCfsVvyPenObHz5HF2vxf75y8pr3fYKuUvpJ45T0ZjiXyRpkBTDudU3vuYuyAP3PwO6F/ic7Rm9D1uzEI38Va+o6CUh4NJnpIZIBs7T+rPwhKrUuM7BEO0CL7VTh37UzA==\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"E=opensource@microsoft.com, CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Redmond, S=WA, C=US\",\"ekus\":[],\"key_usage\":[],\"validity_months\":60,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954151,\"updated\":1678954151}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "importcertpem849004cb" ] + { + "RequestUri": "https://REDACTED/certificates/importcertpem88272c66/import?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "3323", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "-----BEGIN CERTIFICATE-----\nMIIDqzCCApMCFC\u002BMROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGR\nMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQ\nBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlB\nenVyZSBTREsxJzAlBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNv\nbTAeFw0yMDAyMTQyMzE3MTZaFw0yNTAyMTIyMzE3MTZaMIGRMQswCQYDVQQGEwJV\nUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jv\nc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAl\nBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNvbTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBANwCTuK0OnFc8UytzzCIB5pUWqWCMZA8kWO1\nEs84wOVupPTZHNDWKI57prj0CB5JP2yU8BkIFjhkV/9wc2KLjKwu7xaJTwBZF/i0\nt8dPBbgiEUmK6xdbJsLXoef/XZ5AmvCKb0mimEMvL8KgeF5OHuZJuYO0zCiRNVtp\nZYSx2R73qhgy5klDHh346qQd5T\u002BKbsdK3DArilT86QO1GrpBWl1GPvHJ3VZ1OO33\niFWfyEVgwdAtMAkWXH8Eh1/MpPE8WQk5X5pdVEu\u002BRJLLrVbgr\u002BcnlVzfirSVLRar\nKZROAB3e2x8JdSqylnar/WWK11NERdiKaZr3WxAkceuVkTsKmRkCAwEAATANBgkq\nhkiG9w0BAQsFAAOCAQEAYLfk2dBcW1mJbkVYx80ogDUy/xX3d\u002Buuop2gZwUXuzWY\nI4uXzSEsY37/\u002BNKzOX6PtET3X6xENDW7AuJhTuWmTGZtPB1AjiVKLIgRwugV3Ovr\n1DoPBIvS7iCHGGcsr7tAgYxiVATlIcczCxQG1KPhrrLSUDxkbiyUHpyroExHGBeC\nUflT2BIO\u002BTZ\u002B44aYfO7vuwpu0ajfB6Rs0s/DM\u002BuUTWCfsVvyPenObHz5HF2vxf75\ny8pr3fYKuUvpJ45T0ZjiXyRpkBTDudU3vuYuyAP3PwO6F/ic7Rm9D1uzEI38Va\u002Bo\n6CUh4NJnpIZIBs7T\u002BrPwhKrUuM7BEO0CL7VTh37UzA==\n-----END CERTIFICATE-----\n-----BEGIN PRIVATE KEY-----\nREDACTED\n-----END PRIVATE KEY-----\n", + "policy": { + "key_props": {}, + "secret_props": { + "contentType": "application/x-pem-file" + }, + "x509_props": { + "subject": "CN=AzureSDK", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + }, + "tags": { + "key": "val" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0a204e93-0cc2-4146-8250-d5e0e1c15fec" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66/4e767e7ea5284ca599fbcc34d260b271", + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem88272c66/4e767e7ea5284ca599fbcc34d260b271", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/importcertpem88272c66/4e767e7ea5284ca599fbcc34d260b271", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "cer": "MIIDqzCCApMCFC\u002BMROpib4t03Wqzgkcod1lad6JtMA0GCSqGSIb3DQEBCwUAMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAlBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNvbTAeFw0yMDAyMTQyMzE3MTZaFw0yNTAyMTIyMzE3MTZaMIGRMQswCQYDVQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1JlZG1vbmQxEjAQBgNVBAoMCU1pY3Jvc29mdDESMBAGA1UECwwJQXp1cmUgU0RLMRIwEAYDVQQDDAlBenVyZSBTREsxJzAlBgkqhkiG9w0BCQEWGG9wZW5zb3VyY2VAbWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANwCTuK0OnFc8UytzzCIB5pUWqWCMZA8kWO1Es84wOVupPTZHNDWKI57prj0CB5JP2yU8BkIFjhkV/9wc2KLjKwu7xaJTwBZF/i0t8dPBbgiEUmK6xdbJsLXoef/XZ5AmvCKb0mimEMvL8KgeF5OHuZJuYO0zCiRNVtpZYSx2R73qhgy5klDHh346qQd5T\u002BKbsdK3DArilT86QO1GrpBWl1GPvHJ3VZ1OO33iFWfyEVgwdAtMAkWXH8Eh1/MpPE8WQk5X5pdVEu\u002BRJLLrVbgr\u002BcnlVzfirSVLRarKZROAB3e2x8JdSqylnar/WWK11NERdiKaZr3WxAkceuVkTsKmRkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAYLfk2dBcW1mJbkVYx80ogDUy/xX3d\u002Buuop2gZwUXuzWYI4uXzSEsY37/\u002BNKzOX6PtET3X6xENDW7AuJhTuWmTGZtPB1AjiVKLIgRwugV3Ovr1DoPBIvS7iCHGGcsr7tAgYxiVATlIcczCxQG1KPhrrLSUDxkbiyUHpyroExHGBeCUflT2BIO\u002BTZ\u002B44aYfO7vuwpu0ajfB6Rs0s/DM\u002BuUTWCfsVvyPenObHz5HF2vxf75y8pr3fYKuUvpJ45T0ZjiXyRpkBTDudU3vuYuyAP3PwO6F/ic7Rm9D1uzEI38Va\u002Bo6CUh4NJnpIZIBs7T\u002BrPwhKrUuM7BEO0CL7VTh37UzA==", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pem-file" + }, + "x509_props": { + "subject": "E=opensource@microsoft.com, CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Redmond, S=WA, C=US", + "ekus": [], + "key_usage": [], + "validity_months": 60, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267917, + "updated": 1681267917 + } + } + } + } + ], + "Variables": { + "0": "importcertpem88272c66" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateIssuers[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateIssuers[1].json index e2fade2554638..3ec4c4066e4f5 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateIssuers[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateIssuers[1].json @@ -1,554 +1,1419 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer58304c53?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer03723727?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f8e78fd4-cfb9-45aa-bd82-a5624cd59db1" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f315ad6b-4dbe-4a96-ab72-7829dbdcae44", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer58304c53\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer03723727?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "27f5271d-71cf-41bd-91c5-a4b878fb16d6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer03723727", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer35947f0b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer880535ba?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c1aea073-472e-448f-a93f-33a3e87a1000" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer880535ba", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b4aa5b58-46b8-4a7d-ad7d-b57bf6539bcc", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer35947f0b\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer37247996?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ba75491-07d0-4398-836c-304064a0ed82" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer37247996", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer61368164?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer69991263?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1704359e-fac2-4bec-a454-fae6edc25e31" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer69991263", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f8b5c3ae-1bc5-4f4b-84fd-2fda4b3c5786", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer61368164\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer382711b4?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8e56242d-3519-49ab-836d-e2d09bba93ff" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer382711b4", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer04867dc6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer274977ff?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "50712b01-1b07-473e-920d-50a44041cef2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer274977ff", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a6b8e7f8-1aba-4d61-b46b-54a88e1af47b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04867dc6\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer43179db0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "75c021fb-ae7d-453e-bd33-03d1cde763a0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer43179db0", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer80761f59?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer979604ac?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4124d65d-87fb-4df7-8112-e1bb1a073801" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer979604ac", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7a5336a6-deda-48ac-bc74-45a08680dd6c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer80761f59\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer66160d05?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9e279ab3-51ce-477f-8206-6bf0bb4abe44" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer66160d05", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer36383a16?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer6126838d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bed05fae-b15b-40f8-b3f5-afeeb2009a5f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer6126838d", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "97fa6daa-b045-46b3-a948-52a401e13829", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer36383a16\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/Issuers?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2683", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9804113f-33fb-48ee-bce1-f8e38d680d02" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer02356c85", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer03723727", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer05877fff", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer274977ff", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer37247996", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer382711b4", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer43179db0", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer53350b92", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer57598dd4", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer59410e79", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer6126838d", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer61891310", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer64709f46", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer66160d05", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer67123b89", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer69991263", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer804676aa", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer877419d0", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer880535ba", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer979604ac", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer14119d9d29", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8115464e15", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer8499016d15", + "provider": "Test" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer937724e3ff", + "provider": "Test" + } + ], + "nextLink": null + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer71954a33?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer03723727?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f0942e35-1339-45d8-83c3-2267ac0007b4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer03723727", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "89da11e9-5531-4fde-b686-84078f88e60e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71954a33\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer880535ba?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6441118e-24c8-4d2e-86de-eacdf2b8e65d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer880535ba", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267918, + "updated": 1681267918 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer3846007f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer37247996?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f99a3ded-2b10-40c9-8064-9e1de5ac1a60" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer37247996", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "75a258c4-3d1d-4e09-a09d-066498d7ec1c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer3846007f\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer69991263?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1679836e-36d6-4102-a95c-8ed033c5fbc5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer69991263", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer71562739?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer382711b4?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "85f11779-058c-4bf1-a790-f654c5e30d3b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer382711b4", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1f1fad3b-a67a-4236-97d4-6904e2686638", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71562739\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer274977ff?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "78796b9a-b443-44b3-9403-3a5f4220ee6f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer274977ff", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer16102e4d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer43179db0?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "81f53b6b-48f6-4f54-bbdd-a40f97b395c9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer43179db0", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5f77902c-e608-4e02-9509-047f325d08f2", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer16102e4d\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer979604ac?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2d4bc33e-77cf-4c21-b9ea-a8ad3b2d4495" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer979604ac", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/Issuers?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer66160d05?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "62499dff-1125-46bb-8b0c-73e120829970" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer66160d05", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3169", - "x-ms-request-id" : "42ac5e91-bc68-4614-9588-e142300e99fd", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04793e32\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04867dc6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer05607230\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer0621158e\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer09453b03\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer145535c1\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer16102e4d\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer184706a6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer220739e6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer35947f0b\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer36383a16\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer3846007f\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer38738d22\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer41610bc1\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer49224b67\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer511445a6\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer5137339a\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer5337485b\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer53852b25\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer56875732\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer58304c53\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer61368164\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer63743750\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71562739\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71954a33\",\"provider\":\"Test\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates/issuers?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXlJV05sY25ScFptbGpZWFJsTDBsVFUxVkZVbE12VEVsVFZFTkZVbFJKVTFOVlJWSTNNalE1T0VVME1DRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates/issuers?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXlJV05sY25ScFptbGpZWFJsTDBsVFUxVkZVbE12VEVsVFZFTkZVbFJKVTFOVlJWSTNNalE1T0VVME1DRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1369", - "x-ms-request-id" : "a7ac4847-db9f-468f-b40d-df137823c6e1", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72498e40\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer72931efd\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer80761f59\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer82406df0\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer92832fff\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer339682cd6e\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer35432e6337\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer3944587159\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer409028ab59\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5356974891\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5628623d2a\",\"provider\":\"Test\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer83488cdbeb\",\"provider\":\"Test\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer58304c53?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dd44e262-7b7e-4c2b-96fd-111bbb01875c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer58304c53\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer35947f0b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "31d018e1-e754-4fde-bd43-5dfb2ad60f08", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer35947f0b\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer61368164?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fb29a049-cd31-455e-919c-ba9d84848987", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer61368164\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer04867dc6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2ea8783a-fa3d-4ee6-92be-3c5c123c870a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer04867dc6\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer80761f59?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e89d0976-1092-4713-91e1-79ca3dfd990a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer80761f59\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer36383a16?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a03e43bb-e2e7-4282-ad6d-dec776100840", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer36383a16\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer71954a33?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4d58c893-602b-4317-8dc1-5c9a3b9da12c", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71954a33\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer3846007f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "883a6fb5-1ef4-49ca-94da-0c9ed9872d0a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer3846007f\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer71562739?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c8e0ad64-dac7-4d72-bdbd-7820430de7cd", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer71562739\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/listcertissuer16102e4d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eddba46f-0c02-4e42-9332-41ffab233165", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/listcertissuer16102e4d\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954152,\"updated\":1678954152}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertissuer71562739", "listcertissuer80761f59", "listcertissuer04867dc6", "listcertissuer36383a16", "listcertissuer35947f0b", "listcertissuer71954a33", "listcertissuer58304c53", "listcertissuer61368164", "listcertissuer3846007f", "listcertissuer16102e4d" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/listcertissuer6126838d?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c8532784-b11e-4a86-970e-f2f5ac989a7c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/listcertissuer6126838d", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } + } + ], + "Variables": { + "0": "listcertissuer43179db0", + "1": "listcertissuer979604ac", + "2": "listcertissuer66160d05", + "3": "listcertissuer69991263", + "4": "listcertissuer37247996", + "5": "listcertissuer382711b4", + "6": "listcertissuer6126838d", + "7": "listcertissuer880535ba", + "8": "listcertissuer03723727", + "9": "listcertissuer274977ff" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateVersions[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateVersions[1].json index 8e701a886c1e4..675bb3a23f05a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificateVersions[1].json @@ -1,384 +1,1201 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0d568638-526b-4e3e-aca2-29252bcdee03" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1de78eca-7df8-46af-88ad-7713eb8fa9b7", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANGNrPU4yDd8TJjPrfTTDQbI/cBb3uyF5oWrvpM4qpAPnmohTt3VwloOYqwdtCls2zjk26tKJ+F2R0Q5TP1lJ/KEzwXVk2l+4LbDQ2U75EDwrk1efcDiFIB7IqNeBmHO5cWyMNhVlI7o18mwLdmBKrbAbjJ2fcCnDqllPIPT1hpkVmzYtEYNjrvKBuQD/x3jWMH1/aTBolsOKSSxZwLINvJ32pTvckCfuwHAfpmlotqyu8XwfwmXzDhimPJDAe2UytpGbAAg++2nW3bEqoiYctBc8qjBKB47SlFigi9w1m9VCQ1CeE9Pj41UjYSzn9TYCUyJEfcqLXN3HgRGZ1HLf/ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCiCqxgcWxQRG+I98nrqEuuW8u0tR/Ccmsvr23D+b6KmXd5BKGtt8E4fIRYFM/9Uwq4HbERNsiqi/+IcwAq/rS4cuENBc1Eso9LLl07Zq9TUpMI0UAqapr4E0S2pq9MBIgvuTbfnRPJGdhaFSm2Fm3e7NTk80gSHA828uZdxAUsMTNz4ulnZfeudRlr+11wqaeyXFRdhBb7+oV+rYTfLSfqwtZX179YUdCBmL8nDBqZ5Jmj4w3gqk1JwamViKXLGIKcdjLYhATb3tC+85GpD6vJZGIaFeZ1xEDxwqsP/gcOm0VH8PnUVUJsom2PseCdvsjVZr5eqbDCzv99ZEgsbx1h\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"97f57e3cf5bf4f73848ecfdd598ceb07\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4&request_id=97f57e3cf5bf4f73848ecfdd598ceb07", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending?api-version=7.4\u0026request_id=fdaf74192a1d4225a6ad7b86d6e2916d", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a382f81e-07ea-43bc-803a-8f7a92faeac9" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMDTpTbf4jvg9J9qmyD0Oa8D/1mKE2GjosdjvHsXolwGk2MD/yksqnqOBVsag0ulg29HZLt3SvK9LDaNgkYERHWVby8jjcI5b7BGww7fG2WmgKPRSTJ3K/IJDsvYghWhiZUkCcIHZWbAtTDwEPuT3xrK0cDiMnMDD7RCZeltDE61ldSOVRkZacVhCfglf97PU3bkTjEwLLg6VlsdYlVbxpSUfu6bjwoaJJcHOLpqH40PYQlxI76QFGrLfZYsceqeF4Nu99XYj\u002BEdmECkeQEI8VLowQem0sQt6Hq5D3imiclEx6dogbQczZsX3mwF\u002BNHOgmvCMVjM3CVeOn7AURBCLV0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA5nRD16nuQOxcwuS0zj2ag7iZ1Loz0rKofpHh6dgzOIFDAf/6Tg1wgPqfWfgmZCg\u002B0FxiM0QZKlTmCg9gM/fM8i8K1kzibJN6Y0KFhLH0QFd1gL3e0N6zcWres9BbEfvOhUaFeTCMLsRdgSbcbN2NjJdMbBBYrYwSAYa1IL\u002B\u002Bj/d98wyAbP9TRBi8L1xdRoxhfch938hmm9eNVl\u002BPNZGWs04uAGM/5VSBrVb7//DVpqp9B1KUMc0llDgadk0rHmqOdcSFYIigkxvOUbPcTlHbF5w3MyUrksSsS2TJJnYRN3\u002B/cJ5LEO5TbmHU0K0wcgwXNkispmWIJARx3BIGMPuOP", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "fdaf74192a1d4225a6ad7b86d6e2916d" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "54373a3a-9039-4155-b2b1-6511cabe226b" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMDTpTbf4jvg9J9qmyD0Oa8D/1mKE2GjosdjvHsXolwGk2MD/yksqnqOBVsag0ulg29HZLt3SvK9LDaNgkYERHWVby8jjcI5b7BGww7fG2WmgKPRSTJ3K/IJDsvYghWhiZUkCcIHZWbAtTDwEPuT3xrK0cDiMnMDD7RCZeltDE61ldSOVRkZacVhCfglf97PU3bkTjEwLLg6VlsdYlVbxpSUfu6bjwoaJJcHOLpqH40PYQlxI76QFGrLfZYsceqeF4Nu99XYj\u002BEdmECkeQEI8VLowQem0sQt6Hq5D3imiclEx6dogbQczZsX3mwF\u002BNHOgmvCMVjM3CVeOn7AURBCLV0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA5nRD16nuQOxcwuS0zj2ag7iZ1Loz0rKofpHh6dgzOIFDAf/6Tg1wgPqfWfgmZCg\u002B0FxiM0QZKlTmCg9gM/fM8i8K1kzibJN6Y0KFhLH0QFd1gL3e0N6zcWres9BbEfvOhUaFeTCMLsRdgSbcbN2NjJdMbBBYrYwSAYa1IL\u002B\u002Bj/d98wyAbP9TRBi8L1xdRoxhfch938hmm9eNVl\u002BPNZGWs04uAGM/5VSBrVb7//DVpqp9B1KUMc0llDgadk0rHmqOdcSFYIigkxvOUbPcTlHbF5w3MyUrksSsS2TJJnYRN3\u002B/cJ5LEO5TbmHU0K0wcgwXNkispmWIJARx3BIGMPuOP", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "fdaf74192a1d4225a6ad7b86d6e2916d" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3877442f-7058-4c62-80dd-00c7bb0f48e6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANGNrPU4yDd8TJjPrfTTDQbI/cBb3uyF5oWrvpM4qpAPnmohTt3VwloOYqwdtCls2zjk26tKJ+F2R0Q5TP1lJ/KEzwXVk2l+4LbDQ2U75EDwrk1efcDiFIB7IqNeBmHO5cWyMNhVlI7o18mwLdmBKrbAbjJ2fcCnDqllPIPT1hpkVmzYtEYNjrvKBuQD/x3jWMH1/aTBolsOKSSxZwLINvJ32pTvckCfuwHAfpmlotqyu8XwfwmXzDhimPJDAe2UytpGbAAg++2nW3bEqoiYctBc8qjBKB47SlFigi9w1m9VCQ1CeE9Pj41UjYSzn9TYCUyJEfcqLXN3HgRGZ1HLf/ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCiCqxgcWxQRG+I98nrqEuuW8u0tR/Ccmsvr23D+b6KmXd5BKGtt8E4fIRYFM/9Uwq4HbERNsiqi/+IcwAq/rS4cuENBc1Eso9LLl07Zq9TUpMI0UAqapr4E0S2pq9MBIgvuTbfnRPJGdhaFSm2Fm3e7NTk80gSHA828uZdxAUsMTNz4ulnZfeudRlr+11wqaeyXFRdhBb7+oV+rYTfLSfqwtZX179YUdCBmL8nDBqZ5Jmj4w3gqk1JwamViKXLGIKcdjLYhATb3tC+85GpD6vJZGIaFeZ1xEDxwqsP/gcOm0VH8PnUVUJsom2PseCdvsjVZr5eqbDCzv99ZEgsbx1h\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"request_id\":\"97f57e3cf5bf4f73848ecfdd598ceb07\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0366f6f4-45ce-440d-a845-a24c11cd0ea5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMDTpTbf4jvg9J9qmyD0Oa8D/1mKE2GjosdjvHsXolwGk2MD/yksqnqOBVsag0ulg29HZLt3SvK9LDaNgkYERHWVby8jjcI5b7BGww7fG2WmgKPRSTJ3K/IJDsvYghWhiZUkCcIHZWbAtTDwEPuT3xrK0cDiMnMDD7RCZeltDE61ldSOVRkZacVhCfglf97PU3bkTjEwLLg6VlsdYlVbxpSUfu6bjwoaJJcHOLpqH40PYQlxI76QFGrLfZYsceqeF4Nu99XYj\u002BEdmECkeQEI8VLowQem0sQt6Hq5D3imiclEx6dogbQczZsX3mwF\u002BNHOgmvCMVjM3CVeOn7AURBCLV0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA5nRD16nuQOxcwuS0zj2ag7iZ1Loz0rKofpHh6dgzOIFDAf/6Tg1wgPqfWfgmZCg\u002B0FxiM0QZKlTmCg9gM/fM8i8K1kzibJN6Y0KFhLH0QFd1gL3e0N6zcWres9BbEfvOhUaFeTCMLsRdgSbcbN2NjJdMbBBYrYwSAYa1IL\u002B\u002Bj/d98wyAbP9TRBi8L1xdRoxhfch938hmm9eNVl\u002BPNZGWs04uAGM/5VSBrVb7//DVpqp9B1KUMc0llDgadk0rHmqOdcSFYIigkxvOUbPcTlHbF5w3MyUrksSsS2TJJnYRN3\u002B/cJ5LEO5TbmHU0K0wcgwXNkispmWIJARx3BIGMPuOP", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "fdaf74192a1d4225a6ad7b86d6e2916d" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "51c157ba-4d52-47cd-a05f-035ab1d7d1f5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMDTpTbf4jvg9J9qmyD0Oa8D/1mKE2GjosdjvHsXolwGk2MD/yksqnqOBVsag0ulg29HZLt3SvK9LDaNgkYERHWVby8jjcI5b7BGww7fG2WmgKPRSTJ3K/IJDsvYghWhiZUkCcIHZWbAtTDwEPuT3xrK0cDiMnMDD7RCZeltDE61ldSOVRkZacVhCfglf97PU3bkTjEwLLg6VlsdYlVbxpSUfu6bjwoaJJcHOLpqH40PYQlxI76QFGrLfZYsceqeF4Nu99XYj\u002BEdmECkeQEI8VLowQem0sQt6Hq5D3imiclEx6dogbQczZsX3mwF\u002BNHOgmvCMVjM3CVeOn7AURBCLV0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA5nRD16nuQOxcwuS0zj2ag7iZ1Loz0rKofpHh6dgzOIFDAf/6Tg1wgPqfWfgmZCg\u002B0FxiM0QZKlTmCg9gM/fM8i8K1kzibJN6Y0KFhLH0QFd1gL3e0N6zcWres9BbEfvOhUaFeTCMLsRdgSbcbN2NjJdMbBBYrYwSAYa1IL\u002B\u002Bj/d98wyAbP9TRBi8L1xdRoxhfch938hmm9eNVl\u002BPNZGWs04uAGM/5VSBrVb7//DVpqp9B1KUMc0llDgadk0rHmqOdcSFYIigkxvOUbPcTlHbF5w3MyUrksSsS2TJJnYRN3\u002B/cJ5LEO5TbmHU0K0wcgwXNkispmWIJARx3BIGMPuOP", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "request_id": "fdaf74192a1d4225a6ad7b86d6e2916d" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d3ccda1a-f586-4aff-9a9b-8603d50cbaf1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMWVjQMo02v9iPDDN5BIkFXpZgvEt8Q/ZTzcKBB6guD1D18T1mUKeOH3d4vIyMGiQZqUVuEBzFEcS4vcM6HTs7/SjDpgFuxaz5+Xc6Xj0Ffe5X1ffZvK4u8Ffey+2FSe1ejDhwn7xazB65NJ+y7JBL6jx9vr5/GIgTHo3auZ6F3H5QttTDFD3K9l/1xkTwq3qtPMAsBKs4fzBzS+/ITy4tWmUtPgyKXN5v2Vrx3j/yWmT7y/C2Bn03DqxmXYzuuZzdtiQQAxJ5iB2uuGGY26HZoR68428x12J5BcU0fYmP74RQ+vBmf2mGgbhZJ02lWok1KSsg0kOm1T2NkF4OX0yTkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGWfTuRWtjwsQ/2Vxw5X8Q5bxdq9WXJW+Xc4PWogRcXiKJ2iwbu7eorn+QMpqk2wyLQLdAtzUABcPCmACbujfYxixMtqsRGpH2+NYRP3OYoYssYNMwr5bdOMHGMHKoQ1pff/jkgd4gPQwxgJdUp50jdXocLODiMqNPzRiERs4PRClpdgQaMrG8oWLx8vW+3uJ+aKi1u5FDVjagEovyqXgWBdT7W7DpXEKa6YFxhjrERWjfiVgjKXAcbRsrMtC9hMsWwDiUT/1nla4H1siNzbe0LnWZq4gNSAsnatniP+yzpNypQo2iOvWRJI6kjt5oHaHb1G0oEhfuaa+hWzHSfSks\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"34accbc48c0f468db0f22d9826b3b184\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4&request_id=34accbc48c0f468db0f22d9826b3b184", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "737e4858-1b74-48d2-9d91-59d0922109a2" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "64719e74-bed5-48bc-8aa0-97fb027180ff" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b211e0f5-bd1a-4ae1-99a6-14cecc4ffa83", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMWVjQMo02v9iPDDN5BIkFXpZgvEt8Q/ZTzcKBB6guD1D18T1mUKeOH3d4vIyMGiQZqUVuEBzFEcS4vcM6HTs7/SjDpgFuxaz5+Xc6Xj0Ffe5X1ffZvK4u8Ffey+2FSe1ejDhwn7xazB65NJ+y7JBL6jx9vr5/GIgTHo3auZ6F3H5QttTDFD3K9l/1xkTwq3qtPMAsBKs4fzBzS+/ITy4tWmUtPgyKXN5v2Vrx3j/yWmT7y/C2Bn03DqxmXYzuuZzdtiQQAxJ5iB2uuGGY26HZoR68428x12J5BcU0fYmP74RQ+vBmf2mGgbhZJ02lWok1KSsg0kOm1T2NkF4OX0yTkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGWfTuRWtjwsQ/2Vxw5X8Q5bxdq9WXJW+Xc4PWogRcXiKJ2iwbu7eorn+QMpqk2wyLQLdAtzUABcPCmACbujfYxixMtqsRGpH2+NYRP3OYoYssYNMwr5bdOMHGMHKoQ1pff/jkgd4gPQwxgJdUp50jdXocLODiMqNPzRiERs4PRClpdgQaMrG8oWLx8vW+3uJ+aKi1u5FDVjagEovyqXgWBdT7W7DpXEKa6YFxhjrERWjfiVgjKXAcbRsrMtC9hMsWwDiUT/1nla4H1siNzbe0LnWZq4gNSAsnatniP+yzpNypQo2iOvWRJI6kjt5oHaHb1G0oEhfuaa+hWzHSfSks\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"request_id\":\"34accbc48c0f468db0f22d9826b3b184\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:14 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending?api-version=7.4\u0026request_id=d3a8848a47584e97b4bb89ba0de132f9", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2df9e019-7bdf-417c-9680-06460a1b3b99" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMp97n5T81g33UfwNAzCc96zZAyaR\u002BouRjAMq2e085p5ssBgpaxoDYJ/LVDKR\u002Bv8WW1m2Tog/oxZWRN3oBM7qSlyXXn7qWEI2q8fRLXQPCSw\u002B7t5BfmCdR7HaFkgNRGEj2o4AKbFoC8l49SuHCIJLU4vryDk8FNPVCHm4QBEGhbZnMvfZ0GELsfkgZ0QCezyLP8NecC6M3hAU/o5JGpyLrBBkXKXoNBCPPikEwh1uXRFUELHuUSe1R1jX4DBRpsrGeRgWb3ZEAHnifbKBn97yp29p4Sr6l/aNPN5shKWmvOZs46XuBvAMHfS1iASsvppGVZXO2v1gMt\u002BzNFgFYruy\u002BkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADTt75nSqME4aV1G9CE/Eszq3rk5etd4TYuJbGpf0fsGlQp3FvdwS9vS7ygl1C9NxwcKAmIaX5k735JIy6oS5yzddjmcEyfiaavR4PrQ6vVuvt\u002Bt7G\u002BdRPq5LoCZXaI42JZbEGQV74UJ\u002Bj2sIHUtFBMf1rkAAkfeqNvRWFcdGuBpNKtjD30E9zthvyhN/vXhALyKdg0OLW9AaMOBHO3JGjSKAM8qDmn6V9QpFShU93pC0\u002B7e\u002Big7jTegiCZBjP8njMR7eb41ziE33Oj6SOx/\u002Bp1nS/QgnRlWYDL4rnTDClKDlhng\u002BkLzPdGj7HMZU9jbFzGCJIZcRwe7cJbZyWK2RT", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "d3a8848a47584e97b4bb89ba0de132f9" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b24c3878-3bec-458e-a1f2-f6b4d7237212" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMp97n5T81g33UfwNAzCc96zZAyaR\u002BouRjAMq2e085p5ssBgpaxoDYJ/LVDKR\u002Bv8WW1m2Tog/oxZWRN3oBM7qSlyXXn7qWEI2q8fRLXQPCSw\u002B7t5BfmCdR7HaFkgNRGEj2o4AKbFoC8l49SuHCIJLU4vryDk8FNPVCHm4QBEGhbZnMvfZ0GELsfkgZ0QCezyLP8NecC6M3hAU/o5JGpyLrBBkXKXoNBCPPikEwh1uXRFUELHuUSe1R1jX4DBRpsrGeRgWb3ZEAHnifbKBn97yp29p4Sr6l/aNPN5shKWmvOZs46XuBvAMHfS1iASsvppGVZXO2v1gMt\u002BzNFgFYruy\u002BkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADTt75nSqME4aV1G9CE/Eszq3rk5etd4TYuJbGpf0fsGlQp3FvdwS9vS7ygl1C9NxwcKAmIaX5k735JIy6oS5yzddjmcEyfiaavR4PrQ6vVuvt\u002Bt7G\u002BdRPq5LoCZXaI42JZbEGQV74UJ\u002Bj2sIHUtFBMf1rkAAkfeqNvRWFcdGuBpNKtjD30E9zthvyhN/vXhALyKdg0OLW9AaMOBHO3JGjSKAM8qDmn6V9QpFShU93pC0\u002B7e\u002Big7jTegiCZBjP8njMR7eb41ziE33Oj6SOx/\u002Bp1nS/QgnRlWYDL4rnTDClKDlhng\u002BkLzPdGj7HMZU9jbFzGCJIZcRwe7cJbZyWK2RT", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "d3a8848a47584e97b4bb89ba0de132f9" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8cbc2adf-1818-4177-b131-efe3df644a25", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK++eixzOTMrgARLPT/z6BMnGnchN13dzuMhtMpp26ITKlrxUtITJND3bl/5V37BqHZccGZyTVz1zaDMZzvwc+G5KhEqVArVjXQhp8nj64iJscPSRvWPmReebdRCh39fv5SGSR4sUp3/OovUd1tiKJCmPb//oJLwUkvpEStJR4Vc6nxPiX6nZF+53BLkQzrzWTjXrPN7q1PDWw9s6096JkSvWGISe5xn3ol4mljxBbGBbJUIuilotNzt6allSVl6H+lBdE/98rfR/OJKJXiM4c37c7Doa1anJayUyN0eVBeDTJoW9n+gY3RaA3I2cGqLTEmPuLlgiLnQJM4Vc/fAeZkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAoibdd9EjmdunTb4LI6vZygwZpvDYTL/7sKwMtfcIKkQXlNnOUhz7utwwIdl14tnaimO3uZFAqfft1yqp1knsHmUVMKDJqxUz77ybufsjvkxaF8otyRCSzBVpFKgNUTGsTNgrbLtI3kKp72G5aSk3Bbs6ZygZewCMZlimSv6S0vouVYTMlCmFWU1J9erCxSDY90pVBkCvV4c7wIfBk5ZvkIWAGhgFG+8PyKTbCH1vJtSoJZV0tgamPMqVc0AfOhPCBhUsSpb2Acux+4iX6cr6zbOojmRo8lXYb2VUI00KK4tc7vNc2f2t1Ti6iMB8/7HkmmJcSIxAI4JT89DgY9Ynq\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"f1f68741339a498c8306dae1f23bd527\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4&request_id=f1f68741339a498c8306dae1f23bd527", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2a37b2db-d141-4f9e-b2b4-ced3276dec8f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMp97n5T81g33UfwNAzCc96zZAyaR\u002BouRjAMq2e085p5ssBgpaxoDYJ/LVDKR\u002Bv8WW1m2Tog/oxZWRN3oBM7qSlyXXn7qWEI2q8fRLXQPCSw\u002B7t5BfmCdR7HaFkgNRGEj2o4AKbFoC8l49SuHCIJLU4vryDk8FNPVCHm4QBEGhbZnMvfZ0GELsfkgZ0QCezyLP8NecC6M3hAU/o5JGpyLrBBkXKXoNBCPPikEwh1uXRFUELHuUSe1R1jX4DBRpsrGeRgWb3ZEAHnifbKBn97yp29p4Sr6l/aNPN5shKWmvOZs46XuBvAMHfS1iASsvppGVZXO2v1gMt\u002BzNFgFYruy\u002BkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADTt75nSqME4aV1G9CE/Eszq3rk5etd4TYuJbGpf0fsGlQp3FvdwS9vS7ygl1C9NxwcKAmIaX5k735JIy6oS5yzddjmcEyfiaavR4PrQ6vVuvt\u002Bt7G\u002BdRPq5LoCZXaI42JZbEGQV74UJ\u002Bj2sIHUtFBMf1rkAAkfeqNvRWFcdGuBpNKtjD30E9zthvyhN/vXhALyKdg0OLW9AaMOBHO3JGjSKAM8qDmn6V9QpFShU93pC0\u002B7e\u002Big7jTegiCZBjP8njMR7eb41ziE33Oj6SOx/\u002Bp1nS/QgnRlWYDL4rnTDClKDlhng\u002BkLzPdGj7HMZU9jbFzGCJIZcRwe7cJbZyWK2RT", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "request_id": "d3a8848a47584e97b4bb89ba0de132f9" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e598e062-78a8-4d42-bedb-7016116f38d3" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:47 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7e24f3ce-5343-4cce-a3d4-be3c39c031bb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK++eixzOTMrgARLPT/z6BMnGnchN13dzuMhtMpp26ITKlrxUtITJND3bl/5V37BqHZccGZyTVz1zaDMZzvwc+G5KhEqVArVjXQhp8nj64iJscPSRvWPmReebdRCh39fv5SGSR4sUp3/OovUd1tiKJCmPb//oJLwUkvpEStJR4Vc6nxPiX6nZF+53BLkQzrzWTjXrPN7q1PDWw9s6096JkSvWGISe5xn3ol4mljxBbGBbJUIuilotNzt6allSVl6H+lBdE/98rfR/OJKJXiM4c37c7Doa1anJayUyN0eVBeDTJoW9n+gY3RaA3I2cGqLTEmPuLlgiLnQJM4Vc/fAeZkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAoibdd9EjmdunTb4LI6vZygwZpvDYTL/7sKwMtfcIKkQXlNnOUhz7utwwIdl14tnaimO3uZFAqfft1yqp1knsHmUVMKDJqxUz77ybufsjvkxaF8otyRCSzBVpFKgNUTGsTNgrbLtI3kKp72G5aSk3Bbs6ZygZewCMZlimSv6S0vouVYTMlCmFWU1J9erCxSDY90pVBkCvV4c7wIfBk5ZvkIWAGhgFG+8PyKTbCH1vJtSoJZV0tgamPMqVc0AfOhPCBhUsSpb2Acux+4iX6cr6zbOojmRo8lXYb2VUI00KK4tc7vNc2f2t1Ti6iMB8/7HkmmJcSIxAI4JT89DgY9Ynq\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"request_id\":\"f1f68741339a498c8306dae1f23bd527\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4525a952-2dd6-4275-8170-a56f9fdeed8a" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:25 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending?api-version=7.4\u0026request_id=5f0079d0e71f4fdf996bbfd67f32884a", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "03d5d0d9-39eb-4dc2-9168-966378959d27" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMOaAsDRL\u002BiUHzFJsBqeOc4djPguWk73u68GHmSy7rAenbD5RLB94pGK6TP08O9NGrypgHzm4Q\u002Bmw0VwKgmHcVeRKJBeR5OWiUxhuA4fOynsPZLSN2HhfvlYNycg9tT7uOZDilyYdzuDOKJbVPfq/K4ag4QMxPjceN4rUncL4PMmkJj5ZardtVTgNmlLHYgI\u002BzQxdkanrWGWlRR504E21f6CKY/3WL4nKNubuyWEXAszWMjrrn/eoO3fZNI94uqTaM3xlYFFmy9zX9t953kqIwPhl\u002BrHUhQr4oyEmwNua4Cj3lWibG0ehnzwUrAXhlWYxwaQJtZpN\u002BzpBI2XzT6MfMECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADdQW2RKVsXGsy1ScEseQor06L8BXuJ3gJOIdl4V\u002B7Rx0gXhRw37AtlK2KD\u002BtvSNTIgeodFtyM2OrJ3drreh29kn7Q7y87QqGDSORhxUPk/XcHVuO1pd1Kv/s7HlsVzN18pPaTG5zLzvU0MY3qZ3WGFJELeUxQr5XoIxjL9hM9FehA4NBrk2sixXwC5JGDNFzclyFtgGaxuKPB4SzNQ25iCLWgGEhZySpjZwjz8Uu6tgCfBuBmOMZlEh0eKIPseuuZHG6Sv8CL9byr4gHRQnYaqr3yc76y\u002BoK4fXQd2O4ISI7Ppugf9y6RSa\u002Bb2bWvMxWk\u002B/4ZaiE2dwXa6sfyzlAU", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "5f0079d0e71f4fdf996bbfd67f32884a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:47 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "04bdb109-c424-4921-b3c4-6c5268112e28", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN/HmbpfglSa2fZEIlbF9+rYD/UMDN8uUS3gEuuMUmwld+ypNpM5WcRnqRFgG2dFeElfiRnYR5v2ZbkZ58jzai0No47xc95JJx1ZCj9Sje+ZdY2yotEXVjByF6UZGDfyDlp8qNWWZHOlPYmKjRanH+0C+tXhKSsjZiuj48n1KzXbXDNPQ86A6QICPw7f7rAoYSY7wMYYAY3dk3ascxD8jglxvey1LNc6yEkP5A9HLNrBY/eojppuJfa1yJin/UfZ2gV740VkSkeNa8B0Kc7a3euhAUvBV6rhKLWad+L4ZXQGe0tBVd75b41S18xYcJLXBaWAdFj38Jinv0s4Ut+Ld7ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAekuzRA+0tT8msoZeKSssUnrBB0awHJtg0OlI7ixawIpPXneqonjxNNWYrJd1mVrlF4FgZkX6xaQkI4f+3R87p6Bi7xfLYOV7vns26zTX2oWYpOeBC/TEE750RyP27rcIbck/9AMpb4zUDn9FuePPASzF59Yw8qvxX988XLU9THH+sk8ZjE7OSPWEh0pA0ZhD7TKBen/NababRbIM0b7tfmZcAL8OeE8pCB6jGKTlOEfUiRWUESMQlTgzofULss+r1BglMr4mdG2QiCrOYzcGmCznF649OV3pTPah0WvGK2AWwJzS/4gRtczyLN5+hEs1Ob66UTd7tikov1YZfsSI3\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"8a5fbe05e0a44532b57bc08015c8bb63\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4&request_id=8a5fbe05e0a44532b57bc08015c8bb63", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ea2832c3-bf74-4264-ad64-a5dd12e148e7" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMOaAsDRL\u002BiUHzFJsBqeOc4djPguWk73u68GHmSy7rAenbD5RLB94pGK6TP08O9NGrypgHzm4Q\u002Bmw0VwKgmHcVeRKJBeR5OWiUxhuA4fOynsPZLSN2HhfvlYNycg9tT7uOZDilyYdzuDOKJbVPfq/K4ag4QMxPjceN4rUncL4PMmkJj5ZardtVTgNmlLHYgI\u002BzQxdkanrWGWlRR504E21f6CKY/3WL4nKNubuyWEXAszWMjrrn/eoO3fZNI94uqTaM3xlYFFmy9zX9t953kqIwPhl\u002BrHUhQr4oyEmwNua4Cj3lWibG0ehnzwUrAXhlWYxwaQJtZpN\u002BzpBI2XzT6MfMECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADdQW2RKVsXGsy1ScEseQor06L8BXuJ3gJOIdl4V\u002B7Rx0gXhRw37AtlK2KD\u002BtvSNTIgeodFtyM2OrJ3drreh29kn7Q7y87QqGDSORhxUPk/XcHVuO1pd1Kv/s7HlsVzN18pPaTG5zLzvU0MY3qZ3WGFJELeUxQr5XoIxjL9hM9FehA4NBrk2sixXwC5JGDNFzclyFtgGaxuKPB4SzNQ25iCLWgGEhZySpjZwjz8Uu6tgCfBuBmOMZlEh0eKIPseuuZHG6Sv8CL9byr4gHRQnYaqr3yc76y\u002BoK4fXQd2O4ISI7Ppugf9y6RSa\u002Bb2bWvMxWk\u002B/4ZaiE2dwXa6sfyzlAU", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "5f0079d0e71f4fdf996bbfd67f32884a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cf7ec5f6-b434-451d-88b7-38d1e2f7b1b7" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMOaAsDRL\u002BiUHzFJsBqeOc4djPguWk73u68GHmSy7rAenbD5RLB94pGK6TP08O9NGrypgHzm4Q\u002Bmw0VwKgmHcVeRKJBeR5OWiUxhuA4fOynsPZLSN2HhfvlYNycg9tT7uOZDilyYdzuDOKJbVPfq/K4ag4QMxPjceN4rUncL4PMmkJj5ZardtVTgNmlLHYgI\u002BzQxdkanrWGWlRR504E21f6CKY/3WL4nKNubuyWEXAszWMjrrn/eoO3fZNI94uqTaM3xlYFFmy9zX9t953kqIwPhl\u002BrHUhQr4oyEmwNua4Cj3lWibG0ehnzwUrAXhlWYxwaQJtZpN\u002BzpBI2XzT6MfMECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQADdQW2RKVsXGsy1ScEseQor06L8BXuJ3gJOIdl4V\u002B7Rx0gXhRw37AtlK2KD\u002BtvSNTIgeodFtyM2OrJ3drreh29kn7Q7y87QqGDSORhxUPk/XcHVuO1pd1Kv/s7HlsVzN18pPaTG5zLzvU0MY3qZ3WGFJELeUxQr5XoIxjL9hM9FehA4NBrk2sixXwC5JGDNFzclyFtgGaxuKPB4SzNQ25iCLWgGEhZySpjZwjz8Uu6tgCfBuBmOMZlEh0eKIPseuuZHG6Sv8CL9byr4gHRQnYaqr3yc76y\u002BoK4fXQd2O4ISI7Ppugf9y6RSa\u002Bb2bWvMxWk\u002B/4ZaiE2dwXa6sfyzlAU", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "request_id": "5f0079d0e71f4fdf996bbfd67f32884a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:48 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "225ff37e-2b4a-4dcd-add3-36120a353997", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN/HmbpfglSa2fZEIlbF9+rYD/UMDN8uUS3gEuuMUmwld+ypNpM5WcRnqRFgG2dFeElfiRnYR5v2ZbkZ58jzai0No47xc95JJx1ZCj9Sje+ZdY2yotEXVjByF6UZGDfyDlp8qNWWZHOlPYmKjRanH+0C+tXhKSsjZiuj48n1KzXbXDNPQ86A6QICPw7f7rAoYSY7wMYYAY3dk3ascxD8jglxvey1LNc6yEkP5A9HLNrBY/eojppuJfa1yJin/UfZ2gV740VkSkeNa8B0Kc7a3euhAUvBV6rhKLWad+L4ZXQGe0tBVd75b41S18xYcJLXBaWAdFj38Jinv0s4Ut+Ld7ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAekuzRA+0tT8msoZeKSssUnrBB0awHJtg0OlI7ixawIpPXneqonjxNNWYrJd1mVrlF4FgZkX6xaQkI4f+3R87p6Bi7xfLYOV7vns26zTX2oWYpOeBC/TEE750RyP27rcIbck/9AMpb4zUDn9FuePPASzF59Yw8qvxX988XLU9THH+sk8ZjE7OSPWEh0pA0ZhD7TKBen/NababRbIM0b7tfmZcAL8OeE8pCB6jGKTlOEfUiRWUESMQlTgzofULss+r1BglMr4mdG2QiCrOYzcGmCznF649OV3pTPah0WvGK2AWwJzS/4gRtczyLN5+hEs1Ob66UTd7tikov1YZfsSI3\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"8a5fbe05e0a44532b57bc08015c8bb63\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9e90a90b-af6d-4327-8083-974205926e9b" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d6b4446e-611a-4869-b5f8-9e56f315091d" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:50 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2019daab-6f38-49a2-ac6b-e237d7c50519", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN/HmbpfglSa2fZEIlbF9+rYD/UMDN8uUS3gEuuMUmwld+ypNpM5WcRnqRFgG2dFeElfiRnYR5v2ZbkZ58jzai0No47xc95JJx1ZCj9Sje+ZdY2yotEXVjByF6UZGDfyDlp8qNWWZHOlPYmKjRanH+0C+tXhKSsjZiuj48n1KzXbXDNPQ86A6QICPw7f7rAoYSY7wMYYAY3dk3ascxD8jglxvey1LNc6yEkP5A9HLNrBY/eojppuJfa1yJin/UfZ2gV740VkSkeNa8B0Kc7a3euhAUvBV6rhKLWad+L4ZXQGe0tBVd75b41S18xYcJLXBaWAdFj38Jinv0s4Ut+Ld7ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAekuzRA+0tT8msoZeKSssUnrBB0awHJtg0OlI7ixawIpPXneqonjxNNWYrJd1mVrlF4FgZkX6xaQkI4f+3R87p6Bi7xfLYOV7vns26zTX2oWYpOeBC/TEE750RyP27rcIbck/9AMpb4zUDn9FuePPASzF59Yw8qvxX988XLU9THH+sk8ZjE7OSPWEh0pA0ZhD7TKBen/NababRbIM0b7tfmZcAL8OeE8pCB6jGKTlOEfUiRWUESMQlTgzofULss+r1BglMr4mdG2QiCrOYzcGmCznF649OV3pTPah0WvGK2AWwJzS/4gRtczyLN5+hEs1Ob66UTd7tikov1YZfsSI3\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"request_id\":\"8a5fbe05e0a44532b57bc08015c8bb63\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:35 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending?api-version=7.4\u0026request_id=697d219e5c5b4937963325b11bd4cc19", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "95c3b2ff-5d7a-469d-9fa4-217d628e5f36" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNHPk\u002BRdwb3RDyPfRE6M5tA7tDPciSMrMYpk4LraIQNrTXdJoeaFq/w0iM1eijamDQJDm9m2ck\u002B2JEgUgGIWBMSgc9/EQazufeOPJ7MZT2goMFGJwVIHZXYds7DZUnJ/nKkJyxmTtJMw71C9EQKV0/8LMKRYkzydUl9Tpqa2QVAbVG7lGxex5qSM5wSKuvmOOalu4N7I4sJjlepub0F6sjPerVP/BMgznl5DASJDrXFEcbrBq5wht/GsAUKPex7nfSRiQYfENCBErM2X8h/KAZ4nZWPUUwnVB19Tad6o8TIyoC6UQk4qZBU/rKVhnHS3rlrFw2eU8ZxpGKPxZz7vG0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBFhndEFYUMnJN2rA5jHo1Q3OcDuYwNev9g8i5/mV6ruIvkjVzXbj0Kg/X0S1KheT7bXUVGHehP1uLLAoPacmQxnd2QpVlR8y9OZK2W5XRj5AU440YR9LV6jscpiiIylIGxXv67nCr5HjcVvKLwSQsehVNiLXE0hjL7yHUM0JQnjNAv\u002BORza\u002BV9KQYGoZ\u002B8MMoootY/AprCJDGJCmTtJRIaK2P3g7oxaOqDGdBGKDujFeRxFhx47uFnlVP91WQqgbho8mG11XdY\u002B3DTm7dtvhcFWibhHJGgmRsZ9DayOBnHt7XIZECNb5NZXZbdiMWn34tJFrDftgSiJZwAHQHmC3Fp", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "697d219e5c5b4937963325b11bd4cc19" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "97869fe7-e1c0-421f-9864-a6098b8b2ad2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNHPk\u002BRdwb3RDyPfRE6M5tA7tDPciSMrMYpk4LraIQNrTXdJoeaFq/w0iM1eijamDQJDm9m2ck\u002B2JEgUgGIWBMSgc9/EQazufeOPJ7MZT2goMFGJwVIHZXYds7DZUnJ/nKkJyxmTtJMw71C9EQKV0/8LMKRYkzydUl9Tpqa2QVAbVG7lGxex5qSM5wSKuvmOOalu4N7I4sJjlepub0F6sjPerVP/BMgznl5DASJDrXFEcbrBq5wht/GsAUKPex7nfSRiQYfENCBErM2X8h/KAZ4nZWPUUwnVB19Tad6o8TIyoC6UQk4qZBU/rKVhnHS3rlrFw2eU8ZxpGKPxZz7vG0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBFhndEFYUMnJN2rA5jHo1Q3OcDuYwNev9g8i5/mV6ruIvkjVzXbj0Kg/X0S1KheT7bXUVGHehP1uLLAoPacmQxnd2QpVlR8y9OZK2W5XRj5AU440YR9LV6jscpiiIylIGxXv67nCr5HjcVvKLwSQsehVNiLXE0hjL7yHUM0JQnjNAv\u002BORza\u002BV9KQYGoZ\u002B8MMoootY/AprCJDGJCmTtJRIaK2P3g7oxaOqDGdBGKDujFeRxFhx47uFnlVP91WQqgbho8mG11XdY\u002B3DTm7dtvhcFWibhHJGgmRsZ9DayOBnHt7XIZECNb5NZXZbdiMWn34tJFrDftgSiJZwAHQHmC3Fp", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "request_id": "697d219e5c5b4937963325b11bd4cc19" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:50 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f174f661-50c6-4c10-a679-7dbb02ae184f", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5040b146-9c9f-4fe2-aec2-53995129a90a" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "06a516d5-f1c7-40ed-a6d6-f7bec50912b2" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2781a904-7ab1-4d36-80b8-7053e9fa86a5", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:45 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending?api-version=7.4\u0026request_id=d7a44d7e8f884a618fbf5c110980fe0c", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3a387b1d-6e32-45da-b798-e7d90647b128" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaoyyaLJRiABM6O2ZdMz5jHI9iW0FAwD0HgSjcJD1V7UQIYnGhHJQlvZdzYki6BL5gngMk25O1RGWMzenMnJ9\u002B/1phyDpNzpQM2EQkAnhFJQW3SOQ0vAQDQk/3EAtVuc\u002B2vZLhoOOV9E5PuE6aURK7W9KEBd9kUx1ElIdga9Ub9U8BBXVGqlubv9h/jN7M\u002BujSz4KUwgxB87XkDOZY\u002BRL3qzBef9d14K4xxZnaYmxRj6LLsI48ySmzRVEq4Xh8hXM/YwTKQnRx87mPOMrvgt6b/hHJtHY97EjZ7sy0IHozwTM2wsMiY5P0LLtShULpVQ0k5m06J2fuLzbGwOaiLIe0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBpGpKcsIvS9xCluYDJXrZbo1QJ8JICDVbWHkGfePOIFfUTbtWU/eGmSpaIoIorlqIIXxqdDgyHD8NJNRIpFNx4aWjEBz9AG0G6Y0B4xpZW70avevuq9UdttzeObkQHpkHQvHoljb9r5yHwf6ouc8LbMm9x2nZPdgAnYTcQlq/u24CmOSJy1NnOLM\u002BuBrmPfrhooETM63yamKqX1h48h\u002BWUAdvpW\u002B8FdOc7Ngf4aguIEChPkORQzbhJj/BsM7NZpV34KrrjOX\u002BYs7v0qmSA/1bEokmncxbkdGP6TFRqIhh8UBn12vA7dfah0VwQ7dOfbpofER6HrBPhz7jtIIJ/y8nC", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "d7a44d7e8f884a618fbf5c110980fe0c" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1305", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2fc693a4-32aa-4477-a42f-1106ff25b6b0" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaoyyaLJRiABM6O2ZdMz5jHI9iW0FAwD0HgSjcJD1V7UQIYnGhHJQlvZdzYki6BL5gngMk25O1RGWMzenMnJ9\u002B/1phyDpNzpQM2EQkAnhFJQW3SOQ0vAQDQk/3EAtVuc\u002B2vZLhoOOV9E5PuE6aURK7W9KEBd9kUx1ElIdga9Ub9U8BBXVGqlubv9h/jN7M\u002BujSz4KUwgxB87XkDOZY\u002BRL3qzBef9d14K4xxZnaYmxRj6LLsI48ySmzRVEq4Xh8hXM/YwTKQnRx87mPOMrvgt6b/hHJtHY97EjZ7sy0IHozwTM2wsMiY5P0LLtShULpVQ0k5m06J2fuLzbGwOaiLIe0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBpGpKcsIvS9xCluYDJXrZbo1QJ8JICDVbWHkGfePOIFfUTbtWU/eGmSpaIoIorlqIIXxqdDgyHD8NJNRIpFNx4aWjEBz9AG0G6Y0B4xpZW70avevuq9UdttzeObkQHpkHQvHoljb9r5yHwf6ouc8LbMm9x2nZPdgAnYTcQlq/u24CmOSJy1NnOLM\u002BuBrmPfrhooETM63yamKqX1h48h\u002BWUAdvpW\u002B8FdOc7Ngf4aguIEChPkORQzbhJj/BsM7NZpV34KrrjOX\u002BYs7v0qmSA/1bEokmncxbkdGP6TFRqIhh8UBn12vA7dfah0VwQ7dOfbpofER6HrBPhz7jtIIJ/y8nC", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "d7a44d7e8f884a618fbf5c110980fe0c" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3b974d2c-a176-4a2d-9a56-9c5e42a1512c", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1229", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "80518738-fbeb-4369-b657-98817c569f4c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALaoyyaLJRiABM6O2ZdMz5jHI9iW0FAwD0HgSjcJD1V7UQIYnGhHJQlvZdzYki6BL5gngMk25O1RGWMzenMnJ9\u002B/1phyDpNzpQM2EQkAnhFJQW3SOQ0vAQDQk/3EAtVuc\u002B2vZLhoOOV9E5PuE6aURK7W9KEBd9kUx1ElIdga9Ub9U8BBXVGqlubv9h/jN7M\u002BujSz4KUwgxB87XkDOZY\u002BRL3qzBef9d14K4xxZnaYmxRj6LLsI48ySmzRVEq4Xh8hXM/YwTKQnRx87mPOMrvgt6b/hHJtHY97EjZ7sy0IHozwTM2wsMiY5P0LLtShULpVQ0k5m06J2fuLzbGwOaiLIe0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBpGpKcsIvS9xCluYDJXrZbo1QJ8JICDVbWHkGfePOIFfUTbtWU/eGmSpaIoIorlqIIXxqdDgyHD8NJNRIpFNx4aWjEBz9AG0G6Y0B4xpZW70avevuq9UdttzeObkQHpkHQvHoljb9r5yHwf6ouc8LbMm9x2nZPdgAnYTcQlq/u24CmOSJy1NnOLM\u002BuBrmPfrhooETM63yamKqX1h48h\u002BWUAdvpW\u002B8FdOc7Ngf4aguIEChPkORQzbhJj/BsM7NZpV34KrrjOX\u002BYs7v0qmSA/1bEokmncxbkdGP6TFRqIhh8UBn12vA7dfah0VwQ7dOfbpofER6HrBPhz7jtIIJ/y8nC", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "request_id": "d7a44d7e8f884a618fbf5c110980fe0c" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:10:06 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9f3795d4-a6b9-46a5-af6b-c2714f94c26f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK4zSLgXqT2ShC3qcsE4PE7INnidZViU0v3oZr9EMfkxX3902MXNQNCWDQCMuno+AZPMOtaSouGWgCYvRPUEutkVy1N4B9EcKd83mEE3Bh0L1wg0yDDZvhoUUsPvQ9a+PWzhxU5lH6BRTv+b2CeB28zFourEBdPp7uKM2LaVgMgreLE6nKFPgWuzi1s/NzTXTUvjev6UUyoWfXXIn5z+AFJzWsx8bjDLlVKICUK4Ki9plMHdQ/m+rgrRhiu7vJhI1OevrcPGhtLDHryy8dDNTBRmKfyH+FCPGFLwCF3l8cUZ1jK+4qeghWcDXRx+oScqveP5wJe4TlusnkQBnzvIiUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA3EZP4H3QNvGbepgE/94WBLtIr0eNuJtvPwyiB3gxn/yI5skWYDRbUBoQH0gPDJ385F/8lk1ZrfHRpYaxK41yWLDtDCBvlj9+I12eU0lTTu18X+2H2075MohZgzhf+fAab5amcGAV+e2Jcgsu/T2leekpVKJY8fpubVbgagr9TzjTR0TemB6Ig+tQ/hhI8kGo8H/vg01KrXJ0SMEMa2ju9RRWYNYVgueZfKWvkj+wYpxoKCUQYe2mDhgZlA25gYrxPB5b4u11yyXI/6i+AgQ+0N01mEsRSqcmKSANIkaJ7w7XO4/v+pEMfJikzlrYaOwi9G5w2dhO4FEMlLstcaJJp\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"e7601b67dc9b445fa0fb13e66231922c\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4&request_id=e7601b67dc9b445fa0fb13e66231922c", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1233", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aea517d2-95d3-4329-813b-ef9dd2493a44", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALK4zSLgXqT2ShC3qcsE4PE7INnidZViU0v3oZr9EMfkxX3902MXNQNCWDQCMuno+AZPMOtaSouGWgCYvRPUEutkVy1N4B9EcKd83mEE3Bh0L1wg0yDDZvhoUUsPvQ9a+PWzhxU5lH6BRTv+b2CeB28zFourEBdPp7uKM2LaVgMgreLE6nKFPgWuzi1s/NzTXTUvjev6UUyoWfXXIn5z+AFJzWsx8bjDLlVKICUK4Ki9plMHdQ/m+rgrRhiu7vJhI1OevrcPGhtLDHryy8dDNTBRmKfyH+FCPGFLwCF3l8cUZ1jK+4qeghWcDXRx+oScqveP5wJe4TlusnkQBnzvIiUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA3EZP4H3QNvGbepgE/94WBLtIr0eNuJtvPwyiB3gxn/yI5skWYDRbUBoQH0gPDJ385F/8lk1ZrfHRpYaxK41yWLDtDCBvlj9+I12eU0lTTu18X+2H2075MohZgzhf+fAab5amcGAV+e2Jcgsu/T2leekpVKJY8fpubVbgagr9TzjTR0TemB6Ig+tQ/hhI8kGo8H/vg01KrXJ0SMEMa2ju9RRWYNYVgueZfKWvkj+wYpxoKCUQYe2mDhgZlA25gYrxPB5b4u11yyXI/6i+AgQ+0N01mEsRSqcmKSANIkaJ7w7XO4/v+pEMfJikzlrYaOwi9G5w2dhO4FEMlLstcaJJp\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"request_id\":\"e7601b67dc9b445fa0fb13e66231922c\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testlistcertversion17476/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1412", - "x-ms-request-id" : "6e06bfc2-6682-4d25-b176-9e227393f4f8", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/0751b385da614bbe9cf31544a81bd1f1\",\"x5t\":\"F3v23cxbtClWlFOGPWdIqpTBHRM\",\"attributes\":{\"enabled\":true,\"nbf\":1678953588,\"exp\":1710576588,\"created\":1678954188,\"updated\":1678954188},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/4c56b3cf2a2e4d568d3f28ae19d1d1b4\",\"x5t\":\"OvJf6r4s5sXSzF56-KsuD3hP3AA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953586,\"exp\":1710576586,\"created\":1678954186,\"updated\":1678954186},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/78bffc502bea4144b43e81b8cb86f563\",\"x5t\":\"xWqq19FGToOZwlMUjNgPrY3HSIg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953607,\"exp\":1710576607,\"created\":1678954207,\"updated\":1678954207},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/99725bbbe3004e2588bc5c1329bfc3ff\",\"x5t\":\"0YI9J9hD7Sw7zoD1y9aNpcQphKM\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476/9b7ddaedcb544492854f93016ba6d867\",\"x5t\":\"-37N-_9Ar7Fg-h3XjNDWGl1ddug\",\"attributes\":{\"enabled\":true,\"nbf\":1678953584,\"exp\":1710576584,\"created\":1678954184,\"updated\":1678954184},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testlistcertversion17476" ] + { + "RequestUri": "https://REDACTED/certificates/testlistcertversion89840/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8e4e7e0-7235-4d5c-a75e-353416c9c403" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/3f7e54949cb644268001a2fd72332e31", + "x5t": "G5C7TvV_E6a_xNCFP-7IA_sw7g0", + "attributes": { + "enabled": true, + "nbf": 1681267336, + "exp": 1712890336, + "created": 1681267936, + "updated": 1681267936 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/51a68648ab3746eca6536c590354125b", + "x5t": "1JycuoCHZRigONgT-f-nDkqsGjc", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1712890326, + "created": 1681267926, + "updated": 1681267926 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/6c2d648253de44879b2d85ac825d79b7", + "x5t": "FAxj2mhetyGu8xxtbJvjBizeubc", + "attributes": { + "enabled": true, + "nbf": 1681267366, + "exp": 1712890366, + "created": 1681267966, + "updated": 1681267966 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/e401d652824d41b5aa04be9212b6767f", + "x5t": "sDjxX0CL3EY4NyPCDfZ4Z69ImVU", + "attributes": { + "enabled": true, + "nbf": 1681267356, + "exp": 1712890356, + "created": 1681267956, + "updated": 1681267956 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840/ec968137ea8a4cb988e7f5a95e43ce93", + "x5t": "88qiygdh7H8jxis5T-sxmfGsheM", + "attributes": { + "enabled": true, + "nbf": 1681267346, + "exp": 1712890346, + "created": 1681267946, + "updated": 1681267946 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "testlistcertversion89840" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificates[1].json index 839106f6faf7d..ad3e9d705881e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listCertificates[1].json @@ -1,281 +1,924 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey83973bcab/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listcertkey099529220/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:50:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e0ce583e-91f8-41dc-ac1a-154b1c4b295e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1a9d1957-987d-4da5-baef-7acc8794cbb5", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALcfFbQxJMYNBb5COJFEYGM6gRNPhLxbJe0JmHWcU27EJIaUXIF6YWMqrQ1/EGY/PvKhyzoz1JoA7JnF7ZP1qhX9fjhk+oYBRQH36NOIj2eUgmuJJ1zRQpqA/i8KdvmpL+bGrf3PB5Fi9hM14UuUtWt/P7NhNnqr5mNNc785CxAk8g7bBM/Tj4hqYf52Wn579p8AorPmzWKtWHBk1II3xek1utqjNsnsNil/whs+2WGIzmyfL/haQ8HVvjKJlr7Fo4wsP+mrvFyXTVdVTwtWH5/qvC71dCJrq3bbx8m8LoEsMQNM9ZlC5AK7Kij+AkP32GYWNrfef3VecA+/NN6wqCUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAfYCKWul9NGkNBz8IVfhSYOj6LBcY8sqHChvfFHy4va0L+VFzPrAY4AZYcPKklLb2OJqdrH4V8nRNyIdicdl52PpVJgspiGWeGrZkRjBe3rtGtP28tbWOdtR8aQdDOeYmK4YcS+cBNTqtica//lqFK8MA1bpyAGXVL22kb3+z4jZPQKOcAXeIex+7vLEUYNWTCintBbPJ00LEr8aHFKPKVgUBB6Ch2V2H3uf3WNpTayfK1z+1/sd5ckcBsgSkydVoupsfyB8A6CFeweagSN/xhulI0y/4PAHTCznnRcYLQ0FFzSMQDHhKM1APQf8ztjrv2r20OfyOPr8+1cfUaJDsA\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"69e92f66f58241e1a63a5d519657ae4f\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab/pending?api-version=7.4&request_id=69e92f66f58241e1a63a5d519657ae4f", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey099529220/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:50:16 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey099529220/pending?api-version=7.4\u0026request_id=a37eee217e8c4c95a596bc39bca1e371", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "36a88abb-0484-43a4-93e1-bbf49f8ef7b2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey099529220/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANehS8aWkzLhrRhPpHjDQ\u002Ba3VAUOZ/ZZY8UP4AxnGdWuc3VGzjSh\u002Bfcir\u002BVOmS4fAxJQOUkiH7BWWSJrwNsaslnq1VeMuSz/\u002B1il1v060v/LIWFVsv189Ly8mkc3\u002B9tAfci/VlU/Ob8RAquAR/z7vHPUm/kSFvlUCxdCObpBQvb0lkVJQRDFlI1PEc0cIfqmcDc6lhSFDT2EC9IDFyq6d3COzRXHRVDzPQ6iqd3RD5oLnjphk7SziwjNe3b3cPvZUUl\u002BOwLk9/DNQiT8NMkVsDVYQfCR0oZlIgYcFX2l0Ve5vc1R7zyCIcIX9j/MtbqLq/qp2vDL0bgHbFb1Q8zCBdUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDSa9lbHT9Uy1muiLm0G19JvC089F8wK4UcP0pB1qcCCOOQq\u002BywIEpMnXmBbgbrbuDy8Yo3W/j21fT5NGnr\u002BntiiTiyvOGillHpzTcdxf3WWMdfenY9CwAWKGF6x33IU3MNZQ2Lcis62iOBlqLwHzoPxNiL\u002B/36InEv5e5Zo2Pr8Czff\u002BnUNQ3y48uUGoZ3jd22N2hZrXXAr5oMgg2YNCNEzerRb2BN36ETM0QlFWvWlkScOQTecfr3p/PXvRWZSkPDZUBFIjz\u002BakJCfbii64ccpyIIeQto9kBETniPBAmokajUbq2/VFMb7AqffKzLS6snZ635X/9DhC\u002BH3ND8U3uz", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a37eee217e8c4c95a596bc39bca1e371" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey83973bcab/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey099529220/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:50:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1949c86c-c5f7-4620-865f-968daf7d2959" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey099529220/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANehS8aWkzLhrRhPpHjDQ\u002Ba3VAUOZ/ZZY8UP4AxnGdWuc3VGzjSh\u002Bfcir\u002BVOmS4fAxJQOUkiH7BWWSJrwNsaslnq1VeMuSz/\u002B1il1v060v/LIWFVsv189Ly8mkc3\u002B9tAfci/VlU/Ob8RAquAR/z7vHPUm/kSFvlUCxdCObpBQvb0lkVJQRDFlI1PEc0cIfqmcDc6lhSFDT2EC9IDFyq6d3COzRXHRVDzPQ6iqd3RD5oLnjphk7SziwjNe3b3cPvZUUl\u002BOwLk9/DNQiT8NMkVsDVYQfCR0oZlIgYcFX2l0Ve5vc1R7zyCIcIX9j/MtbqLq/qp2vDL0bgHbFb1Q8zCBdUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQDSa9lbHT9Uy1muiLm0G19JvC089F8wK4UcP0pB1qcCCOOQq\u002BywIEpMnXmBbgbrbuDy8Yo3W/j21fT5NGnr\u002BntiiTiyvOGillHpzTcdxf3WWMdfenY9CwAWKGF6x33IU3MNZQ2Lcis62iOBlqLwHzoPxNiL\u002B/36InEv5e5Zo2Pr8Czff\u002BnUNQ3y48uUGoZ3jd22N2hZrXXAr5oMgg2YNCNEzerRb2BN36ETM0QlFWvWlkScOQTecfr3p/PXvRWZSkPDZUBFIjz\u002BakJCfbii64ccpyIIeQto9kBETniPBAmokajUbq2/VFMb7AqffKzLS6snZ635X/9DhC\u002BH3ND8U3uz", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey099529220", + "request_id": "a37eee217e8c4c95a596bc39bca1e371" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3222126d-ba67-479d-b8e4-3dd042cb8830", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALcfFbQxJMYNBb5COJFEYGM6gRNPhLxbJe0JmHWcU27EJIaUXIF6YWMqrQ1/EGY/PvKhyzoz1JoA7JnF7ZP1qhX9fjhk+oYBRQH36NOIj2eUgmuJJ1zRQpqA/i8KdvmpL+bGrf3PB5Fi9hM14UuUtWt/P7NhNnqr5mNNc785CxAk8g7bBM/Tj4hqYf52Wn579p8AorPmzWKtWHBk1II3xek1utqjNsnsNil/whs+2WGIzmyfL/haQ8HVvjKJlr7Fo4wsP+mrvFyXTVdVTwtWH5/qvC71dCJrq3bbx8m8LoEsMQNM9ZlC5AK7Kij+AkP32GYWNrfef3VecA+/NN6wqCUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAfYCKWul9NGkNBz8IVfhSYOj6LBcY8sqHChvfFHy4va0L+VFzPrAY4AZYcPKklLb2OJqdrH4V8nRNyIdicdl52PpVJgspiGWeGrZkRjBe3rtGtP28tbWOdtR8aQdDOeYmK4YcS+cBNTqtica//lqFK8MA1bpyAGXVL22kb3+z4jZPQKOcAXeIex+7vLEUYNWTCintBbPJ00LEr8aHFKPKVgUBB6Ch2V2H3uf3WNpTayfK1z+1/sd5ckcBsgSkydVoupsfyB8A6CFeweagSN/xhulI0y/4PAHTCznnRcYLQ0FFzSMQDHhKM1APQf8ztjrv2r20OfyOPr8+1cfUaJDsA\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"69e92f66f58241e1a63a5d519657ae4f\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey424602044/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:50:18 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey424602044/pending?api-version=7.4\u0026request_id=c10194a4b6d74f3fb368c2c54a7f9158", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ef6262b4-3cdf-419f-b070-6d85ebce213c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey424602044/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANBzrRQECvdbaApi10vSkZJn2FPq5Dj/27OkZqMuKR7JRAb5baTrVtqt1Zfxff2EO0DFHiSNLoRZfZgtfD9O0hdcSenHVAcnpU0WeIkIxyRePGFEwt/delIDM/s6zI5DMftltIcAmLM\u002BG4j967hV43DY0B1V/OgVIqV6oVzPTkbZf6rs3YBrmYvdpshi6WsT78/nIm\u002B/Eyw7tp4YyhtCTiLNzmY8NcXR8vmYxpcluuFw7PPhdx5GU6SfBfy2EA7JcoeSq1LUPLnUcpLKRxiaELA2iEuOenUOMxjnrTUuV2HQ428CPMzKY4xzV7LQPzeJrWNF5C1EuL2RxD/cRwPGPlUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA6sr7rZ0QCJthUm9UGjEW95cz10LLuaXNrf2v35xZ01BveVYrrnCxPOTs4xC82wEqCtgWgOiUE\u002BmobstTqYjY1wk\u002B8Yyvg56GNo\u002BlagZQx0mUGYvro3yzsKa8mmpGQ4gIjEKafzY5uVl6XvH\u002BvlzB63guRDtCU1eu02lKyVEEaTCWRx9k7EmcCzqDv9WD/puY4yzaCeumoluuk52Aiu/y32nyYMHjp7pXFE\u002BmaQylj7x5fRHpieU3eswe2Ww4Mi1pQYZ8N3Z0iPHnlXLYEyQQ5LsDrivTsnTkkN75uTKZVGZ8\u002BYnexH6AeVA6oc7Di1SZHheyJ44RFgqM0G1EQRI2f", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "c10194a4b6d74f3fb368c2c54a7f9158" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey83973bcab/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey424602044/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:50:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ce3554c5-8c9c-4998-a6db-a34419334445" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey424602044/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANBzrRQECvdbaApi10vSkZJn2FPq5Dj/27OkZqMuKR7JRAb5baTrVtqt1Zfxff2EO0DFHiSNLoRZfZgtfD9O0hdcSenHVAcnpU0WeIkIxyRePGFEwt/delIDM/s6zI5DMftltIcAmLM\u002BG4j967hV43DY0B1V/OgVIqV6oVzPTkbZf6rs3YBrmYvdpshi6WsT78/nIm\u002B/Eyw7tp4YyhtCTiLNzmY8NcXR8vmYxpcluuFw7PPhdx5GU6SfBfy2EA7JcoeSq1LUPLnUcpLKRxiaELA2iEuOenUOMxjnrTUuV2HQ428CPMzKY4xzV7LQPzeJrWNF5C1EuL2RxD/cRwPGPlUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA6sr7rZ0QCJthUm9UGjEW95cz10LLuaXNrf2v35xZ01BveVYrrnCxPOTs4xC82wEqCtgWgOiUE\u002BmobstTqYjY1wk\u002B8Yyvg56GNo\u002BlagZQx0mUGYvro3yzsKa8mmpGQ4gIjEKafzY5uVl6XvH\u002BvlzB63guRDtCU1eu02lKyVEEaTCWRx9k7EmcCzqDv9WD/puY4yzaCeumoluuk52Aiu/y32nyYMHjp7pXFE\u002BmaQylj7x5fRHpieU3eswe2Ww4Mi1pQYZ8N3Z0iPHnlXLYEyQQ5LsDrivTsnTkkN75uTKZVGZ8\u002BYnexH6AeVA6oc7Di1SZHheyJ44RFgqM0G1EQRI2f", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey424602044", + "request_id": "c10194a4b6d74f3fb368c2c54a7f9158" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "35379c57-def7-42c9-a97f-51c4dcadb7fa", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALcfFbQxJMYNBb5COJFEYGM6gRNPhLxbJe0JmHWcU27EJIaUXIF6YWMqrQ1/EGY/PvKhyzoz1JoA7JnF7ZP1qhX9fjhk+oYBRQH36NOIj2eUgmuJJ1zRQpqA/i8KdvmpL+bGrf3PB5Fi9hM14UuUtWt/P7NhNnqr5mNNc785CxAk8g7bBM/Tj4hqYf52Wn579p8AorPmzWKtWHBk1II3xek1utqjNsnsNil/whs+2WGIzmyfL/haQ8HVvjKJlr7Fo4wsP+mrvFyXTVdVTwtWH5/qvC71dCJrq3bbx8m8LoEsMQNM9ZlC5AK7Kij+AkP32GYWNrfef3VecA+/NN6wqCUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAfYCKWul9NGkNBz8IVfhSYOj6LBcY8sqHChvfFHy4va0L+VFzPrAY4AZYcPKklLb2OJqdrH4V8nRNyIdicdl52PpVJgspiGWeGrZkRjBe3rtGtP28tbWOdtR8aQdDOeYmK4YcS+cBNTqtica//lqFK8MA1bpyAGXVL22kb3+z4jZPQKOcAXeIex+7vLEUYNWTCintBbPJ00LEr8aHFKPKVgUBB6Ch2V2H3uf3WNpTayfK1z+1/sd5ckcBsgSkydVoupsfyB8A6CFeweagSN/xhulI0y/4PAHTCznnRcYLQ0FFzSMQDHhKM1APQf8ztjrv2r20OfyOPr8+1cfUaJDsA\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab\",\"request_id\":\"69e92f66f58241e1a63a5d519657ae4f\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "4434", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:51:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1e77aad-fb2d-4096-9f2c-d0950070c680" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs0802660b", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267922, + "updated": 1681267922 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147", + "x5t": "8LAmk_UWI5Q2whl4hKn8ph3xD-I", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey099529220", + "x5t": "DVDEeqZoICkSGcDjMqwEcKrIgpI", + "attributes": { + "enabled": true, + "nbf": 1681274417, + "exp": 1712897417, + "created": 1681275017, + "updated": 1681275017 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0", + "x5t": "9L53peCaG8jONHuVq9mAgQYhbZs", + "attributes": { + "enabled": true, + "nbf": 1681267351, + "exp": 1712890351, + "created": 1681267952, + "updated": 1681267952 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0", + "x5t": "4wZWYAWPYXuxmlARhrWVX1q7d1Q", + "attributes": { + "enabled": true, + "nbf": 1681267331, + "exp": 1712890331, + "created": 1681267932, + "updated": 1681267932 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02", + "x5t": "qgHNG0AAUyUa_1FcyN9K3c6a4Do", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7", + "x5t": "qXX0p1tt0REJbDBCVO-k7W9Mt08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey371743fe3", + "x5t": "wsawakXGb7qn9dgvemY8bHWyO6Y", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey424602044", + "x5t": "Vp4-gLCXsGx7lNTY2ZYkxxqXtf8", + "attributes": { + "enabled": true, + "nbf": 1681274418, + "exp": 1712897418, + "created": 1681275018, + "updated": 1681275018 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey53952219e", + "x5t": "VZnPEeEZoaELqi2D7HFDQNH3Hdw", + "attributes": { + "enabled": true, + "nbf": 1681267375, + "exp": 1712890375, + "created": 1681267975, + "updated": 1681267975 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b", + "x5t": "EITCNfvPGXImmhsVyZmtbBp_y0M", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/myalias", + "x5t": "8z5vNk677FGkqcRg6lQyODOdiwc", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "x5t": "1GGxAlnsHSR29xqi89t33Qvzo2c", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08", + "x5t": "DyUbMQUcONQLXu0Feixr6gY1uHU", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTURjME56SXdSRVEwUlRVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey23688a6ba/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTURjME56SXdSRVEwUlRVaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5774", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:51:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8262a91d-ac92-4399-b296-046b7479bf9a" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc", + "x5t": "gDWghXWmU_2967VBmY1griWD0ls", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a", + "x5t": "RTg3ayHS2pAQ0IichADtQezB82Y", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30", + "x5t": "eAEcQrp0Pza52PxnfwO22mP7mcc", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691", + "x5t": "G9AC8vvVP6X60mG4bBGURyUbBk4", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d", + "x5t": "NSGYAPyW_cvQOWPWzcOVTKN_cA0", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert344656cae8e", + "x5t": "5SaJTSASDq0Sb7o-TUmpxHTMHKs", + "attributes": { + "enabled": true, + "nbf": 1681267778, + "exp": 1712890778, + "created": 1681268379, + "updated": 1681268379 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25", + "x5t": "YqN1h7oMHc2vQ_a6vxM6bdU36Wk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b", + "x5t": "ba6Nv3RsCtYvh4D3-48pp4gKhzQ", + "attributes": { + "enabled": true, + "nbf": 1681267357, + "exp": 1712890357, + "created": 1681267958, + "updated": 1681267958 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad", + "x5t": "wLp-LJn6S5fcikpsbLf-rPDP2KQ", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9", + "x5t": "iwUGnokFBgVVoLjicfdH5ofw1-w", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e", + "x5t": "28Y4IAfq44PDm8mJ9xmCCmlwF7g", + "attributes": { + "enabled": true, + "nbf": 1681274167, + "exp": 1712897167, + "created": 1681274768, + "updated": 1681274768 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99", + "x5t": "_kpN7t8cdFVp1XQB8ufpaErytPU", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb", + "x5t": "X_Pe2P0YWKvzMhWES0YBRfYnmbk", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9", + "x5t": "bJb0YhbyZ8CE1KfHbPV2z5RiFlE", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267962, + "updated": 1681267962 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686", + "x5t": "t0kq2x1JRsvQlJQfUFs2-ClNxOA", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b", + "x5t": "-7UgEA9ScuFHJjOgYnrzOYH-7LA", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert85780271", + "x5t": "nfgFBy9lEBZ5lJFye63m8TSBFzY", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267922 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": {}, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT0Rnek1qZEZSRFkxTlRRaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "967a8c47-19b1-4ead-9b51-4c91d0b96ea8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZzRZJTN+cWd2M6HHKR8ddnYpAE8TLD/J82Qz7eEZ9r9s5DgEpi6f0rkm5ZWbtFIWisU96ywwXEKxkDZZlIRYcA7/XdWAg0ViPC3SKB2ogWgOJ/fieSqRXnM8T41t5HUFrHXCNRR9abIODq7J0q4MzFbP13hYgZ4Y3+EYVmUH3hsOcjMqXG0SGWpu49/vRtlnftkN3vwWmB8213Ntp7xM2srKiwzHXNbv7i5cjZFXZOXdCiBIKqFxcM4W02x2E8rUR8N+wb5IZ7MieQUZ6RhfVgNknVa0mzQyXeC48NyXOJ1+bovXyDDIPWMqp152eJjcFGR8zEm7kqw0DFydez5wECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBSq+Z3fBIax2SVa3Cl0isg7LeyqK9nCzy0csRzcS1aYa8Er9iDhk/fdvBnnVlqgzZV+cndxTXjZvE3KmqG9Hbq5bCQn1UudDPCbVdCGXyyNl+t7pBFRMdOqUW3khUTtxjuo4yEuf7wJDg2Bn409eskm4MKxRAk1pI4RfMhxDDhq8hAqw7LKgTVVzEpyRwKE4hOAnd5JG74sERJKwx2w5bFvKdMHoTBy0AP6shyDcFxqxrb3GchgMC5b4U4hkKRgzXbQ4pNm/rVjt7ppC9IK1UcHJ3G352eh1Lvy8rJ1rPE1nxRKtoYKeiFyhhJhypj9e268NdBXz0wi7I4bReWd6E/\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a4de0bb1cee14ed0a6419fbb9f97a5b7\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba/pending?api-version=7.4&request_id=a4de0bb1cee14ed0a6419fbb9f97a5b7", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey23688a6ba/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "89545248-1f4f-4588-8150-d42710aca957", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZzRZJTN+cWd2M6HHKR8ddnYpAE8TLD/J82Qz7eEZ9r9s5DgEpi6f0rkm5ZWbtFIWisU96ywwXEKxkDZZlIRYcA7/XdWAg0ViPC3SKB2ogWgOJ/fieSqRXnM8T41t5HUFrHXCNRR9abIODq7J0q4MzFbP13hYgZ4Y3+EYVmUH3hsOcjMqXG0SGWpu49/vRtlnftkN3vwWmB8213Ntp7xM2srKiwzHXNbv7i5cjZFXZOXdCiBIKqFxcM4W02x2E8rUR8N+wb5IZ7MieQUZ6RhfVgNknVa0mzQyXeC48NyXOJ1+bovXyDDIPWMqp152eJjcFGR8zEm7kqw0DFydez5wECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBSq+Z3fBIax2SVa3Cl0isg7LeyqK9nCzy0csRzcS1aYa8Er9iDhk/fdvBnnVlqgzZV+cndxTXjZvE3KmqG9Hbq5bCQn1UudDPCbVdCGXyyNl+t7pBFRMdOqUW3khUTtxjuo4yEuf7wJDg2Bn409eskm4MKxRAk1pI4RfMhxDDhq8hAqw7LKgTVVzEpyRwKE4hOAnd5JG74sERJKwx2w5bFvKdMHoTBy0AP6shyDcFxqxrb3GchgMC5b4U4hkKRgzXbQ4pNm/rVjt7ppC9IK1UcHJ3G352eh1Lvy8rJ1rPE1nxRKtoYKeiFyhhJhypj9e268NdBXz0wi7I4bReWd6E/\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a4de0bb1cee14ed0a6419fbb9f97a5b7\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey23688a6ba/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e7b6a57c-a022-4c9f-985f-d484ae3fedfb", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMZzRZJTN+cWd2M6HHKR8ddnYpAE8TLD/J82Qz7eEZ9r9s5DgEpi6f0rkm5ZWbtFIWisU96ywwXEKxkDZZlIRYcA7/XdWAg0ViPC3SKB2ogWgOJ/fieSqRXnM8T41t5HUFrHXCNRR9abIODq7J0q4MzFbP13hYgZ4Y3+EYVmUH3hsOcjMqXG0SGWpu49/vRtlnftkN3vwWmB8213Ntp7xM2srKiwzHXNbv7i5cjZFXZOXdCiBIKqFxcM4W02x2E8rUR8N+wb5IZ7MieQUZ6RhfVgNknVa0mzQyXeC48NyXOJ1+bovXyDDIPWMqp152eJjcFGR8zEm7kqw0DFydez5wECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBSq+Z3fBIax2SVa3Cl0isg7LeyqK9nCzy0csRzcS1aYa8Er9iDhk/fdvBnnVlqgzZV+cndxTXjZvE3KmqG9Hbq5bCQn1UudDPCbVdCGXyyNl+t7pBFRMdOqUW3khUTtxjuo4yEuf7wJDg2Bn409eskm4MKxRAk1pI4RfMhxDDhq8hAqw7LKgTVVzEpyRwKE4hOAnd5JG74sERJKwx2w5bFvKdMHoTBy0AP6shyDcFxqxrb3GchgMC5b4U4hkKRgzXbQ4pNm/rVjt7ppC9IK1UcHJ3G352eh1Lvy8rJ1rPE1nxRKtoYKeiFyhhJhypj9e268NdBXz0wi7I4bReWd6E/\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba\",\"request_id\":\"a4de0bb1cee14ed0a6419fbb9f97a5b7\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6276", - "x-ms-request-id" : "f8358301-7d98-4d26-9a30-0c7724dfbff6", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem70052b83\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem92624d14\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs18458ce7\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954164,\"updated\":1678954164},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs27461b85\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs75353a38\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey020515346\",\"x5t\":\"ejfrKgF-VZlKskHpc-_BeR7Q5B0\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey140384932\",\"x5t\":\"avHXcDUhov15q9VG2gMEakhOktA\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014\",\"x5t\":\"HZGPq0QOCsfZ_WmhhdoSKgRAA0U\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de\",\"x5t\":\"hqK5fhCHpz4yKQu2n28HiUX7AiA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba\",\"x5t\":\"WcMVkgQsEdveGdM4EcXHrPVF-kA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1710576560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey30234f065\",\"x5t\":\"cePzk1vgK3jocy_iR46TYlLix-k\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40\",\"x5t\":\"VRZnH7R1zQ1jGmsZ1OyS0i1poJY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey3491808e4\",\"x5t\":\"1DwOXqEst7Y14XXhJbcBhQKFEWQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328\",\"x5t\":\"gAHKoe84oAIdtsGsYd874AvSP_Y\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey492960bb6\",\"x5t\":\"XhkDcU5rDk2_71Yl-Qu-pIlA7Q8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey628397873\",\"x5t\":\"fXKiQY2k449MPBH7pUf_mdcxUnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc\",\"x5t\":\"IT9aBpsVgg9Wrc5smwvV1dG8pP8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey683522e3c\",\"x5t\":\"9sH7UN7gBH3mUdarXxB-J6LA_qU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7\",\"x5t\":\"MfsoELZfLDYBw8dZvnz2tTtXO6M\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab\",\"x5t\":\"gr_j8MMnFPwZ_BJtvS92aa4Dfw8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954157,\"updated\":1678954157},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey958720254\",\"x5t\":\"7P04miiKhhnbTByl4hy-DvsRf9I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3196", - "x-ms-request-id" : "1563924c-66db-43b8-8484-9748eff30324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/myalias\",\"x5t\":\"wDCSFKAxoTm9grFzPgkhopDDlJc\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert0041741853c\",\"x5t\":\"BlwxGmfjBCNjx-sfMetJrCALT4M\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4\",\"x5t\":\"lsjJbwQT9HJ9sf4eCJJU8uY9iaw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953623,\"exp\":1710576623,\"created\":1678954223,\"updated\":1678954223},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05138d67\",\"x5t\":\"0SNobHiEQdsN0csu62e2FPqfn5U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9\",\"x5t\":\"Bq2EKqUV7yhWUWKcvUBbJb5_gxE\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert056438d4a20\",\"x5t\":\"ICx_qsQWj1GjeyPr1N3mIjcp-Ao\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1092295324b\",\"x5t\":\"E6WLFelB6Vg5-qD7WF5pAYbQz_0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert127097d0dc8\",\"x5t\":\"dXVk70-6RCX7rQYbnv5AkS7FoLg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850\",\"x5t\":\"Eg-0L9EaxUq18cir7rxYtNsizu4\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566\",\"x5t\":\"CpSpbJHSGlBYOtl-rD4i5cQkTxA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953625,\"exp\":1710576625,\"created\":1678954225,\"updated\":1678954225},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35\",\"x5t\":\"JqechkEBzXbUg6c5E1VS9oWPeMI\",\"attributes\":{\"enabled\":true,\"nbf\":1678953566,\"exp\":1742112566,\"created\":1678954166,\"updated\":1678954166},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4880", - "x-ms-request-id" : "0c4a2fdf-b665-44a6-9fc2-1e9b6254a330", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436\",\"x5t\":\"qXGr05lHeSSbDB7K7lPuJuoMdc4\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93\",\"x5t\":\"uDxW7qERozqvEBZNicKFI6lwIys\",\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9\",\"x5t\":\"H8yzr_Sz3M_jItdsEHmh9jxVD98\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954163},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert224271757ba\",\"x5t\":\"Qh22tMuNVhrt_NKbcCtzTESO33s\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert26201762259\",\"x5t\":\"itApNub45W58UvI_fuG7TKWZDwU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27558598b2c\",\"x5t\":\"mX2a3otTr9sZlQS_wH7nBn0ziYs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27808513219\",\"x5t\":\"MQ1fqHABOz6nDRxB-HNaha_jrzE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897\",\"x5t\":\"Jk4gujvIUxmvulgZ17B8bbv0Urs\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert30284660cd8\",\"x5t\":\"iotT1KbJ0_9ZQgXDtF6cU1Qn5EQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert324948604ee\",\"x5t\":\"OKdJx9sidjbhaHappYsbA-bPYjs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert35510d74ced\",\"x5t\":\"mXFRphZcmhsmrIjVgI9vg_Xd-1Q\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1\",\"x5t\":\"zaGC8l_O8h6SCecBEIibPw2usx4\",\"attributes\":{\"enabled\":true,\"nbf\":1678953562,\"exp\":1742112562,\"created\":1678954162,\"updated\":1678954162},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a\",\"x5t\":\"5oA2b34eiQF-H907cTs_PUxFKUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e\",\"x5t\":\"1i92wRpBy8kuwYJDTDlV5T7ReHw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert47882934afa\",\"x5t\":\"deyZLLtv-MveYf0_JYEAIACFLiE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert49907fe70ac\",\"x5t\":\"poYuYvv6BNUPJw5zWMaW4UeZSoc\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert510992ef0be\",\"x5t\":\"vvlEtHPeX_cUbDtpHNkiXQ06jrM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert56810496c6b\",\"x5t\":\"7-s5Fe6kI7bqvM7eWw-f22J2pwk\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZNE1UQTBPVFpETmtJdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZNE1UQTBPVFpETmtJdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5843", - "x-ms-request-id" : "7d28995d-6ec4-465f-bd06-1d2686dca8d4", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c\",\"x5t\":\"OwBYBMp3wduHSbKu334v3hjsi08\",\"attributes\":{\"enabled\":true,\"nbf\":1678953583,\"exp\":1710576583,\"created\":1678954183,\"updated\":1678954183},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e\",\"x5t\":\"C5aaQEdu2okZIaYWfYZVdP4QgJQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6210194afab\",\"x5t\":\"sqkD1d6Ld3VQ6CguPTvcdWzX71U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964\",\"x5t\":\"8MceP-9eU9W7nhKmwDFce51dSRw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6384478e5bf\",\"x5t\":\"ss10YAsLILfVVJTwuotinCYUJak\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00\",\"x5t\":\"h-CJtnU02x2a7hsGM_ANDPJCoUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e\",\"x5t\":\"PvDom9rfiJ0_-rBzgfASNvY8e98\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954172},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert708698d2\",\"x5t\":\"hw5_szQZniSK25bwGWHAE4j1x_s\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert721471bd873\",\"x5t\":\"yAF6k-sNUpn1rUxjTgGZqCsJ4g8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5\",\"x5t\":\"tJRERVpJiQl09q59sp0Adgim-vQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1\",\"x5t\":\"opT8GylLzaWrQBBzlS6WNcOh-Rg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953579,\"exp\":1710576579,\"created\":1678954179,\"updated\":1678954179},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72544647\",\"x5t\":\"kV9KJxfYzLX8kRCSGv_hZm0K69I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7280530dd15\",\"x5t\":\"908QyOX0FNSnHzA25t7ahRHRGNU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert742555f1\",\"x5t\":\"fFBc5osj_QfRgYzPcJ-wH2NWA4o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b\",\"x5t\":\"b8zbsTC2Qaw07Vgb0iutBXyzCqc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588\",\"x5t\":\"O7AQlPbPHRqGj97Ro2KHVdn_35A\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8\",\"x5t\":\"s7vRlbUkLTmcGdZ4rBNAQ8eDDwQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01\",\"x5t\":\"e17ghrPfGm0zKPX6x5CsP097zuw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert838336ea\",\"x5t\":\"tZY_jc2w5VtcHbANhCK3f0GD7fg\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert879909fb\",\"x5t\":\"F44INSxE5tBSPpvkNdksu-JuA1o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert88427430\",\"x5t\":\"tzLxambFCsMKrVEEIweYgWAhwOo\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92201a19a66\",\"x5t\":\"rmmvC9DcPBeebHeCUxNn936VCRI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RJeU1ERkJNVGxCTmpZdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RJeU1ERkJNVGxCTmpZdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2202", - "x-ms-request-id" : "1aa0cf1a-46fd-4a70-b6d4-51f37ebf7115", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92673e6be72\",\"x5t\":\"vU_Y0bK22LsQq-sk3JTUUeEbQJE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert937620dadf7\",\"x5t\":\"11a7NiEVZc6m3qz-97VC3NuF_ow\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert98347e92\",\"x5t\":\"c7ZaY3_e582OE8ex4WMce-LtLIM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a\",\"x5t\":\"-nm9wRXB7Gdrz3Jb93i17glfdnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion09939\",\"x5t\":\"faSSHl62NiDeLdiiFctYhoNEzZQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"x5t\":\"xWqq19FGToOZwlMUjNgPrY3HSIg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953607,\"exp\":1710576607,\"created\":1678954207,\"updated\":1678954207},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"x5t\":\"Ef9hub8VN-I6G0EzohvknmVQPf8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion88662\",\"x5t\":\"R3fkxrOa8nRuwCpSRVStvo8LzjM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertkey83973bcab", "listcertkey23688a6ba" ] + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXhJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT0Rnek1qZEZSRFkxTlRRaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1948", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:51:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d27eaf27-f5d5-4a1d-81a2-7018f723f15b" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116", + "x5t": "SD6AmL6YJSJcLneUgerDz7EDrmg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f", + "x5t": "TSCi97ZyUKHrF8xUzdCbzca2064", + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert930083972c7", + "x5t": "fQDn1P_LNd2gD6n_a6wFtKeL7iM", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert992700fd", + "x5t": "Ysr6W2Vkn6CmSIykNStvVHju-qc", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267933 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert99539ad0580", + "x5t": "VwdxGWZPYsHjMnuFct9J2stqNk4", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "x5t": "FAxj2mhetyGu8xxtbJvjBizeubc", + "attributes": { + "enabled": true, + "nbf": 1681267366, + "exp": 1712890366, + "created": 1681267966, + "updated": 1681267966 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "x5t": "gvjVzC0XOt7S-Pi5363IBhKhsi8", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listcertkey099529220", + "1": "listcertkey424602044" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listContacts[1].json index 7db76a1964c3b..527fc8e096151 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listContacts[1].json @@ -1,54 +1,123 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:58:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0fe9306b-c207-4267-90d9-4378be4ca512" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "6121d5d1-a8df-4105-bbc8-3a1109c25185", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:58:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "83c4a191-cf3e-4a79-9599-9d601fd62892" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "3f0fde63-ad7c-455c-a228-31ac1ee25219", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:58:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "27b92f55-1270-42d7-9b05-41108acb8125" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listDeletedCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listDeletedCertificates[1].json index 70c88779df4ce..bdfad9bc237d8 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listDeletedCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listDeletedCertificates[1].json @@ -1,782 +1,1784 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert4924651/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b71bd957-6d8e-4c4f-95ec-4aad81f3ae97" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d828f56e-896a-4c0a-bbf0-9be5fd5485ac", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDfu5SneY0xZ/XgqkdVLgQpbPTKNaRFTdUHF+wLA4lbIpxHgq1+0Hju+DGx4CEpeBqXG14cWdQcJPhCsvaI/eBbeHyq4V7vOvc2A4mL/DMit1JevYhbGoLBV+K6VcC2acNkaJL+F8rXtOiIyjly0P2ZWFZj0RK2dgo1V6A2V/b+TGyNTGQKxlYYKp2tsr11IDXrsbEL9KexPBf9Ng6N1HcSAMca5bRrIhujp2+1PZmNXVSEplbHK/0KcZVPgnr23TquMpCSAwkQjw/9fJJKohYLX5hDBobn1+j8T925DpBd6h+TZ5F9sAku3L/7pq4YVccw5Z6EmaUKo1vRY9fZSwz\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"9838915418b44200a2c10b03ca51d6fb\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending?api-version=7.4&request_id=9838915418b44200a2c10b03ca51d6fb", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "52294e9e-f74d-4a8e-b0c3-eef0fc02db19" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert4924651/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "02cd7d5b-29e8-4423-a3ee-9515334e758c" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "434281cf-ce33-4946-a4ab-1c0200aae08d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDfu5SneY0xZ/XgqkdVLgQpbPTKNaRFTdUHF+wLA4lbIpxHgq1+0Hju+DGx4CEpeBqXG14cWdQcJPhCsvaI/eBbeHyq4V7vOvc2A4mL/DMit1JevYhbGoLBV+K6VcC2acNkaJL+F8rXtOiIyjly0P2ZWFZj0RK2dgo1V6A2V/b+TGyNTGQKxlYYKp2tsr11IDXrsbEL9KexPBf9Ng6N1HcSAMca5bRrIhujp2+1PZmNXVSEplbHK/0KcZVPgnr23TquMpCSAwkQjw/9fJJKohYLX5hDBobn1+j8T925DpBd6h+TZ5F9sAku3L/7pq4YVccw5Z6EmaUKo1vRY9fZSwz\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"9838915418b44200a2c10b03ca51d6fb\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "eda7f335-305e-4cb9-9867-59a562885922" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert4924651/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e60451cf-b2bf-4228-896a-fbbb6d5e05d5" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e4de9234-0683-4f94-9416-69c29e55d3e6", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDfu5SneY0xZ/XgqkdVLgQpbPTKNaRFTdUHF+wLA4lbIpxHgq1+0Hju+DGx4CEpeBqXG14cWdQcJPhCsvaI/eBbeHyq4V7vOvc2A4mL/DMit1JevYhbGoLBV+K6VcC2acNkaJL+F8rXtOiIyjly0P2ZWFZj0RK2dgo1V6A2V/b+TGyNTGQKxlYYKp2tsr11IDXrsbEL9KexPBf9Ng6N1HcSAMca5bRrIhujp2+1PZmNXVSEplbHK/0KcZVPgnr23TquMpCSAwkQjw/9fJJKohYLX5hDBobn1+j8T925DpBd6h+TZ5F9sAku3L/7pq4YVccw5Z6EmaUKo1vRY9fZSwz\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"9838915418b44200a2c10b03ca51d6fb\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:37 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending?api-version=7.4\u0026request_id=fb44ff6c700f4c71b2401df010da3561", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0b10b7e9-0e31-4bdc-a945-af08911678fb" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZnngbs0jv7i4cxl4oI02ewSpo4wjln/4Jy7sqdGn/F7xbqEVSCuOKEu5t/IzJ6rAEpa48PFf1yLn1JvLWoJQ9nx64zQCtapufxg/puQvE7qGpsz9Ur5vJWvyevQncgyx87tqQUKH3C2kMblQlJkSbfhTcuvIXur4KanhcDStCZCoYg62QDY/1yeJAcPjKaqxEwbzb2d\u002BeRyodR9/MVxLwweRqVFHig3wGYQCj3p\u002BqCU5bCXx1TqbVmROsk787FLsgubNC0GtVo9SclwmBEG0YUnVcHdt6AC9l/bngvYSo\u002BHd\u002Bpih9c4UbdCGiuEdCnJ1jZNut/NCOEBqWElBY\u002BceUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAzAJM9HcDsW6xiZ6D5r40NpPInx5Am8Eum7OrGqr9BoqDV\u002B4euXJHZrKVxomUzl770Sm9LPjreTBXRYtr1EUPhZQmBjiswrWbXIP3m\u002BWr2Meay8uq\u002BSRjoYqtA4U0avRD64WBeLNPksMaoWVm1ScVU1DJSn2z5lFrguGLHHg5KXOBnqDoMRacXYxIRKSuXKZ/w3ibUPb6id8vpYKxRpDpE5yhaecCoMF/MbR7\u002BBdtPbqV0FofOscC4PkehLT09m9zJzHp0adFn7mcssuR5VS9AszKu72cQdJ7HtyKYkn\u002BothJXaZAuaK70vtH9CdwF3JT7K6RLKNr6skidf/r6H099", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "fb44ff6c700f4c71b2401df010da3561" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert4924651/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d88f5556-c0c1-4bcd-84aa-6bbd8ef13e06" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZnngbs0jv7i4cxl4oI02ewSpo4wjln/4Jy7sqdGn/F7xbqEVSCuOKEu5t/IzJ6rAEpa48PFf1yLn1JvLWoJQ9nx64zQCtapufxg/puQvE7qGpsz9Ur5vJWvyevQncgyx87tqQUKH3C2kMblQlJkSbfhTcuvIXur4KanhcDStCZCoYg62QDY/1yeJAcPjKaqxEwbzb2d\u002BeRyodR9/MVxLwweRqVFHig3wGYQCj3p\u002BqCU5bCXx1TqbVmROsk787FLsgubNC0GtVo9SclwmBEG0YUnVcHdt6AC9l/bngvYSo\u002BHd\u002Bpih9c4UbdCGiuEdCnJ1jZNut/NCOEBqWElBY\u002BceUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAzAJM9HcDsW6xiZ6D5r40NpPInx5Am8Eum7OrGqr9BoqDV\u002B4euXJHZrKVxomUzl770Sm9LPjreTBXRYtr1EUPhZQmBjiswrWbXIP3m\u002BWr2Meay8uq\u002BSRjoYqtA4U0avRD64WBeLNPksMaoWVm1ScVU1DJSn2z5lFrguGLHHg5KXOBnqDoMRacXYxIRKSuXKZ/w3ibUPb6id8vpYKxRpDpE5yhaecCoMF/MbR7\u002BBdtPbqV0FofOscC4PkehLT09m9zJzHp0adFn7mcssuR5VS9AszKu72cQdJ7HtyKYkn\u002BothJXaZAuaK70vtH9CdwF3JT7K6RLKNr6skidf/r6H099", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "fb44ff6c700f4c71b2401df010da3561" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ffa73b96-0c29-46e5-865e-e1016c6c9ff9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBDfu5SneY0xZ/XgqkdVLgQpbPTKNaRFTdUHF+wLA4lbIpxHgq1+0Hju+DGx4CEpeBqXG14cWdQcJPhCsvaI/eBbeHyq4V7vOvc2A4mL/DMit1JevYhbGoLBV+K6VcC2acNkaJL+F8rXtOiIyjly0P2ZWFZj0RK2dgo1V6A2V/b+TGyNTGQKxlYYKp2tsr11IDXrsbEL9KexPBf9Ng6N1HcSAMca5bRrIhujp2+1PZmNXVSEplbHK/0KcZVPgnr23TquMpCSAwkQjw/9fJJKohYLX5hDBobn1+j8T925DpBd6h+TZ5F9sAku3L/7pq4YVccw5Z6EmaUKo1vRY9fZSwz\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651\",\"request_id\":\"9838915418b44200a2c10b03ca51d6fb\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "415d859e-ed93-42a5-ac58-0a7ddd3d4bcf" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZnngbs0jv7i4cxl4oI02ewSpo4wjln/4Jy7sqdGn/F7xbqEVSCuOKEu5t/IzJ6rAEpa48PFf1yLn1JvLWoJQ9nx64zQCtapufxg/puQvE7qGpsz9Ur5vJWvyevQncgyx87tqQUKH3C2kMblQlJkSbfhTcuvIXur4KanhcDStCZCoYg62QDY/1yeJAcPjKaqxEwbzb2d\u002BeRyodR9/MVxLwweRqVFHig3wGYQCj3p\u002BqCU5bCXx1TqbVmROsk787FLsgubNC0GtVo9SclwmBEG0YUnVcHdt6AC9l/bngvYSo\u002BHd\u002Bpih9c4UbdCGiuEdCnJ1jZNut/NCOEBqWElBY\u002BceUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAzAJM9HcDsW6xiZ6D5r40NpPInx5Am8Eum7OrGqr9BoqDV\u002B4euXJHZrKVxomUzl770Sm9LPjreTBXRYtr1EUPhZQmBjiswrWbXIP3m\u002BWr2Meay8uq\u002BSRjoYqtA4U0avRD64WBeLNPksMaoWVm1ScVU1DJSn2z5lFrguGLHHg5KXOBnqDoMRacXYxIRKSuXKZ/w3ibUPb6id8vpYKxRpDpE5yhaecCoMF/MbR7\u002BBdtPbqV0FofOscC4PkehLT09m9zJzHp0adFn7mcssuR5VS9AszKu72cQdJ7HtyKYkn\u002BothJXaZAuaK70vtH9CdwF3JT7K6RLKNr6skidf/r6H099", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076", + "request_id": "fb44ff6c700f4c71b2401df010da3561" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert959888c/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:39 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending?api-version=7.4\u0026request_id=78f3bfb870b3443c9f26ac7fa1c10e15", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "46a6a1cd-ecdc-40ba-9e20-1c2abeea9210" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAchpVu7Si0\u002BWS\u002BZkOdpoTOqvWtVvypfQ/vGmVCozWWNxTWequnmKh4Et7Qfddm8LmqF56MQAwCoeSJTeWy6tmqL7qBeEfiyflSnrPq7K6q\u002B8D5Yo6ZmBrfah23XFPddRT3JGI5nCPTkeatygjEt2bWCvwQq48wU2z5zL7NJfXQuaBFN1S3SfCjxSV4PFchy8xsypuiL0tWX\u002BhOmby8ByYbAoYbQ7qylrKMxmok4yB5Iub\u002BCym3eoHQEtZPkCORJkWzUl4rXYD/fZeTVTluLhPN3Zky/CfJSk/jXE7ak\u002BgGYo6ZBTA2sL/TZQzXE0eg6TAU/NLPhqdBIejz2Ue9Ebkm", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "78f3bfb870b3443c9f26ac7fa1c10e15" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:48 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1ced1929-9688-424a-9f97-7262bff622df", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert959888c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ee741bbb-5cfe-465c-b845-f81946c03a09" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAchpVu7Si0\u002BWS\u002BZkOdpoTOqvWtVvypfQ/vGmVCozWWNxTWequnmKh4Et7Qfddm8LmqF56MQAwCoeSJTeWy6tmqL7qBeEfiyflSnrPq7K6q\u002B8D5Yo6ZmBrfah23XFPddRT3JGI5nCPTkeatygjEt2bWCvwQq48wU2z5zL7NJfXQuaBFN1S3SfCjxSV4PFchy8xsypuiL0tWX\u002BhOmby8ByYbAoYbQ7qylrKMxmok4yB5Iub\u002BCym3eoHQEtZPkCORJkWzUl4rXYD/fZeTVTluLhPN3Zky/CfJSk/jXE7ak\u002BgGYo6ZBTA2sL/TZQzXE0eg6TAU/NLPhqdBIejz2Ue9Ebkm", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "78f3bfb870b3443c9f26ac7fa1c10e15" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert959888c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "311cf867-d167-4b4a-9c6e-72f7598835c5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAchpVu7Si0\u002BWS\u002BZkOdpoTOqvWtVvypfQ/vGmVCozWWNxTWequnmKh4Et7Qfddm8LmqF56MQAwCoeSJTeWy6tmqL7qBeEfiyflSnrPq7K6q\u002B8D5Yo6ZmBrfah23XFPddRT3JGI5nCPTkeatygjEt2bWCvwQq48wU2z5zL7NJfXQuaBFN1S3SfCjxSV4PFchy8xsypuiL0tWX\u002BhOmby8ByYbAoYbQ7qylrKMxmok4yB5Iub\u002BCym3eoHQEtZPkCORJkWzUl4rXYD/fZeTVTluLhPN3Zky/CfJSk/jXE7ak\u002BgGYo6ZBTA2sL/TZQzXE0eg6TAU/NLPhqdBIejz2Ue9Ebkm", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "78f3bfb870b3443c9f26ac7fa1c10e15" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c5475966-e372-4c9b-a7dc-06416720670b", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert959888c/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "00ca0565-3813-4d0a-9211-f9bb04291bb6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAchpVu7Si0\u002BWS\u002BZkOdpoTOqvWtVvypfQ/vGmVCozWWNxTWequnmKh4Et7Qfddm8LmqF56MQAwCoeSJTeWy6tmqL7qBeEfiyflSnrPq7K6q\u002B8D5Yo6ZmBrfah23XFPddRT3JGI5nCPTkeatygjEt2bWCvwQq48wU2z5zL7NJfXQuaBFN1S3SfCjxSV4PFchy8xsypuiL0tWX\u002BhOmby8ByYbAoYbQ7qylrKMxmok4yB5Iub\u002BCym3eoHQEtZPkCORJkWzUl4rXYD/fZeTVTluLhPN3Zky/CfJSk/jXE7ak\u002BgGYo6ZBTA2sL/TZQzXE0eg6TAU/NLPhqdBIejz2Ue9Ebkm", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c", + "request_id": "78f3bfb870b3443c9f26ac7fa1c10e15" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert1287187/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:42 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending?api-version=7.4\u0026request_id=ddc95615740940ccb61909f8f40be455", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2b71d8ba-3f53-41d2-8b0e-b1860d6a5478" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALKMtAtcA\u002BoW6qsN\u002BfMgzo/vxET/qG8rqJYob8LEi1pPVIbU\u002Bb9\u002BZ270vQ2zLpOFsUBkZRo0syMsgsJz0luy/KTCB7VuCUAiYuncD\u002BRmLlKhDFyICDBFUPQpaHXIex5GwCcxwaBOV7NqbQHmXcpAtdA1x2Hh3HeVzkr1jzsbNpbY1oniFSim/ff\u002BrRAELVfEGwib6D6GTuqFHHRgjJBSnjIzy/BS35K/kHkg9W0EDgl/vkGOD02\u002B6nloRVxPH79g00\u002BBt/9yzoLfLcZ9TSTn5cxUr7wyST\u002BXdw8VSstDm5J7UsmrK77KkyUHvsv5sVfD93ifa7kJuCtiXpXk0odcUzUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA7ovq4J28vFJQDohE7lFv/sS\u002BG5qrnAkiuOVwpHTKRyB6eiUg0lTsVwPw\u002BfVN/CnRw78\u002BBRMXgtGCS2pQ\u002BrD/KXBRyd\u002Bqtb0ij8W\u002B8sLBjMijCOZr9np5BzCExSLBbtVDj\u002BMFilGZirYyPWw34qWfBtHX6\u002BQ2ZFxGspKF4rPIAwWietqR/CZ7iZbemSo/\u002BSkXNB3tzLytsuhO6HNy7mM4TJocdYM3tFcscc/IT\u002BJs7wCVd6zRXoOd\u002B7TL1EYs56udkq\u002B/3w\u002BdkKzlpLzDcRtuAlhw9BhR\u002BgTFGia5Hzd4a10Y9nur10M9ZoQCswalFLifav533XDdqXtjpSvpBp7fY", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ddc95615740940ccb61909f8f40be455" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f8d788be-3b11-4d8e-803b-7cca2adb4bfb", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert1287187/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3ce1ac06-977a-4647-8bd3-7a90d47bb524" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALKMtAtcA\u002BoW6qsN\u002BfMgzo/vxET/qG8rqJYob8LEi1pPVIbU\u002Bb9\u002BZ270vQ2zLpOFsUBkZRo0syMsgsJz0luy/KTCB7VuCUAiYuncD\u002BRmLlKhDFyICDBFUPQpaHXIex5GwCcxwaBOV7NqbQHmXcpAtdA1x2Hh3HeVzkr1jzsbNpbY1oniFSim/ff\u002BrRAELVfEGwib6D6GTuqFHHRgjJBSnjIzy/BS35K/kHkg9W0EDgl/vkGOD02\u002B6nloRVxPH79g00\u002BBt/9yzoLfLcZ9TSTn5cxUr7wyST\u002BXdw8VSstDm5J7UsmrK77KkyUHvsv5sVfD93ifa7kJuCtiXpXk0odcUzUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA7ovq4J28vFJQDohE7lFv/sS\u002BG5qrnAkiuOVwpHTKRyB6eiUg0lTsVwPw\u002BfVN/CnRw78\u002BBRMXgtGCS2pQ\u002BrD/KXBRyd\u002Bqtb0ij8W\u002B8sLBjMijCOZr9np5BzCExSLBbtVDj\u002BMFilGZirYyPWw34qWfBtHX6\u002BQ2ZFxGspKF4rPIAwWietqR/CZ7iZbemSo/\u002BSkXNB3tzLytsuhO6HNy7mM4TJocdYM3tFcscc/IT\u002BJs7wCVd6zRXoOd\u002B7TL1EYs56udkq\u002B/3w\u002BdkKzlpLzDcRtuAlhw9BhR\u002BgTFGia5Hzd4a10Y9nur10M9ZoQCswalFLifav533XDdqXtjpSvpBp7fY", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "ddc95615740940ccb61909f8f40be455" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert1287187/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1225", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "db4217ee-343b-4b9e-874a-b58914a38576" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALKMtAtcA\u002BoW6qsN\u002BfMgzo/vxET/qG8rqJYob8LEi1pPVIbU\u002Bb9\u002BZ270vQ2zLpOFsUBkZRo0syMsgsJz0luy/KTCB7VuCUAiYuncD\u002BRmLlKhDFyICDBFUPQpaHXIex5GwCcxwaBOV7NqbQHmXcpAtdA1x2Hh3HeVzkr1jzsbNpbY1oniFSim/ff\u002BrRAELVfEGwib6D6GTuqFHHRgjJBSnjIzy/BS35K/kHkg9W0EDgl/vkGOD02\u002B6nloRVxPH79g00\u002BBt/9yzoLfLcZ9TSTn5cxUr7wyST\u002BXdw8VSstDm5J7UsmrK77KkyUHvsv5sVfD93ifa7kJuCtiXpXk0odcUzUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQA7ovq4J28vFJQDohE7lFv/sS\u002BG5qrnAkiuOVwpHTKRyB6eiUg0lTsVwPw\u002BfVN/CnRw78\u002BBRMXgtGCS2pQ\u002BrD/KXBRyd\u002Bqtb0ij8W\u002B8sLBjMijCOZr9np5BzCExSLBbtVDj\u002BMFilGZirYyPWw34qWfBtHX6\u002BQ2ZFxGspKF4rPIAwWietqR/CZ7iZbemSo/\u002BSkXNB3tzLytsuhO6HNy7mM4TJocdYM3tFcscc/IT\u002BJs7wCVd6zRXoOd\u002B7TL1EYs56udkq\u002B/3w\u002BdkKzlpLzDcRtuAlhw9BhR\u002BgTFGia5Hzd4a10Y9nur10M9ZoQCswalFLifav533XDdqXtjpSvpBp7fY", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187", + "request_id": "ddc95615740940ccb61909f8f40be455" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5a3617e1-6353-4300-802f-9326259d3e39", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert1287187?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "63fddf4d-909e-4796-aabb-565fc5ec9005" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert1287187", + "deletedDate": 1681267963, + "scheduledPurgeDate": 1681872763, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "x5t": "EclCcMKbPmiHqANn6x4W-8HymjU", + "cer": "MIIDNjCCAh6gAwIBAgIQLtLoIxTIRaqEdhN\u002B\u002BRFM7DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI0MloXDTI0MDQxMjAyNTI0MlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALKMtAtcA\u002BoW6qsN\u002BfMgzo/vxET/qG8rqJYob8LEi1pPVIbU\u002Bb9\u002BZ270vQ2zLpOFsUBkZRo0syMsgsJz0luy/KTCB7VuCUAiYuncD\u002BRmLlKhDFyICDBFUPQpaHXIex5GwCcxwaBOV7NqbQHmXcpAtdA1x2Hh3HeVzkr1jzsbNpbY1oniFSim/ff\u002BrRAELVfEGwib6D6GTuqFHHRgjJBSnjIzy/BS35K/kHkg9W0EDgl/vkGOD02\u002B6nloRVxPH79g00\u002BBt/9yzoLfLcZ9TSTn5cxUr7wyST\u002BXdw8VSstDm5J7UsmrK77KkyUHvsv5sVfD93ifa7kJuCtiXpXk0odcUzUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGltL\u002B0qKXt74GYavgBVmp04228iMB0GA1UdDgQWBBRpbS/tKil7e\u002BBmGr4AVZqdONtvIjANBgkqhkiG9w0BAQsFAAOCAQEAGxgbEVWQkrBKd3kQi73r57l0bQkcqfWdcWchwAEHE\u002BGMOemuDjBnCej2R0XRvLXzUnhlKjNCbYrD4AF8RUAJlp8eMHVejFwrp3UPwjOUg5ZuOEDZTPzkyLK62HiJcYLkY836VulSf3BMcydsEBqdzfK945qjn6Y/v13PuSZvSji8BCRjV6eKCISeYS/VbMda3mkCzZEsV6oeFwgFwiTj7ajgjve2JUxL5O\u002BKsHJTaMmzkMnYp3gOoa4hIiSarcPGccTruiItlbXG8CX5eERhxzsBIiSzX2teI7ZbnaKq9Al0pKlIp6lyVkBgr2pRtX5fUxaoCapQ\u002BWn71gKu3Amf5g==", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267963, + "updated": 1681267963, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267962, + "updated": 1681267962 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert1287187?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5415363c-2278-4f89-a139-0a0de65d0666" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert1287187" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:10:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6498c837-cd8f-4116-8701-46374e70a3cf", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOl9o9Je7oxwV5AcSk4awu7Mk4jSKcMdu4DBq19+jz0yuPGGPehvuF0OZyT5t/PznBCy2GH8jJSdB6K8lNHn88rklmKBVr3nEW04NiaxdS5XtR43VjAf2j3k57QjJCYVH1lbK/kgVpYol+1qJIk+LRTYSiGNXbklJjyvyDRQRJ9caP+NHTYpImAyIuURSO9cToLs0B+7XPLmb/QsXOL4QvLCg1u+EfHXBx9Pos+R8SZHsENSdNd3ybgcbAyRNLR5kbvPXoSCnnU3yNxFvg3l9vDFGrAGxT7LeieBTtbnnW/8qpP2ghpiTHsGuhZ+ZwsNht3igNYhubgbLhE3rB/d6w0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCUW7PV3FwpKBFx4HLYueZr+ssy0i3+s890sx/LbgVbzvaydEA7wW25olfMLb+8mwbDmwORWITuXd4p8GPchtUpqyKwi6kG5OniHVVkZmjf4/zRgmLhvGbO3uNSKIHjdnRDXWtT5LccOkjoHIZafJ6w2sBmiLng9fjQagoPxCuEizfkFkPMgpF6JQlrQJx11Et7DYrcue14Jb+TOhIOORe0077e3v3KEoQUOQ6nN7zQzuWv9o5OPKKvCVh6monv7Y3lFpTDMufBH4ZVtdWDujDdu+vit7Mw7mDGY5evidKZgyevMZJp8alf4gCiZQ61x11BbIRdgKpTSbyTfRWKZlIM\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ede994052e44a578bdecaf22d81a146\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending?api-version=7.4&request_id=5ede994052e44a578bdecaf22d81a146", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert1287187?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6b5ffa50-e89a-4e6c-86bc-5b5943238e84" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert1287187", + "deletedDate": 1681267963, + "scheduledPurgeDate": 1681872763, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert1287187/bf3e589442214f8eb28457b02a852868", + "x5t": "EclCcMKbPmiHqANn6x4W-8HymjU", + "cer": "MIIDNjCCAh6gAwIBAgIQLtLoIxTIRaqEdhN\u002B\u002BRFM7DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI0MloXDTI0MDQxMjAyNTI0MlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALKMtAtcA\u002BoW6qsN\u002BfMgzo/vxET/qG8rqJYob8LEi1pPVIbU\u002Bb9\u002BZ270vQ2zLpOFsUBkZRo0syMsgsJz0luy/KTCB7VuCUAiYuncD\u002BRmLlKhDFyICDBFUPQpaHXIex5GwCcxwaBOV7NqbQHmXcpAtdA1x2Hh3HeVzkr1jzsbNpbY1oniFSim/ff\u002BrRAELVfEGwib6D6GTuqFHHRgjJBSnjIzy/BS35K/kHkg9W0EDgl/vkGOD02\u002B6nloRVxPH79g00\u002BBt/9yzoLfLcZ9TSTn5cxUr7wyST\u002BXdw8VSstDm5J7UsmrK77KkyUHvsv5sVfD93ifa7kJuCtiXpXk0odcUzUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFGltL\u002B0qKXt74GYavgBVmp04228iMB0GA1UdDgQWBBRpbS/tKil7e\u002BBmGr4AVZqdONtvIjANBgkqhkiG9w0BAQsFAAOCAQEAGxgbEVWQkrBKd3kQi73r57l0bQkcqfWdcWchwAEHE\u002BGMOemuDjBnCej2R0XRvLXzUnhlKjNCbYrD4AF8RUAJlp8eMHVejFwrp3UPwjOUg5ZuOEDZTPzkyLK62HiJcYLkY836VulSf3BMcydsEBqdzfK945qjn6Y/v13PuSZvSji8BCRjV6eKCISeYS/VbMda3mkCzZEsV6oeFwgFwiTj7ajgjve2JUxL5O\u002BKsHJTaMmzkMnYp3gOoa4hIiSarcPGccTruiItlbXG8CX5eERhxzsBIiSzX2teI7ZbnaKq9Al0pKlIp6lyVkBgr2pRtX5fUxaoCapQ\u002BWn71gKu3Amf5g==", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267963, + "updated": 1681267963, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267962, + "updated": 1681267962 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert7825076?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8da9f142-6def-4cef-a7aa-e54d9799ed53" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert7825076", + "deletedDate": 1681267964, + "scheduledPurgeDate": 1681872764, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "x5t": "L47AftErupttl4lZyFFM7Bc1wIs", + "cer": "MIIDNjCCAh6gAwIBAgIQY6oaHQpvTfaMVE/l4LpiOTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIzOFoXDTI0MDQxMjAyNTIzOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZnngbs0jv7i4cxl4oI02ewSpo4wjln/4Jy7sqdGn/F7xbqEVSCuOKEu5t/IzJ6rAEpa48PFf1yLn1JvLWoJQ9nx64zQCtapufxg/puQvE7qGpsz9Ur5vJWvyevQncgyx87tqQUKH3C2kMblQlJkSbfhTcuvIXur4KanhcDStCZCoYg62QDY/1yeJAcPjKaqxEwbzb2d\u002BeRyodR9/MVxLwweRqVFHig3wGYQCj3p\u002BqCU5bCXx1TqbVmROsk787FLsgubNC0GtVo9SclwmBEG0YUnVcHdt6AC9l/bngvYSo\u002BHd\u002Bpih9c4UbdCGiuEdCnJ1jZNut/NCOEBqWElBY\u002BceUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFE\u002BFW7UsEmDEgEtQAPlca2nE0OY2MB0GA1UdDgQWBBRPhVu1LBJgxIBLUAD5XGtpxNDmNjANBgkqhkiG9w0BAQsFAAOCAQEA2kj4LJkPT2cTW5\u002Bo27Sth1ciExCQWfJCRZtE0RLdD\u002B2LErS1CJ8VJq7s436gnsPFIodPozWXWl3WNQOw8kmvcACkPlkkiPvEseQwdaw9QsJbf14V48vf61G2iikrhcaBda/B7oPDwRfplbBYpY58CkXtIMXboOpDvr71sglG7LXRl9u351oMR\u002BgbBylv9JxHnN2VvaeCE79zFdUVNgSTMzYHSCxlhvz8yzpT2synrZvA9A0lTZtoqE4RfFSKruCyB1k/ixkfFo\u002B/iSoIVNyt\u002Bw6cjqWEB1eZMEIAxr6M31yryHKeQyqQbvVe3cdJMQPqg3yFXmf/Uvi55JXmBSrbCg==", + "attributes": { + "enabled": true, + "nbf": 1681267358, + "exp": 1712890358, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267958, + "updated": 1681267958 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9dff681f-4a83-4f5a-b6f2-88e28cfd5e46", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOl9o9Je7oxwV5AcSk4awu7Mk4jSKcMdu4DBq19+jz0yuPGGPehvuF0OZyT5t/PznBCy2GH8jJSdB6K8lNHn88rklmKBVr3nEW04NiaxdS5XtR43VjAf2j3k57QjJCYVH1lbK/kgVpYol+1qJIk+LRTYSiGNXbklJjyvyDRQRJ9caP+NHTYpImAyIuURSO9cToLs0B+7XPLmb/QsXOL4QvLCg1u+EfHXBx9Pos+R8SZHsENSdNd3ybgcbAyRNLR5kbvPXoSCnnU3yNxFvg3l9vDFGrAGxT7LeieBTtbnnW/8qpP2ghpiTHsGuhZ+ZwsNht3igNYhubgbLhE3rB/d6w0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCUW7PV3FwpKBFx4HLYueZr+ssy0i3+s890sx/LbgVbzvaydEA7wW25olfMLb+8mwbDmwORWITuXd4p8GPchtUpqyKwi6kG5OniHVVkZmjf4/zRgmLhvGbO3uNSKIHjdnRDXWtT5LccOkjoHIZafJ6w2sBmiLng9fjQagoPxCuEizfkFkPMgpF6JQlrQJx11Et7DYrcue14Jb+TOhIOORe0077e3v3KEoQUOQ6nN7zQzuWv9o5OPKKvCVh6monv7Y3lFpTDMufBH4ZVtdWDujDdu+vit7Mw7mDGY5evidKZgyevMZJp8alf4gCiZQ61x11BbIRdgKpTSbyTfRWKZlIM\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ede994052e44a578bdecaf22d81a146\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert7825076?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f12ffe41-4429-428b-b383-8fba6a6f03e9" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert7825076" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert7825076?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8fcedb2b-0f1f-4a91-9243-ffb7cbf391eb" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert7825076" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c0593625-7532-4cf4-85ad-aace9a282bd1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOl9o9Je7oxwV5AcSk4awu7Mk4jSKcMdu4DBq19+jz0yuPGGPehvuF0OZyT5t/PznBCy2GH8jJSdB6K8lNHn88rklmKBVr3nEW04NiaxdS5XtR43VjAf2j3k57QjJCYVH1lbK/kgVpYol+1qJIk+LRTYSiGNXbklJjyvyDRQRJ9caP+NHTYpImAyIuURSO9cToLs0B+7XPLmb/QsXOL4QvLCg1u+EfHXBx9Pos+R8SZHsENSdNd3ybgcbAyRNLR5kbvPXoSCnnU3yNxFvg3l9vDFGrAGxT7LeieBTtbnnW/8qpP2ghpiTHsGuhZ+ZwsNht3igNYhubgbLhE3rB/d6w0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCUW7PV3FwpKBFx4HLYueZr+ssy0i3+s890sx/LbgVbzvaydEA7wW25olfMLb+8mwbDmwORWITuXd4p8GPchtUpqyKwi6kG5OniHVVkZmjf4/zRgmLhvGbO3uNSKIHjdnRDXWtT5LccOkjoHIZafJ6w2sBmiLng9fjQagoPxCuEizfkFkPMgpF6JQlrQJx11Et7DYrcue14Jb+TOhIOORe0077e3v3KEoQUOQ6nN7zQzuWv9o5OPKKvCVh6monv7Y3lFpTDMufBH4ZVtdWDujDdu+vit7Mw7mDGY5evidKZgyevMZJp8alf4gCiZQ61x11BbIRdgKpTSbyTfRWKZlIM\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781\",\"request_id\":\"5ede994052e44a578bdecaf22d81a146\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert7825076?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f5a1127b-3ee8-446a-8447-248642b714a2" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert7825076", + "deletedDate": 1681267964, + "scheduledPurgeDate": 1681872764, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert7825076/ba7d11a8e2cb4e0db99f0336659d823f", + "x5t": "L47AftErupttl4lZyFFM7Bc1wIs", + "cer": "MIIDNjCCAh6gAwIBAgIQY6oaHQpvTfaMVE/l4LpiOTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIzOFoXDTI0MDQxMjAyNTIzOFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZnngbs0jv7i4cxl4oI02ewSpo4wjln/4Jy7sqdGn/F7xbqEVSCuOKEu5t/IzJ6rAEpa48PFf1yLn1JvLWoJQ9nx64zQCtapufxg/puQvE7qGpsz9Ur5vJWvyevQncgyx87tqQUKH3C2kMblQlJkSbfhTcuvIXur4KanhcDStCZCoYg62QDY/1yeJAcPjKaqxEwbzb2d\u002BeRyodR9/MVxLwweRqVFHig3wGYQCj3p\u002BqCU5bCXx1TqbVmROsk787FLsgubNC0GtVo9SclwmBEG0YUnVcHdt6AC9l/bngvYSo\u002BHd\u002Bpih9c4UbdCGiuEdCnJ1jZNut/NCOEBqWElBY\u002BceUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFE\u002BFW7UsEmDEgEtQAPlca2nE0OY2MB0GA1UdDgQWBBRPhVu1LBJgxIBLUAD5XGtpxNDmNjANBgkqhkiG9w0BAQsFAAOCAQEA2kj4LJkPT2cTW5\u002Bo27Sth1ciExCQWfJCRZtE0RLdD\u002B2LErS1CJ8VJq7s436gnsPFIodPozWXWl3WNQOw8kmvcACkPlkkiPvEseQwdaw9QsJbf14V48vf61G2iikrhcaBda/B7oPDwRfplbBYpY58CkXtIMXboOpDvr71sglG7LXRl9u351oMR\u002BgbBylv9JxHnN2VvaeCE79zFdUVNgSTMzYHSCxlhvz8yzpT2synrZvA9A0lTZtoqE4RfFSKruCyB1k/ixkfFo\u002B/iSoIVNyt\u002Bw6cjqWEB1eZMEIAxr6M31yryHKeQyqQbvVe3cdJMQPqg3yFXmf/Uvi55JXmBSrbCg==", + "attributes": { + "enabled": true, + "nbf": 1681267358, + "exp": 1712890358, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267958, + "updated": 1681267958 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076/pending" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert08269f4/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listdeletedcert959888c?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "36dfbe40-c7c1-4904-ba2f-7c578c95547a" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert959888c", + "deletedDate": 1681267967, + "scheduledPurgeDate": 1681872767, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "x5t": "nTKaxOnGY_tpy6Wpxc2Jua6M5Gw", + "cer": "MIIDNjCCAh6gAwIBAgIQN\u002B\u002BVbrSITTSHX5l\u002BkquZzjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI0MFoXDTI0MDQxMjAyNTI0MFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIYgPn0q7vZkmGX2jYsIJuctJJFMMB0GA1UdDgQWBBSGID59Ku72ZJhl9o2LCCbnLSSRTDANBgkqhkiG9w0BAQsFAAOCAQEAlhipyNsQTt06MNDqazpJeHk/IFt\u002BeK3G1WjoF/JtiqFbrnd\u002Bebv\u002BsWhp2mkwnjHv50oVu8tbrliv5w/QrjzJ\u002B6vOrgOS0e0H1Hb3ivMVhJqvulg0jDOZAFKeZiBH0kaHk7DObnzCH3IhN27KIwAyu0LRnCO/wXk2FObHmY/q/QFjd4M4j2ew6/0RtELwaKJS5LT7FnvKz\u002B8Km6jLKtDFB/L0/JT19WOc8Gfz4C9scvEWU5Ln4OFIeyIpXayhleKLv66Pj4BmDWZ8syg7mubwlLf4pZjsUJ0VBZi6TmpGNPUknIpYbXLDetm5ISHK86ikLR8/ycofR8MX\u002BzzepeB9rw==", + "attributes": { + "enabled": true, + "nbf": 1681267360, + "exp": 1712890360, + "created": 1681267961, + "updated": 1681267961, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267959, + "updated": 1681267959 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4c9812f5-a070-4c56-aa0f-c3e3b247260d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHlX3v+WwKTAiamQdTlnYvnXEk0pHo/tlksImUTNRMocRWVWHvyIYLQ9AUsozxBDKjPYGMuwQIZzbyetGal9ilFqg5dwTKeDHEtH9MD9foW6qOSQqI3vzDgACrXfm2n4gWUXj5Pj0r4zZ3r4dg7Zwq3IFmuijdYaTzl8PPUZMia9QWn+3ZmilLIHp1YWtY6uBEcBwyM6GnAw+UUUFN/BIBobwLU+M5HW5uGdjtobS871geSUuYXnjpxo9B/gHBjlIOlARjulwxS0Me9xP7Mz/aHsrFH9mr+zQW/XBbZ1dvAVZ6CxRvWJnuo+at0v+yTxO7vnkuaiidXaraHSMoRZhkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS1F4GGvGL50FBpgcNqeg39cPgvIkz7PFq4VuySDkdm1PQmydUP6s2t+1mKLNqVbBfMx9MipgbC2S83AermpOHAL07KouyvJqlJQYDZr7lCR4p6PCN8SJ3Uw/2XsugeebP7nt2joBN3VrPHUJlyPjrqTmowQOpVB7mRZjauM8zyRlvH1xuY4VqnDPKZPeG+EATad1xJUH1JL6JN5kO8D7jUHPwKHzNgo0pBbmoeqQ/qIZrgj8TbjDtshcsjHJ8xAcBHGX2dQrBniqsRLEeVw2VXlMKLixTJQO4+CL3o7M/Bsygzm7Z6TwfqEDUMVKegxnTZU5HPNaFSUXjz6kSOJKH\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"6d4ed7c2c8714b8986911b86e7f1d248\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending?api-version=7.4&request_id=6d4ed7c2c8714b8986911b86e7f1d248", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert959888c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "981166de-a8ab-4acc-bbc1-63514ef43132" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: listdeletedcert959888c" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert08269f4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/listdeletedcert959888c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2556", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "770a8cc6-3fd1-4233-82d6-4d3393b2c618" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert959888c", + "deletedDate": 1681267967, + "scheduledPurgeDate": 1681872767, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "kid": "https://azkvrecordtests.vault.azure.net/keys/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/listdeletedcert959888c/b3b605d7036a4dd7817dfdac999a54ed", + "x5t": "nTKaxOnGY_tpy6Wpxc2Jua6M5Gw", + "cer": "MIIDNjCCAh6gAwIBAgIQN\u002B\u002BVbrSITTSHX5l\u002BkquZzjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDI0MFoXDTI0MDQxMjAyNTI0MFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJsRbTZ86jwCTEM9coYwXhPVpofWMBeDYb8q9lzRargtt6CsP19Xt\u002BBoFLMK2zgSvB\u002BFuOjsI9ONG3Nl71BATo4gaufQGZRn7D62JVT24fgHOihpFI38p7mgVoJIIqFhDmF9xHBeoOq9/PgfEO/zqSwgDyn2HBZ1\u002BmZHmv8fcaau\u002BKxMUiER1V2FoeUHocyq4HyhrVIA3GUDlwf0cfbuPQB7/vHTbOHERp9ZYmWqped5LEJ\u002BH\u002Bf7jzwxffumhfc0F\u002BFOr/fRF\u002B9osh/yu4VMALxVwQEU\u002Bi4WFh4N4iJeOw/BghaEn6WgALhxAaTsD97ofZTw7v0gYBXWr1PJSJNApBECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIYgPn0q7vZkmGX2jYsIJuctJJFMMB0GA1UdDgQWBBSGID59Ku72ZJhl9o2LCCbnLSSRTDANBgkqhkiG9w0BAQsFAAOCAQEAlhipyNsQTt06MNDqazpJeHk/IFt\u002BeK3G1WjoF/JtiqFbrnd\u002Bebv\u002BsWhp2mkwnjHv50oVu8tbrliv5w/QrjzJ\u002B6vOrgOS0e0H1Hb3ivMVhJqvulg0jDOZAFKeZiBH0kaHk7DObnzCH3IhN27KIwAyu0LRnCO/wXk2FObHmY/q/QFjd4M4j2ew6/0RtELwaKJS5LT7FnvKz\u002B8Km6jLKtDFB/L0/JT19WOc8Gfz4C9scvEWU5Ln4OFIeyIpXayhleKLv66Pj4BmDWZ8syg7mubwlLf4pZjsUJ0VBZi6TmpGNPUknIpYbXLDetm5ISHK86ikLR8/ycofR8MX\u002BzzepeB9rw==", + "attributes": { + "enabled": true, + "nbf": 1681267360, + "exp": 1712890360, + "created": 1681267961, + "updated": 1681267961, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267959, + "updated": 1681267959 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fcb37108-325f-4fae-919b-c335d608795e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHlX3v+WwKTAiamQdTlnYvnXEk0pHo/tlksImUTNRMocRWVWHvyIYLQ9AUsozxBDKjPYGMuwQIZzbyetGal9ilFqg5dwTKeDHEtH9MD9foW6qOSQqI3vzDgACrXfm2n4gWUXj5Pj0r4zZ3r4dg7Zwq3IFmuijdYaTzl8PPUZMia9QWn+3ZmilLIHp1YWtY6uBEcBwyM6GnAw+UUUFN/BIBobwLU+M5HW5uGdjtobS871geSUuYXnjpxo9B/gHBjlIOlARjulwxS0Me9xP7Mz/aHsrFH9mr+zQW/XBbZ1dvAVZ6CxRvWJnuo+at0v+yTxO7vnkuaiidXaraHSMoRZhkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS1F4GGvGL50FBpgcNqeg39cPgvIkz7PFq4VuySDkdm1PQmydUP6s2t+1mKLNqVbBfMx9MipgbC2S83AermpOHAL07KouyvJqlJQYDZr7lCR4p6PCN8SJ3Uw/2XsugeebP7nt2joBN3VrPHUJlyPjrqTmowQOpVB7mRZjauM8zyRlvH1xuY4VqnDPKZPeG+EATad1xJUH1JL6JN5kO8D7jUHPwKHzNgo0pBbmoeqQ/qIZrgj8TbjDtshcsjHJ8xAcBHGX2dQrBniqsRLEeVw2VXlMKLixTJQO4+CL3o7M/Bsygzm7Z6TwfqEDUMVKegxnTZU5HPNaFSUXjz6kSOJKH\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"6d4ed7c2c8714b8986911b86e7f1d248\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "3048", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aa79b418-1a23-4a70-aaf8-65bd1bb28b5e" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert1287187", + "deletedDate": 1681267963, + "scheduledPurgeDate": 1681872763, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187", + "x5t": "EclCcMKbPmiHqANn6x4W-8HymjU", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267963, + "updated": 1681267963, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert397723c", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert48766a1", + "deletedDate": 1681267928, + "scheduledPurgeDate": 1681872728, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1", + "x5t": "ov7XBBiOE90df9LiFH9x9g6HYCM", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert5835444", + "deletedDate": 1681267934, + "scheduledPurgeDate": 1681872734, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444", + "x5t": "yFi_gLd1SMNIRrVN0mtv-lhpVlQ", + "attributes": { + "enabled": true, + "nbf": 1681267328, + "exp": 1712890328, + "created": 1681267928, + "updated": 1681267928, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert7825076", + "deletedDate": 1681267964, + "scheduledPurgeDate": 1681872764, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076", + "x5t": "L47AftErupttl4lZyFFM7Bc1wIs", + "attributes": { + "enabled": true, + "nbf": 1681267358, + "exp": 1712890358, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert959888c", + "deletedDate": 1681267967, + "scheduledPurgeDate": 1681872767, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c", + "x5t": "nTKaxOnGY_tpy6Wpxc2Jua6M5Gw", + "attributes": { + "enabled": true, + "nbf": 1681267360, + "exp": 1712890360, + "created": 1681267961, + "updated": 1681267961, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRNek5UVTNORFl3UmtNdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert08269f4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "3048", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5b0424a6-e1d7-4cfe-8b37-7dd1120f2a02" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert1287187", + "deletedDate": 1681267963, + "scheduledPurgeDate": 1681872763, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert1287187", + "x5t": "EclCcMKbPmiHqANn6x4W-8HymjU", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267963, + "updated": 1681267963, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert397723c", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert397723c", + "x5t": "ZsCaOHM9gosRVFNAzxjUFfRkmDs", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert48766a1", + "deletedDate": 1681267928, + "scheduledPurgeDate": 1681872728, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert48766a1", + "x5t": "ov7XBBiOE90df9LiFH9x9g6HYCM", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert5835444", + "deletedDate": 1681267934, + "scheduledPurgeDate": 1681872734, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert5835444", + "x5t": "yFi_gLd1SMNIRrVN0mtv-lhpVlQ", + "attributes": { + "enabled": true, + "nbf": 1681267328, + "exp": 1712890328, + "created": 1681267928, + "updated": 1681267928, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert7825076", + "deletedDate": 1681267964, + "scheduledPurgeDate": 1681872764, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert7825076", + "x5t": "L47AftErupttl4lZyFFM7Bc1wIs", + "attributes": { + "enabled": true, + "nbf": 1681267358, + "exp": 1712890358, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/listdeletedcert959888c", + "deletedDate": 1681267967, + "scheduledPurgeDate": 1681872767, + "id": "https://azkvrecordtests.vault.azure.net/certificates/listdeletedcert959888c", + "x5t": "nTKaxOnGY_tpy6Wpxc2Jua6M5Gw", + "attributes": { + "enabled": true, + "nbf": 1681267360, + "exp": 1712890360, + "created": 1681267961, + "updated": 1681267961, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRNek5UVTNORFl3UmtNdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8d0257a4-0818-4596-be58-9e1795e09eb0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHlX3v+WwKTAiamQdTlnYvnXEk0pHo/tlksImUTNRMocRWVWHvyIYLQ9AUsozxBDKjPYGMuwQIZzbyetGal9ilFqg5dwTKeDHEtH9MD9foW6qOSQqI3vzDgACrXfm2n4gWUXj5Pj0r4zZ3r4dg7Zwq3IFmuijdYaTzl8PPUZMia9QWn+3ZmilLIHp1YWtY6uBEcBwyM6GnAw+UUUFN/BIBobwLU+M5HW5uGdjtobS871geSUuYXnjpxo9B/gHBjlIOlARjulwxS0Me9xP7Mz/aHsrFH9mr+zQW/XBbZ1dvAVZ6CxRvWJnuo+at0v+yTxO7vnkuaiidXaraHSMoRZhkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS1F4GGvGL50FBpgcNqeg39cPgvIkz7PFq4VuySDkdm1PQmydUP6s2t+1mKLNqVbBfMx9MipgbC2S83AermpOHAL07KouyvJqlJQYDZr7lCR4p6PCN8SJ3Uw/2XsugeebP7nt2joBN3VrPHUJlyPjrqTmowQOpVB7mRZjauM8zyRlvH1xuY4VqnDPKZPeG+EATad1xJUH1JL6JN5kO8D7jUHPwKHzNgo0pBbmoeqQ/qIZrgj8TbjDtshcsjHJ8xAcBHGX2dQrBniqsRLEeVw2VXlMKLixTJQO4+CL3o7M/Bsygzm7Z6TwfqEDUMVKegxnTZU5HPNaFSUXjz6kSOJKH\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"6d4ed7c2c8714b8986911b86e7f1d248\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRNek5UVTNORFl3UmtNdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1674", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9255e41b-0a82-4b2b-9021-298e4b286099" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert185371a9db5", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert185371a9db5", + "x5t": "dd8FeDeBdhj9q-_G0hs0sgM_7m0", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert57505e80d81", + "deletedDate": 1681267918, + "scheduledPurgeDate": 1681872718, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert57505e80d81", + "x5t": "Q_I7ag7dGaGJTbSAXYiZes7uYJw", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert88327ed6554", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert88327ed6554", + "x5t": "r4xVzbOiPPkGY5mmS3N6i9I-1dE", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNd01EZ3pPVGN5UXpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert08269f4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1229", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0b57b7d0-81aa-4b5c-b984-39be97fe4d63", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHlX3v+WwKTAiamQdTlnYvnXEk0pHo/tlksImUTNRMocRWVWHvyIYLQ9AUsozxBDKjPYGMuwQIZzbyetGal9ilFqg5dwTKeDHEtH9MD9foW6qOSQqI3vzDgACrXfm2n4gWUXj5Pj0r4zZ3r4dg7Zwq3IFmuijdYaTzl8PPUZMia9QWn+3ZmilLIHp1YWtY6uBEcBwyM6GnAw+UUUFN/BIBobwLU+M5HW5uGdjtobS871geSUuYXnjpxo9B/gHBjlIOlARjulwxS0Me9xP7Mz/aHsrFH9mr+zQW/XBbZ1dvAVZ6CxRvWJnuo+at0v+yTxO7vnkuaiidXaraHSMoRZhkCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS1F4GGvGL50FBpgcNqeg39cPgvIkz7PFq4VuySDkdm1PQmydUP6s2t+1mKLNqVbBfMx9MipgbC2S83AermpOHAL07KouyvJqlJQYDZr7lCR4p6PCN8SJ3Uw/2XsugeebP7nt2joBN3VrPHUJlyPjrqTmowQOpVB7mRZjauM8zyRlvH1xuY4VqnDPKZPeG+EATad1xJUH1JL6JN5kO8D7jUHPwKHzNgo0pBbmoeqQ/qIZrgj8TbjDtshcsjHJ8xAcBHGX2dQrBniqsRLEeVw2VXlMKLixTJQO4+CL3o7M/Bsygzm7Z6TwfqEDUMVKegxnTZU5HPNaFSUXjz6kSOJKH\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4\",\"request_id\":\"6d4ed7c2c8714b8986911b86e7f1d248\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert1451781?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cdea6e73-53ac-491f-b0c5-b218fcd80bcd", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert1451781\",\"deletedDate\":1678954226,\"scheduledPurgeDate\":1679559026,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"x5t\":\"L3tYLdjYvu5awEXLNqueofmhbZA\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQF0PRlq8sQaWu50TZfkdyGjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA4MDAyMloXDTI0MDMxNjA4MTAyMlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOl9o9Je7oxwV5AcSk4awu7Mk4jSKcMdu4DBq19+jz0yuPGGPehvuF0OZyT5t/PznBCy2GH8jJSdB6K8lNHn88rklmKBVr3nEW04NiaxdS5XtR43VjAf2j3k57QjJCYVH1lbK/kgVpYol+1qJIk+LRTYSiGNXbklJjyvyDRQRJ9caP+NHTYpImAyIuURSO9cToLs0B+7XPLmb/QsXOL4QvLCg1u+EfHXBx9Pos+R8SZHsENSdNd3ybgcbAyRNLR5kbvPXoSCnnU3yNxFvg3l9vDFGrAGxT7LeieBTtbnnW/8qpP2ghpiTHsGuhZ+ZwsNht3igNYhubgbLhE3rB/d6w0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMPi3VhZsQESVLacK4N80Lfqi88EMB0GA1UdDgQWBBTD4t1YWbEBElS2nCuDfNC36ovPBDANBgkqhkiG9w0BAQsFAAOCAQEAULfvkwRx0E24cCO9tAzD/9YnI8DVmpXVZthtF0PB4WWlWM6JZr61qeu2oeRdRQ1V6PRJgv+9/hh0tnFP4xA5isqH2GODIoLsxVXz61iiekS/6k2i1zA+XJIz87VtbGPmRCpX1reWrW+UE2GxA6LY0aUY6eguiUKWOBeVQuQ0iXJvDOLK/TUTjVMn02c8Hrz1h8O+DqtPTPT+m/282BatLa33Qt2navcJ3BS03AftrbWZ5rhEi7b0SiuYZjBMk1wzH8NzGBGgkB7OHTWh6ext2BI1eNhxpBIfbPgs/47Gnr3gLVyMLnRykwEW4amYnyMmeZnR/FlBISqkPazIj2ZK0w==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953622,\"exp\":1710576622,\"created\":1678954222,\"updated\":1678954222,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954222,\"updated\":1678954222}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert1451781?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0e51daf0-dcfc-4324-be6e-d366ce089a2e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert1451781\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert1451781?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "43042462-dd5d-4a94-9462-73376be54f06", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert1451781\",\"deletedDate\":1678954226,\"scheduledPurgeDate\":1679559026,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert1451781/28535401ab594e23abb39ba516e3ec7a\",\"x5t\":\"L3tYLdjYvu5awEXLNqueofmhbZA\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQF0PRlq8sQaWu50TZfkdyGjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA4MDAyMloXDTI0MDMxNjA4MTAyMlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOl9o9Je7oxwV5AcSk4awu7Mk4jSKcMdu4DBq19+jz0yuPGGPehvuF0OZyT5t/PznBCy2GH8jJSdB6K8lNHn88rklmKBVr3nEW04NiaxdS5XtR43VjAf2j3k57QjJCYVH1lbK/kgVpYol+1qJIk+LRTYSiGNXbklJjyvyDRQRJ9caP+NHTYpImAyIuURSO9cToLs0B+7XPLmb/QsXOL4QvLCg1u+EfHXBx9Pos+R8SZHsENSdNd3ybgcbAyRNLR5kbvPXoSCnnU3yNxFvg3l9vDFGrAGxT7LeieBTtbnnW/8qpP2ghpiTHsGuhZ+ZwsNht3igNYhubgbLhE3rB/d6w0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMPi3VhZsQESVLacK4N80Lfqi88EMB0GA1UdDgQWBBTD4t1YWbEBElS2nCuDfNC36ovPBDANBgkqhkiG9w0BAQsFAAOCAQEAULfvkwRx0E24cCO9tAzD/9YnI8DVmpXVZthtF0PB4WWlWM6JZr61qeu2oeRdRQ1V6PRJgv+9/hh0tnFP4xA5isqH2GODIoLsxVXz61iiekS/6k2i1zA+XJIz87VtbGPmRCpX1reWrW+UE2GxA6LY0aUY6eguiUKWOBeVQuQ0iXJvDOLK/TUTjVMn02c8Hrz1h8O+DqtPTPT+m/282BatLa33Qt2navcJ3BS03AftrbWZ5rhEi7b0SiuYZjBMk1wzH8NzGBGgkB7OHTWh6ext2BI1eNhxpBIfbPgs/47Gnr3gLVyMLnRykwEW4amYnyMmeZnR/FlBISqkPazIj2ZK0w==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953622,\"exp\":1710576622,\"created\":1678954222,\"updated\":1678954222,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954222,\"updated\":1678954222}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert4924651?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "807075c3-8cd0-4e29-bfae-5fcbb010564c", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert4924651\",\"deletedDate\":1678954227,\"scheduledPurgeDate\":1679559027,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"x5t\":\"veTy4E2xxek3QRDuDsGv3hEOUzo\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQKtPgnzOnR5aXZcy+TFHkTDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTk0NVoXDTI0MDMxNjA4MDk0NVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMO9v7MuKR3HOFQUjKMlX7PqEfFJMB0GA1UdDgQWBBTDvb+zLikdxzhUFIyjJV+z6hHxSTANBgkqhkiG9w0BAQsFAAOCAQEANkSPUDzZa3cVuxWxlrz6oVK0+3X7AxmB40rkCSZVGOC79VWoE44XpYn+joSHIh2nrsEJND976MH8uJeMtYsDj9azCWFazXVRGHJQQi8c0QfoIgXowsuBQbYN3V9LYSU4Q9sPrScpd3NTPpLOdTntzYBh83WaJNZfNekKtTf67lv5Yq50ycAJ0YrLDIrEWhe4fzVaihDYOaUtqK9QxueHGsDXgee8jfcH9nGCRsa4rsCWyh6Hws1D4FvA7/8Nw2QWcgmNvtavn6I1K2+t8SY/yMImcmPBPZs4Neo9vVznNjuji9iyiKzNC5HrvsRQKDTVQ31oua27d/u3+JpQx+eSgQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954184,\"updated\":1678954184}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert4924651?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b4ad29dd-70c7-4071-b857-9d829b6f60d8", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert4924651\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert4924651?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "73a9c7ee-b68d-421a-b9d8-a448b5e55d32", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert4924651\",\"deletedDate\":1678954227,\"scheduledPurgeDate\":1679559027,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert4924651/914753c34b234705811c5aa930f3daa8\",\"x5t\":\"veTy4E2xxek3QRDuDsGv3hEOUzo\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQKtPgnzOnR5aXZcy+TFHkTDANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTk0NVoXDTI0MDMxNjA4MDk0NVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYTb3E1dUuURsEOD1q4E+iuY8tgv+YO8nxAoMQEB7xl4JqQudooJq/tvZ80foBGZPC1KCM9FHH6VatL9YxP59gQY0RMzktVm3aOGAiIypUp5w4yQd+btpq/7ugnXwyKv03VfT3i2Nj+K8nFhW5nY8u1l7/Bkn9/3jP0XxCiE8VbUfQtygJik9XUim7xNpBixLI6aRKVjLmSXlxU5wKUv3TfVnIq3ONqwGChcJR1RsvxggzzomdJYA2NWXsi6oZYw/IFsS+66IwbTu8L8puzUm74CyjgBhLVE1eMAG+jy17/fBpge6qJ4gL6j+ixhPLuZ58X+brbriGrSE659kYviFUCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFMO9v7MuKR3HOFQUjKMlX7PqEfFJMB0GA1UdDgQWBBTDvb+zLikdxzhUFIyjJV+z6hHxSTANBgkqhkiG9w0BAQsFAAOCAQEANkSPUDzZa3cVuxWxlrz6oVK0+3X7AxmB40rkCSZVGOC79VWoE44XpYn+joSHIh2nrsEJND976MH8uJeMtYsDj9azCWFazXVRGHJQQi8c0QfoIgXowsuBQbYN3V9LYSU4Q9sPrScpd3NTPpLOdTntzYBh83WaJNZfNekKtTf67lv5Yq50ycAJ0YrLDIrEWhe4fzVaihDYOaUtqK9QxueHGsDXgee8jfcH9nGCRsa4rsCWyh6Hws1D4FvA7/8Nw2QWcgmNvtavn6I1K2+t8SY/yMImcmPBPZs4Neo9vVznNjuji9iyiKzNC5HrvsRQKDTVQ31oua27d/u3+JpQx+eSgQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954184,\"updated\":1678954184}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listdeletedcert08269f4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3740dd89-43f8-4d8a-a9c5-59f027a211d3", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert08269f4\",\"deletedDate\":1678954228,\"scheduledPurgeDate\":1679559028,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/7b57ebde7af54177b21ba977cd53aead\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert08269f4/7b57ebde7af54177b21ba977cd53aead\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedc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AdeL01ix+WkDJzZe4VQtF55zHAUY4G/edUdK9AYE5/TTnWt5zfIkcooX0B6iwKJHY9kZmJt+zSrEt2Bx73fpBXqLsYcMAIa+l4yav4XLw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953624,\"exp\":1710576624,\"created\":1678954225,\"updated\":1678954225,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954223,\"updated\":1678954223}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert08269f4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "01f32cdc-5166-4bcd-8835-cd33e084a1e4", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert08269f4\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert08269f4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "76c65c5f-a2a5-49d2-bac7-0a9e031603b8", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listdeletedcert08269f4\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/listdeletedcert08269f4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2568", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0e703050-3568-4356-bb29-a038067d1fba", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert08269f4\",\"deletedDate\":1678954228,\"scheduledPurgeDate\":1679559028,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/7b57ebde7af54177b21ba977cd53aead\",\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert08269f4/7b57ebde7af54177b21ba977cd53aead\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/listdeletedcert08269f4/7b57ebde7af54177b21ba977cd53aead\",\"x5t\":\"fKFvGT_aJnLKsvicJpm3agBUW0E\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQD7+Lb4faRnySDZu40zz76jANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA4MDAyNFoXDTI0MDMxNjA4MTAyNFowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHlX3v+WwKTAiamQdTlnYvnXEk0pHo/tlksImUTNRMocRWVWHvyIYLQ9AUsozxBDKjPYGMuwQIZzbyetGal9ilFqg5dwTKeDHEtH9MD9foW6qOSQqI3vzDgACrXfm2n4gWUXj5Pj0r4zZ3r4dg7Zwq3IFmuijdYaTzl8PPUZMia9QWn+3ZmilLIHp1YWtY6uBEcBwyM6GnAw+UUUFN/BIBobwLU+M5HW5uGdjtobS871geSUuYXnjpxo9B/gHBjlIOlARjulwxS0Me9xP7Mz/aHsrFH9mr+zQW/XBbZ1dvAVZ6CxRvWJnuo+at0v+yTxO7vnkuaiidXaraHSMoRZhkCAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFAhJ4Uhz6WieH28o2UAL4VDwdn22MB0GA1UdDgQWBBQISeFIc+lonh9vKNlAC+FQ8HZ9tjANBgkqhkiG9w0BAQsFAAOCAQEAPw54tjo/MFeAp4SR/17EgSJUsjcFtyWbo1I6mSC933Ren0DVid7+qyqiIlAG+n52YAgVO17F0zFMO4t2ZQH0VsXORsBHINQpwUQ2JHZZqMpCqJB0DiSxM1s/b2IHVS69uNYVrLuUkCDA4qs47YcdBYs+xv3u+gNNrJhwpqSTAUN8iW75Gzo4bgQAwK25yek/UMAON4+1UfhK45+pNVrGg8wbsME1TahtpcF4UPk7LCiMmAdeL01ix+WkDJzZe4VQtF55zHAUY4G/edUdK9AYE5/TTnWt5zfIkcooX0B6iwKJHY9kZmJt+zSrEt2Bx73fpBXqLsYcMAIa+l4yav4XLw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953624,\"exp\":1710576624,\"created\":1678954225,\"updated\":1678954225,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954223,\"updated\":1678954223}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "799", - "x-ms-request-id" : "772d6789-85fa-43a9-b796-3e3824d8f8f9", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert01772a1\",\"deletedDate\":1678951693,\"scheduledPurgeDate\":1679556493,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert01772a1\",\"x5t\":\"XbOw-k6L-x5V531Oa4q6uU5nOG4\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "799", - "x-ms-request-id" : "1a2ffa21-e60c-4cd1-af3b-de39ca8046ec", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert01772a1\",\"deletedDate\":1678951693,\"scheduledPurgeDate\":1679556493,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert01772a1\",\"x5t\":\"XbOw-k6L-x5V531Oa4q6uU5nOG4\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:02 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5804", - "x-ms-request-id" : "5a775395-00cc-4e72-8f54-1a0a4eb27973", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert0371855\",\"deletedDate\":1678954173,\"scheduledPurgeDate\":1679558973,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert0371855\",\"x5t\":\"7lsjprR-ToXePp162SqLip4YxRE\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert08269f4\",\"deletedDate\":1678954228,\"scheduledPurgeDate\":1679559028,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert08269f4\",\"x5t\":\"fKFvGT_aJnLKsvicJpm3agBUW0E\",\"attributes\":{\"enabled\":true,\"nbf\":1678953624,\"exp\":1710576624,\"created\":1678954225,\"updated\":1678954225,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert1451781\",\"deletedDate\":1678954226,\"scheduledPurgeDate\":1679559026,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert1451781\",\"x5t\":\"L3tYLdjYvu5awEXLNqueofmhbZA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953622,\"exp\":1710576622,\"created\":1678954222,\"updated\":1678954222,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert18831f7\",\"deletedDate\":1678954171,\"scheduledPurgeDate\":1679558971,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert18831f7\",\"x5t\":\"wn_zVWaYTuneu0ZAPSIrRJujah8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert4924651\",\"deletedDate\":1678954227,\"scheduledPurgeDate\":1679559027,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert4924651\",\"x5t\":\"veTy4E2xxek3QRDuDsGv3hEOUzo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert494238e\",\"deletedDate\":1678951696,\"scheduledPurgeDate\":1679556496,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert494238e\",\"x5t\":\"gSlN7QkxqPKYyuaHCHWTjt6s2oE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951089,\"exp\":1710574089,\"created\":1678951689,\"updated\":1678951689,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert51963bf\",\"deletedDate\":1678954176,\"scheduledPurgeDate\":1679558976,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert51963bf\",\"x5t\":\"_MYpux4wGfyVhc04BXAAV3tssqU\",\"attributes\":{\"enabled\":true,\"nbf\":1678953570,\"exp\":1710576570,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert5630565\",\"deletedDate\":1678951679,\"scheduledPurgeDate\":1679556479,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert5630565\",\"x5t\":\"onyMdJHtObGnRO370SSTdmEjzwI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert57865e0\",\"deletedDate\":1678951695,\"scheduledPurgeDate\":1679556495,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert57865e0\",\"x5t\":\"OmWzNgzbilJayjTR-E4XN31zIoQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951092,\"exp\":1710574092,\"created\":1678951692,\"updated\":1678951692,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert6983003\",\"deletedDate\":1678951677,\"scheduledPurgeDate\":1679556477,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert6983003\",\"x5t\":\"KPkmlUvPw3d8iVeyfIQHOJi1cjU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951076,\"exp\":1710574076,\"created\":1678951676,\"updated\":1678951676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/listdeletedcert82883bf\",\"deletedDate\":1678951681,\"scheduledPurgeDate\":1679556481,\"id\":\"https://azsdktests.vault.azure.net/certificates/listdeletedcert82883bf\",\"x5t\":\"A5zv5t1npbV52sfIJvhwt94JnUU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert1040144e144\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1040144e144\",\"x5t\":\"8tSzb3gb3HGaP3PZRjyMPelpTKg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:02 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2588", - "x-ms-request-id" : "52ae6a56-0f30-4bac-88d3-29ffa766daf1", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert18963f6fb20\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18963f6fb20\",\"x5t\":\"UMLD48JJSY8e3euXtnQQNGFJPWo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert310473c68b3\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert310473c68b3\",\"x5t\":\"F95WIp9qUEd3CL2ZbSxmWj7nSOQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert36219fdacba\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert36219fdacba\",\"x5t\":\"ndfPFIUimrDFkadoxLebtDeZO_w\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert39450c6d5da\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert39450c6d5da\",\"x5t\":\"JG7OXErpFOYU0E1CI-8Z1g-dlvQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert42618b6e6be\",\"deletedDate\":1678951651,\"scheduledPurgeDate\":1679556451,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert42618b6e6be\",\"x5t\":\"mPr612XHOjR5yFSIH2cY86jKF7E\",\"attributes\":{\"enabled\":true,\"nbf\":1678951050,\"exp\":1742110050,\"created\":1678951650,\"updated\":1678951650,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZM056QTNNRUpCTVRFdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZM056QTNNRUpCTVRFdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "782", - "x-ms-request-id" : "a29173f2-38a9-410a-83b6-fdc1f2245635", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert630101e0f5b\",\"deletedDate\":1678954151,\"scheduledPurgeDate\":1679558951,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert630101e0f5b\",\"x5t\":\"0vyYRN8YXPDTgAegOD7wUmDv9JU\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1742112550,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT0RnME1qYzBNekF2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedcertificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT0RnME1qYzBNekF2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "477", - "x-ms-request-id" : "a04a2ca2-f464-4f34-9d4a-01e247b5b7f3", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert94279fce980\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert94279fce980\",\"x5t\":\"rIUA1kmA1gZDqD5UsuMGJbobYGY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listdeletedcert1451781", "listdeletedcert4924651", "listdeletedcert08269f4" ] + { + "RequestUri": "https://REDACTED/deletedcertificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNd01EZ3pPVGN5UXpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "473", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "333532f3-9e6f-4612-b46d-2a5a5365c97e" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert98024ec25bc", + "deletedDate": 1681267922, + "scheduledPurgeDate": 1681872722, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert98024ec25bc", + "x5t": "cm4qtLlbcd_EDcmagRBMC8pUcoI", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listdeletedcert1287187", + "1": "listdeletedcert7825076", + "2": "listdeletedcert959888c" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listPropertiesOfCertificates[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listPropertiesOfCertificates[1].json index 01ef410fa0948..a2533da451d7a 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listPropertiesOfCertificates[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.listPropertiesOfCertificates[1].json @@ -1,281 +1,1240 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey328368b40/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d9c7aa78-ad6c-4fac-b1d3-6849ddcaa5fa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "35d4ecc2-bad8-4820-95e4-8598bd5685fe", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMn1Q1BXQh+yOt7rD1tTgCZ2JkrVDm9E4F7/QS8YQjMi4AVGTP+IAD2nMtECPKssDj980WBk38c14CLu0YxmzPxh3qeYx5zFECWG8vuki7La8bEvilkC+VsrrAptca1bF2eY39gSzDjkyoA6tjx7lUbkNVQbuKoHQcUNaZizFojyTQ71dvfR1K5QDm77yxrVfXHz6pZJ5kZe/WQUnaQOZDYY2r1rXlmz/ogKqP7yVlQGsSRm/QNmEU1v+mnACEhRctxwvsJEPeZglPN32mtcQ5uyiKwrf2xiIQ/NXgh22LL/hW9XT7g29xeN5lWGi1IoStMUjB3BCZK8WdJo+mm+vYECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKAW4t2JIDfUPVlsQDsh/15dlp3ybsEOZrW31M9K+I92xzV+LPbwuRtFW849Lmveniy5vW8kYLgBv8Z4PbHHisH1rP8NY1iltpdVchVaoeA0B9vqxniuz1PyHbuBgOVzVPeX8N8WOWgslNfhryAnh4mHENG3rwsZzx9dY7J9bhmaO3ZeFxkW41CH2atgeXmHlK9x9k5JHt0fVdtBxPl/9NRjdVmmk0KrhR3eUsjA/pKv2+OyUfyPwAu87T+fM3MBHcmNTojy/JBDTUhuyxdTz465cIa2FG/y6bX9JyEjkhhZbVaAUgoQrPGdcpQDZEoU3K20yTyrYicqYn2jI7ZenF\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"cc17979704854c6ba1abf5f73c0ba919\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey328368b40/pending?api-version=7.4&request_id=cc17979704854c6ba1abf5f73c0ba919", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "99cae8e0-3b79-4e70-9978-842a6915c5b8" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey328368b40/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "225f2131-983a-46ad-baf0-271fceeee301" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "40f7d879-0d9d-4ce6-8413-65ef56114393", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMn1Q1BXQh+yOt7rD1tTgCZ2JkrVDm9E4F7/QS8YQjMi4AVGTP+IAD2nMtECPKssDj980WBk38c14CLu0YxmzPxh3qeYx5zFECWG8vuki7La8bEvilkC+VsrrAptca1bF2eY39gSzDjkyoA6tjx7lUbkNVQbuKoHQcUNaZizFojyTQ71dvfR1K5QDm77yxrVfXHz6pZJ5kZe/WQUnaQOZDYY2r1rXlmz/ogKqP7yVlQGsSRm/QNmEU1v+mnACEhRctxwvsJEPeZglPN32mtcQ5uyiKwrf2xiIQ/NXgh22LL/hW9XT7g29xeN5lWGi1IoStMUjB3BCZK8WdJo+mm+vYECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKAW4t2JIDfUPVlsQDsh/15dlp3ybsEOZrW31M9K+I92xzV+LPbwuRtFW849Lmveniy5vW8kYLgBv8Z4PbHHisH1rP8NY1iltpdVchVaoeA0B9vqxniuz1PyHbuBgOVzVPeX8N8WOWgslNfhryAnh4mHENG3rwsZzx9dY7J9bhmaO3ZeFxkW41CH2atgeXmHlK9x9k5JHt0fVdtBxPl/9NRjdVmmk0KrhR3eUsjA/pKv2+OyUfyPwAu87T+fM3MBHcmNTojy/JBDTUhuyxdTz465cIa2FG/y6bX9JyEjkhhZbVaAUgoQrPGdcpQDZEoU3K20yTyrYicqYn2jI7ZenF\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"cc17979704854c6ba1abf5f73c0ba919\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0/pending?api-version=7.4\u0026request_id=7a4567e5980748018171ed77b8c6d64a", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0d31bca5-bf18-4218-99d2-2e16dedd90f3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQlwBO7G1idd3wyPNMWJnNJE0rwJ8G1UpV6qKYGgnG4eiRrnH80iXh2qGYxzrJOh\u002BXhuIGbRxfRQ9KR9Olnqt8Qh4pggbi1hdPrbH\u002B69fzGwIXblLXUE/M2\u002B02uMrNCqMBvHy/aIM/IBnoF4dxlr6v6P8sj3wBttbN/KJ1kyTH2AwjM478yrJJSidCVsepGVjvBOxn2MMBz3zT2xd\u002BMWGFpMZhQxJqvC7Q8wKdQKDt\u002BxmElf1Z2yZxPXuZHNqjOkgIF1KMrpjjZ7fo/QNtQreTtK0RjoSW2MWuPQ/RKNdHg0MZvZMAEEnrOEh\u002BfbPvx8OwwMyqSCL64ITkkQM062AECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB3DCEuCXCsvriPsJRhR2q06FpDEAhdWI9dT62lUFg6Tr6aZux\u002BSTS0pGi34sNhwdWF3sZ0RB06jmz17sSahRdI9qUBCo/ktBWvk7T1Xp7GDRNpfkz8XKiDBZ3JOgozncMs2thO8VGoNnrjKfPgoY0AkorDN0ABTwub/5H0573UXVjchKv8M/ORZxCy1Ew1WJN6L4s0uqFRt1aYpzWVW3hmnqs5453pIOiZW0vML7fncbg7WyNP7bYMw\u002BtIS3Vyo0Avj0iFkeDmrksm568qzOLOHjD3GDfWTNxXSX9ocV9dWMcgYtfFw/LILTgHvJD0\u002B92eFKBlcChLDp4/0ny/ZTzq", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a4567e5980748018171ed77b8c6d64a" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey328368b40/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0d5a659c-c1ba-4e0a-b9f7-4d3885849ea7" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQlwBO7G1idd3wyPNMWJnNJE0rwJ8G1UpV6qKYGgnG4eiRrnH80iXh2qGYxzrJOh\u002BXhuIGbRxfRQ9KR9Olnqt8Qh4pggbi1hdPrbH\u002B69fzGwIXblLXUE/M2\u002B02uMrNCqMBvHy/aIM/IBnoF4dxlr6v6P8sj3wBttbN/KJ1kyTH2AwjM478yrJJSidCVsepGVjvBOxn2MMBz3zT2xd\u002BMWGFpMZhQxJqvC7Q8wKdQKDt\u002BxmElf1Z2yZxPXuZHNqjOkgIF1KMrpjjZ7fo/QNtQreTtK0RjoSW2MWuPQ/RKNdHg0MZvZMAEEnrOEh\u002BfbPvx8OwwMyqSCL64ITkkQM062AECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB3DCEuCXCsvriPsJRhR2q06FpDEAhdWI9dT62lUFg6Tr6aZux\u002BSTS0pGi34sNhwdWF3sZ0RB06jmz17sSahRdI9qUBCo/ktBWvk7T1Xp7GDRNpfkz8XKiDBZ3JOgozncMs2thO8VGoNnrjKfPgoY0AkorDN0ABTwub/5H0573UXVjchKv8M/ORZxCy1Ew1WJN6L4s0uqFRt1aYpzWVW3hmnqs5453pIOiZW0vML7fncbg7WyNP7bYMw\u002BtIS3Vyo0Avj0iFkeDmrksm568qzOLOHjD3GDfWTNxXSX9ocV9dWMcgYtfFw/LILTgHvJD0\u002B92eFKBlcChLDp4/0ny/ZTzq", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a4567e5980748018171ed77b8c6d64a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "585464ab-ebf1-4a20-b15a-50b791bcc343", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMn1Q1BXQh+yOt7rD1tTgCZ2JkrVDm9E4F7/QS8YQjMi4AVGTP+IAD2nMtECPKssDj980WBk38c14CLu0YxmzPxh3qeYx5zFECWG8vuki7La8bEvilkC+VsrrAptca1bF2eY39gSzDjkyoA6tjx7lUbkNVQbuKoHQcUNaZizFojyTQ71dvfR1K5QDm77yxrVfXHz6pZJ5kZe/WQUnaQOZDYY2r1rXlmz/ogKqP7yVlQGsSRm/QNmEU1v+mnACEhRctxwvsJEPeZglPN32mtcQ5uyiKwrf2xiIQ/NXgh22LL/hW9XT7g29xeN5lWGi1IoStMUjB3BCZK8WdJo+mm+vYECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBKAW4t2JIDfUPVlsQDsh/15dlp3ybsEOZrW31M9K+I92xzV+LPbwuRtFW849Lmveniy5vW8kYLgBv8Z4PbHHisH1rP8NY1iltpdVchVaoeA0B9vqxniuz1PyHbuBgOVzVPeX8N8WOWgslNfhryAnh4mHENG3rwsZzx9dY7J9bhmaO3ZeFxkW41CH2atgeXmHlK9x9k5JHt0fVdtBxPl/9NRjdVmmk0KrhR3eUsjA/pKv2+OyUfyPwAu87T+fM3MBHcmNTojy/JBDTUhuyxdTz465cIa2FG/y6bX9JyEjkhhZbVaAUgoQrPGdcpQDZEoU3K20yTyrYicqYn2jI7ZenF\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40\",\"request_id\":\"cc17979704854c6ba1abf5f73c0ba919\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "985dfb92-4fea-43de-a143-283a83db4755" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQlwBO7G1idd3wyPNMWJnNJE0rwJ8G1UpV6qKYGgnG4eiRrnH80iXh2qGYxzrJOh\u002BXhuIGbRxfRQ9KR9Olnqt8Qh4pggbi1hdPrbH\u002B69fzGwIXblLXUE/M2\u002B02uMrNCqMBvHy/aIM/IBnoF4dxlr6v6P8sj3wBttbN/KJ1kyTH2AwjM478yrJJSidCVsepGVjvBOxn2MMBz3zT2xd\u002BMWGFpMZhQxJqvC7Q8wKdQKDt\u002BxmElf1Z2yZxPXuZHNqjOkgIF1KMrpjjZ7fo/QNtQreTtK0RjoSW2MWuPQ/RKNdHg0MZvZMAEEnrOEh\u002BfbPvx8OwwMyqSCL64ITkkQM062AECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB3DCEuCXCsvriPsJRhR2q06FpDEAhdWI9dT62lUFg6Tr6aZux\u002BSTS0pGi34sNhwdWF3sZ0RB06jmz17sSahRdI9qUBCo/ktBWvk7T1Xp7GDRNpfkz8XKiDBZ3JOgozncMs2thO8VGoNnrjKfPgoY0AkorDN0ABTwub/5H0573UXVjchKv8M/ORZxCy1Ew1WJN6L4s0uqFRt1aYpzWVW3hmnqs5453pIOiZW0vML7fncbg7WyNP7bYMw\u002BtIS3Vyo0Avj0iFkeDmrksm568qzOLOHjD3GDfWTNxXSX9ocV9dWMcgYtfFw/LILTgHvJD0\u002B92eFKBlcChLDp4/0ny/ZTzq", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7a4567e5980748018171ed77b8c6d64a" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey62928cdfc/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey1765847e0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d926922d-3a6e-407c-80a2-4e02d8eef58c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQlwBO7G1idd3wyPNMWJnNJE0rwJ8G1UpV6qKYGgnG4eiRrnH80iXh2qGYxzrJOh\u002BXhuIGbRxfRQ9KR9Olnqt8Qh4pggbi1hdPrbH\u002B69fzGwIXblLXUE/M2\u002B02uMrNCqMBvHy/aIM/IBnoF4dxlr6v6P8sj3wBttbN/KJ1kyTH2AwjM478yrJJSidCVsepGVjvBOxn2MMBz3zT2xd\u002BMWGFpMZhQxJqvC7Q8wKdQKDt\u002BxmElf1Z2yZxPXuZHNqjOkgIF1KMrpjjZ7fo/QNtQreTtK0RjoSW2MWuPQ/RKNdHg0MZvZMAEEnrOEh\u002BfbPvx8OwwMyqSCL64ITkkQM062AECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQB3DCEuCXCsvriPsJRhR2q06FpDEAhdWI9dT62lUFg6Tr6aZux\u002BSTS0pGi34sNhwdWF3sZ0RB06jmz17sSahRdI9qUBCo/ktBWvk7T1Xp7GDRNpfkz8XKiDBZ3JOgozncMs2thO8VGoNnrjKfPgoY0AkorDN0ABTwub/5H0573UXVjchKv8M/ORZxCy1Ew1WJN6L4s0uqFRt1aYpzWVW3hmnqs5453pIOiZW0vML7fncbg7WyNP7bYMw\u002BtIS3Vyo0Avj0iFkeDmrksm568qzOLOHjD3GDfWTNxXSX9ocV9dWMcgYtfFw/LILTgHvJD0\u002B92eFKBlcChLDp4/0ny/ZTzq", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0", + "request_id": "7a4567e5980748018171ed77b8c6d64a" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "27794cc7-4001-498a-a038-70ccb714dc96", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM97iYCd3FBVMXfXAqeVyXgl/f97x0uBdS/aXHvF5JXBOPA76/KnFFP6DgX8qBCr2G6BBJsX9E+ZskaUO0TF9M+czdb5lmNae5VniG1Pfx4prEaxnbDkTbpf8b4/xjK69dq/PxRhqFSJUu8uZvNS6oE7Hfdnfn4p8dnBJjzJ/8MiVhEyD7m1XoVB934eSqeXw6jh55oCUn+T5K8kvFm2XUUHSzOAuZ/SjegRWGwOufCZiQVbYldLrQUKZOPkkanudRZGgtDHsi0V/iQ1creWSfpkR0NP+AYpTzIM/uGseKf5Q90ddbQEMyyN8h5TV26QDN0IHbJAlQgcSN0JK5ZIbBUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCQ/p3mBAL9yIzJMiIiR9NeJZmTbSQRcASxMaBMCi3PwzBWVHVoyFeF9XL6cyQiuuIhDyEJYDdksqtcwMfXqCnzRKDKvR4/PqHBi+nQn9hzG5qHPny8qnVyO/NswtE6VMqu59pZ3APtM6c43KVK4BYZUyW1ZnUyXRmqVCAmUdB8kmVmJh3QeviAEe8EHH+wJDvy31u/EqrpSxnMOu38n5xnD5DebSW/P8nHCQHhV06GqKGBmZGkGmdR/y6k+LB8aInrzzK0cLU12GkKC/PpXtkKmITzXcOJJGPrczge67PbCK8v7r13sh7BhlMZxahasurlnU6c0PfhH3CfIsMdTscU\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"2678d1d2b1d54788b520100a3c60ce9a\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc/pending?api-version=7.4&request_id=2678d1d2b1d54788b520100a3c60ce9a", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c1b0bc07-0fee-4e6d-8ea8-9f7f6ed28db0" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey62928cdfc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "64b23626-dcb6-4e43-a036-df7a0d4be0ef" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ddea90b6-d2cc-473d-82c3-c7a4e9d8452b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM97iYCd3FBVMXfXAqeVyXgl/f97x0uBdS/aXHvF5JXBOPA76/KnFFP6DgX8qBCr2G6BBJsX9E+ZskaUO0TF9M+czdb5lmNae5VniG1Pfx4prEaxnbDkTbpf8b4/xjK69dq/PxRhqFSJUu8uZvNS6oE7Hfdnfn4p8dnBJjzJ/8MiVhEyD7m1XoVB934eSqeXw6jh55oCUn+T5K8kvFm2XUUHSzOAuZ/SjegRWGwOufCZiQVbYldLrQUKZOPkkanudRZGgtDHsi0V/iQ1creWSfpkR0NP+AYpTzIM/uGseKf5Q90ddbQEMyyN8h5TV26QDN0IHbJAlQgcSN0JK5ZIbBUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCQ/p3mBAL9yIzJMiIiR9NeJZmTbSQRcASxMaBMCi3PwzBWVHVoyFeF9XL6cyQiuuIhDyEJYDdksqtcwMfXqCnzRKDKvR4/PqHBi+nQn9hzG5qHPny8qnVyO/NswtE6VMqu59pZ3APtM6c43KVK4BYZUyW1ZnUyXRmqVCAmUdB8kmVmJh3QeviAEe8EHH+wJDvy31u/EqrpSxnMOu38n5xnD5DebSW/P8nHCQHhV06GqKGBmZGkGmdR/y6k+LB8aInrzzK0cLU12GkKC/PpXtkKmITzXcOJJGPrczge67PbCK8v7r13sh7BhlMZxahasurlnU6c0PfhH3CfIsMdTscU\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"2678d1d2b1d54788b520100a3c60ce9a\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "33ae2b17-7221-458d-b352-e9448e0289ac" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/listcertkey62928cdfc/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "152", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:30 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0/pending?api-version=7.4\u0026request_id=7bcdf381d6a042ddb47d36de07279193", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "732e96a5-3567-426d-b053-30865e575cdc" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZxVM2cv9Gb64MzgfXnGnHOI0fyBx6N5D4SvJ\u002BXLvRgREXHUsl75VgyOh/gkMtm\u002BpLJ9DjUBA6Fd3\u002BTctUHn/LxTrx5hF/N4Jvk\u002BTOFrfPYEdJFC5kjhVw1G2350uKD2/QQPDHN7gVU\u002BuWaIuzNPY4crm1ayYLyz7lqBp6B9hQFWahVBuBOPRv8ldyfqxTuFzC77Hwr1PMcj5NN/C8BA2ABzzen5ZjTiiWAbj9DDFv6sjovuapQ20S/Oe3wpEVKWrVEcFACYfMzoHPszvezajsBvVhsu3TGPJm16BlhXMwKBQxmpKR\u002BzUf60No5ZI0PpVnoOKMZXUImjWHdwKJvZ7UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAUJiaq9HaY4jDwFITDBjY9drKFWRMfF1ebT27jHxnVuaQ2lhHQo1ZFn4LH02DS8OsQkq33xAdQOuvgyzIWaArnbI5/TKiBswrmW\u002BchI81sT73XDavriOjE67/boBegRZusCS1IrbejRXbybHgAMZZ\u002BE1rzH0/bLwkAQkOZ43UkMzPYRSU\u002Bhw2KFhFFDVwWZSupVV7ltRmjIhzHqqjK5kASAF5YZHXCJoWF6DgHn9skyGkQ5ZZY4Q1dF45rfoo0s2H2kxVEwFPsqAZsvSlrgT1aprtXanvyMS\u002BDAGsnuYzRj/Ca4uQWhkOlJJKP\u002Bj7ZttpfdXT4W1igsSxcjDSzELiZ", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7bcdf381d6a042ddb47d36de07279193" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1225", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d34630de-c7b2-4a2a-85fc-f45f74603f56", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM97iYCd3FBVMXfXAqeVyXgl/f97x0uBdS/aXHvF5JXBOPA76/KnFFP6DgX8qBCr2G6BBJsX9E+ZskaUO0TF9M+czdb5lmNae5VniG1Pfx4prEaxnbDkTbpf8b4/xjK69dq/PxRhqFSJUu8uZvNS6oE7Hfdnfn4p8dnBJjzJ/8MiVhEyD7m1XoVB934eSqeXw6jh55oCUn+T5K8kvFm2XUUHSzOAuZ/SjegRWGwOufCZiQVbYldLrQUKZOPkkanudRZGgtDHsi0V/iQ1creWSfpkR0NP+AYpTzIM/uGseKf5Q90ddbQEMyyN8h5TV26QDN0IHbJAlQgcSN0JK5ZIbBUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCQ/p3mBAL9yIzJMiIiR9NeJZmTbSQRcASxMaBMCi3PwzBWVHVoyFeF9XL6cyQiuuIhDyEJYDdksqtcwMfXqCnzRKDKvR4/PqHBi+nQn9hzG5qHPny8qnVyO/NswtE6VMqu59pZ3APtM6c43KVK4BYZUyW1ZnUyXRmqVCAmUdB8kmVmJh3QeviAEe8EHH+wJDvy31u/EqrpSxnMOu38n5xnD5DebSW/P8nHCQHhV06GqKGBmZGkGmdR/y6k+LB8aInrzzK0cLU12GkKC/PpXtkKmITzXcOJJGPrczge67PbCK8v7r13sh7BhlMZxahasurlnU6c0PfhH3CfIsMdTscU\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc\",\"request_id\":\"2678d1d2b1d54788b520100a3c60ce9a\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f1bf3940-ca6b-49b4-8e0d-dbfc8bc9b636" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZxVM2cv9Gb64MzgfXnGnHOI0fyBx6N5D4SvJ\u002BXLvRgREXHUsl75VgyOh/gkMtm\u002BpLJ9DjUBA6Fd3\u002BTctUHn/LxTrx5hF/N4Jvk\u002BTOFrfPYEdJFC5kjhVw1G2350uKD2/QQPDHN7gVU\u002BuWaIuzNPY4crm1ayYLyz7lqBp6B9hQFWahVBuBOPRv8ldyfqxTuFzC77Hwr1PMcj5NN/C8BA2ABzzen5ZjTiiWAbj9DDFv6sjovuapQ20S/Oe3wpEVKWrVEcFACYfMzoHPszvezajsBvVhsu3TGPJm16BlhXMwKBQxmpKR\u002BzUf60No5ZI0PpVnoOKMZXUImjWHdwKJvZ7UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAUJiaq9HaY4jDwFITDBjY9drKFWRMfF1ebT27jHxnVuaQ2lhHQo1ZFn4LH02DS8OsQkq33xAdQOuvgyzIWaArnbI5/TKiBswrmW\u002BchI81sT73XDavriOjE67/boBegRZusCS1IrbejRXbybHgAMZZ\u002BE1rzH0/bLwkAQkOZ43UkMzPYRSU\u002Bhw2KFhFFDVwWZSupVV7ltRmjIhzHqqjK5kASAF5YZHXCJoWF6DgHn9skyGkQ5ZZY4Q1dF45rfoo0s2H2kxVEwFPsqAZsvSlrgT1aprtXanvyMS\u002BDAGsnuYzRj/Ca4uQWhkOlJJKP\u002Bj7ZttpfdXT4W1igsSxcjDSzELiZ", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "7bcdf381d6a042ddb47d36de07279193" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates?maxresults=25&includePending=false&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/listcertkey14364bdb0/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f1de1076-acfe-4ebe-91b5-bbfed7e9aed2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALZxVM2cv9Gb64MzgfXnGnHOI0fyBx6N5D4SvJ\u002BXLvRgREXHUsl75VgyOh/gkMtm\u002BpLJ9DjUBA6Fd3\u002BTctUHn/LxTrx5hF/N4Jvk\u002BTOFrfPYEdJFC5kjhVw1G2350uKD2/QQPDHN7gVU\u002BuWaIuzNPY4crm1ayYLyz7lqBp6B9hQFWahVBuBOPRv8ldyfqxTuFzC77Hwr1PMcj5NN/C8BA2ABzzen5ZjTiiWAbj9DDFv6sjovuapQ20S/Oe3wpEVKWrVEcFACYfMzoHPszvezajsBvVhsu3TGPJm16BlhXMwKBQxmpKR\u002BzUf60No5ZI0PpVnoOKMZXUImjWHdwKJvZ7UCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAUJiaq9HaY4jDwFITDBjY9drKFWRMfF1ebT27jHxnVuaQ2lhHQo1ZFn4LH02DS8OsQkq33xAdQOuvgyzIWaArnbI5/TKiBswrmW\u002BchI81sT73XDavriOjE67/boBegRZusCS1IrbejRXbybHgAMZZ\u002BE1rzH0/bLwkAQkOZ43UkMzPYRSU\u002Bhw2KFhFFDVwWZSupVV7ltRmjIhzHqqjK5kASAF5YZHXCJoWF6DgHn9skyGkQ5ZZY4Q1dF45rfoo0s2H2kxVEwFPsqAZsvSlrgT1aprtXanvyMS\u002BDAGsnuYzRj/Ca4uQWhkOlJJKP\u002Bj7ZttpfdXT4W1igsSxcjDSzELiZ", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0", + "request_id": "7bcdf381d6a042ddb47d36de07279193" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6276", - "x-ms-request-id" : "fa2d9620-22d6-44ea-98ec-98d31103b5bf", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem45586c37\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem70052b83\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem849004cb\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpem92624d14\",\"x5t\":\"FukEr19FKd5SGDH1Iv-3Tiec9-I\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs18458ce7\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954164,\"updated\":1678954164},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs27461b85\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs60786327\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/importcertpkcs75353a38\",\"x5t\":\"2xSXvCyCs2XFx8c_YRUT7hF3kKk\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664},\"tags\":{\"key\":\"val\"},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey020515346\",\"x5t\":\"ejfrKgF-VZlKskHpc-_BeR7Q5B0\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey140384932\",\"x5t\":\"avHXcDUhov15q9VG2gMEakhOktA\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey14728c014\",\"x5t\":\"HZGPq0QOCsfZ_WmhhdoSKgRAA0U\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey18827d6de\",\"x5t\":\"hqK5fhCHpz4yKQu2n28HiUX7AiA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey23688a6ba\",\"x5t\":\"WcMVkgQsEdveGdM4EcXHrPVF-kA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1710576560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey30234f065\",\"x5t\":\"cePzk1vgK3jocy_iR46TYlLix-k\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey328368b40\",\"x5t\":\"VRZnH7R1zQ1jGmsZ1OyS0i1poJY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey3491808e4\",\"x5t\":\"1DwOXqEst7Y14XXhJbcBhQKFEWQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey365168328\",\"x5t\":\"gAHKoe84oAIdtsGsYd874AvSP_Y\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey492960bb6\",\"x5t\":\"XhkDcU5rDk2_71Yl-Qu-pIlA7Q8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey628397873\",\"x5t\":\"fXKiQY2k449MPBH7pUf_mdcxUnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey62928cdfc\",\"x5t\":\"IT9aBpsVgg9Wrc5smwvV1dG8pP8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey683522e3c\",\"x5t\":\"9sH7UN7gBH3mUdarXxB-J6LA_qU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey7755247a7\",\"x5t\":\"MfsoELZfLDYBw8dZvnz2tTtXO6M\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey83973bcab\",\"x5t\":\"gr_j8MMnFPwZ_BJtvS92aa4Dfw8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954157,\"updated\":1678954157},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/listcertkey958720254\",\"x5t\":\"7P04miiKhhnbTByl4hy-DvsRf9I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates?maxresults=25\u0026includePending=false\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "4685", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bac50210-13d2-4e67-b842-4ac3009996e0" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem36190600", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpem88272c66", + "x5t": "FukEr19FKd5SGDH1Iv-3Tiec9-I", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs0802660b", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267922, + "updated": 1681267922 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/importcertpkcs72765dc3", + "x5t": "2xSXvCyCs2XFx8c_YRUT7hF3kKk", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917 + }, + "tags": { + "key": "val" + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey019934147", + "x5t": "8LAmk_UWI5Q2whl4hKn8ph3xD-I", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey14364bdb0", + "x5t": "9L53peCaG8jONHuVq9mAgQYhbZs", + "attributes": { + "enabled": true, + "nbf": 1681267351, + "exp": 1712890351, + "created": 1681267952, + "updated": 1681267952 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey1765847e0", + "x5t": "4wZWYAWPYXuxmlARhrWVX1q7d1Q", + "attributes": { + "enabled": true, + "nbf": 1681267331, + "exp": 1712890331, + "created": 1681267932, + "updated": 1681267932 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey28482fa02", + "x5t": "qgHNG0AAUyUa_1FcyN9K3c6a4Do", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey35523cfe7", + "x5t": "qXX0p1tt0REJbDBCVO-k7W9Mt08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey371743fe3", + "x5t": "wsawakXGb7qn9dgvemY8bHWyO6Y", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey53952219e", + "x5t": "VZnPEeEZoaELqi2D7HFDQNH3Hdw", + "attributes": { + "enabled": true, + "nbf": 1681267375, + "exp": 1712890375, + "created": 1681267975, + "updated": 1681267975 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/listcertkey73640952b", + "x5t": "EITCNfvPGXImmhsVyZmtbBp_y0M", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/myalias", + "x5t": "8z5vNk677FGkqcRg6lQyODOdiwc", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert01202f7c384", + "x5t": "1GGxAlnsHSR29xqi89t33Qvzo2c", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert04277a19e08", + "x5t": "DyUbMQUcONQLXu0Feixr6gY1uHU", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert074720dd4e5", + "x5t": "QcgxiKPCbrB2VTFwkF-icKQKjGk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert12248a9fc67", + "x5t": "xNs-jOe4rEURnudGfLnyPHcy-NY", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert133557460fc", + "x5t": "gDWghXWmU_2967VBmY1griWD0ls", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRNek5UVTNORFl3UmtNdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTYhTURBd01EUXhJV05sY25ScFptbGpZWFJsTDB4SlUxUkVSVXhGVkVWRVEwVlNWREF4TnpjeVFURXZVRTlNU1VOWklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRNek5UVTNORFl3UmtNdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5554", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c05c3af4-5268-4f77-a571-3c4c48a74407" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert15970ce7b3a", + "x5t": "RTg3ayHS2pAQ0IichADtQezB82Y", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert2087690df30", + "x5t": "eAEcQrp0Pza52PxnfwO22mP7mcc", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert231873819ea", + "x5t": "WRI-qRDK3V9xM11MKd-klCj98C8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert24189bd8691", + "x5t": "G9AC8vvVP6X60mG4bBGURyUbBk4", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert27446e8292d", + "x5t": "NSGYAPyW_cvQOWPWzcOVTKN_cA0", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25", + "x5t": "YqN1h7oMHc2vQ_a6vxM6bdU36Wk", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert4513181b", + "x5t": "ba6Nv3RsCtYvh4D3-48pp4gKhzQ", + "attributes": { + "enabled": true, + "nbf": 1681267357, + "exp": 1712890357, + "created": 1681267958, + "updated": 1681267958 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert52940cad", + "x5t": "wLp-LJn6S5fcikpsbLf-rPDP2KQ", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert62768ede0a9", + "x5t": "iwUGnokFBgVVoLjicfdH5ofw1-w", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert69778c99", + "x5t": "_kpN7t8cdFVp1XQB8ufpaErytPU", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert72950e838eb", + "x5t": "X_Pe2P0YWKvzMhWES0YBRfYnmbk", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert809045b9", + "x5t": "bJb0YhbyZ8CE1KfHbPV2z5RiFlE", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267962, + "updated": 1681267962 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert81371983686", + "x5t": "t0kq2x1JRsvQlJQfUFs2-ClNxOA", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert825805c9c5b", + "x5t": "-7UgEA9ScuFHJjOgYnrzOYH-7LA", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert85780271", + "x5t": "nfgFBy9lEBZ5lJFye63m8TSBFzY", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267922 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert879738c7", + "x5t": "qqTp5Bi1fHCjwlyychQuylf5PGM", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert915910eae03", + "x5t": "-Pj-CA1BPunQkf356ARnYDuBqe8", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92278d8e116", + "x5t": "SD6AmL6YJSJcLneUgerDz7EDrmg", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f", + "x5t": "TSCi97ZyUKHrF8xUzdCbzca2064", + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert930083972c7", + "x5t": "fQDn1P_LNd2gD6n_a6wFtKeL7iM", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918 + }, + "subject": "" + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNd01EZ3pPVGN5UXpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3196", - "x-ms-request-id" : "cf557148-0e17-4473-9907-a1d396f82ea4", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/myalias\",\"x5t\":\"wDCSFKAxoTm9grFzPgkhopDDlJc\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert0041741853c\",\"x5t\":\"BlwxGmfjBCNjx-sfMetJrCALT4M\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert041204c4\",\"x5t\":\"lsjJbwQT9HJ9sf4eCJJU8uY9iaw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953623,\"exp\":1710576623,\"created\":1678954223,\"updated\":1678954223},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05138d67\",\"x5t\":\"0SNobHiEQdsN0csu62e2FPqfn5U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert05372a8c3d9\",\"x5t\":\"Bq2EKqUV7yhWUWKcvUBbJb5_gxE\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert056438d4a20\",\"x5t\":\"ICx_qsQWj1GjeyPr1N3mIjcp-Ao\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1092295324b\",\"x5t\":\"E6WLFelB6Vg5-qD7WF5pAYbQz_0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert11947d21176\",\"x5t\":\"qUgetqoZArl33TEecmlYpIr8Prg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert127097d0dc8\",\"x5t\":\"dXVk70-6RCX7rQYbnv5AkS7FoLg\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850\",\"x5t\":\"Eg-0L9EaxUq18cir7rxYtNsizu4\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert14089566\",\"x5t\":\"CpSpbJHSGlBYOtl-rD4i5cQkTxA\",\"attributes\":{\"enabled\":true,\"nbf\":1678953625,\"exp\":1710576625,\"created\":1678954225,\"updated\":1678954225},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert18236eadc35\",\"x5t\":\"JqechkEBzXbUg6c5E1VS9oWPeMI\",\"attributes\":{\"enabled\":true,\"nbf\":1678953566,\"exp\":1742112566,\"created\":1678954166,\"updated\":1678954166},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTVRneU16WkZRVVJETXpVdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4880", - "x-ms-request-id" : "79cd8c18-e1a6-4048-b131-dce7c9602e2b", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert20887903436\",\"x5t\":\"qXGr05lHeSSbDB7K7lPuJuoMdc4\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert21172984d93\",\"x5t\":\"uDxW7qERozqvEBZNicKFI6lwIys\",\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert217038c9\",\"x5t\":\"H8yzr_Sz3M_jItdsEHmh9jxVD98\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954163},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert224271757ba\",\"x5t\":\"Qh22tMuNVhrt_NKbcCtzTESO33s\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert26201762259\",\"x5t\":\"itApNub45W58UvI_fuG7TKWZDwU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27558598b2c\",\"x5t\":\"mX2a3otTr9sZlQS_wH7nBn0ziYs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert27808513219\",\"x5t\":\"MQ1fqHABOz6nDRxB-HNaha_jrzE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert2853856e897\",\"x5t\":\"Jk4gujvIUxmvulgZ17B8bbv0Urs\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert30284660cd8\",\"x5t\":\"iotT1KbJ0_9ZQgXDtF6cU1Qn5EQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert324948604ee\",\"x5t\":\"OKdJx9sidjbhaHappYsbA-bPYjs\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert35510d74ced\",\"x5t\":\"mXFRphZcmhsmrIjVgI9vg_Xd-1Q\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1\",\"x5t\":\"zaGC8l_O8h6SCecBEIibPw2usx4\",\"attributes\":{\"enabled\":true,\"nbf\":1678953562,\"exp\":1742112562,\"created\":1678954162,\"updated\":1678954162},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert3990480f79a\",\"x5t\":\"5oA2b34eiQF-H907cTs_PUxFKUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert40147b09c3e\",\"x5t\":\"1i92wRpBy8kuwYJDTDlV5T7ReHw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert47882934afa\",\"x5t\":\"deyZLLtv-MveYf0_JYEAIACFLiE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert49907fe70ac\",\"x5t\":\"poYuYvv6BNUPJw5zWMaW4UeZSoc\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert510992ef0be\",\"x5t\":\"vvlEtHPeX_cUbDtpHNkiXQ06jrM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert56810496c6b\",\"x5t\":\"7-s5Fe6kI7bqvM7eWw-f22J2pwk\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZNE1UQTBPVFpETmtJdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVTlRZNE1UQTBPVFpETmtJdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5843", - "x-ms-request-id" : "09f4a4f2-2923-4009-ba9b-0e6af2c70d93", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert5757831c\",\"x5t\":\"OwBYBMp3wduHSbKu334v3hjsi08\",\"attributes\":{\"enabled\":true,\"nbf\":1678953583,\"exp\":1710576583,\"created\":1678954183,\"updated\":1678954183},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert58344de8f9e\",\"x5t\":\"C5aaQEdu2okZIaYWfYZVdP4QgJQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6210194afab\",\"x5t\":\"sqkD1d6Ld3VQ6CguPTvcdWzX71U\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert62702785964\",\"x5t\":\"8MceP-9eU9W7nhKmwDFce51dSRw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert6384478e5bf\",\"x5t\":\"ss10YAsLILfVVJTwuotinCYUJak\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert661444e3f00\",\"x5t\":\"h-CJtnU02x2a7hsGM_ANDPJCoUo\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e\",\"x5t\":\"PvDom9rfiJ0_-rBzgfASNvY8e98\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954172},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert708698d2\",\"x5t\":\"hw5_szQZniSK25bwGWHAE4j1x_s\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert721471bd873\",\"x5t\":\"yAF6k-sNUpn1rUxjTgGZqCsJ4g8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72180ce45d5\",\"x5t\":\"tJRERVpJiQl09q59sp0Adgim-vQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert724831b1\",\"x5t\":\"opT8GylLzaWrQBBzlS6WNcOh-Rg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953579,\"exp\":1710576579,\"created\":1678954179,\"updated\":1678954179},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert72544647\",\"x5t\":\"kV9KJxfYzLX8kRCSGv_hZm0K69I\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7280530dd15\",\"x5t\":\"908QyOX0FNSnHzA25t7ahRHRGNU\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert742555f1\",\"x5t\":\"fFBc5osj_QfRgYzPcJ-wH2NWA4o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert748574fa31b\",\"x5t\":\"b8zbsTC2Qaw07Vgb0iutBXyzCqc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert7566770b7bb\",\"x5t\":\"igm09dwhwBc9PLW7eoBDyf8vsJM\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert81087515588\",\"x5t\":\"O7AQlPbPHRqGj97Ro2KHVdn_35A\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert82221cd67f8\",\"x5t\":\"s7vRlbUkLTmcGdZ4rBNAQ8eDDwQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert828338a2b01\",\"x5t\":\"e17ghrPfGm0zKPX6x5CsP097zuw\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert838336ea\",\"x5t\":\"tZY_jc2w5VtcHbANhCK3f0GD7fg\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert879909fb\",\"x5t\":\"F44INSxE5tBSPpvkNdksu-JuA1o\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert88427430\",\"x5t\":\"tzLxambFCsMKrVEEIweYgWAhwOo\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92201a19a66\",\"x5t\":\"rmmvC9DcPBeebHeCUxNn936VCRI\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667},\"subject\":\"\"}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RJeU1ERkJNVGxCTmpZdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/certificates?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RJeU1ERkJNVGxCTmpZdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2202", - "x-ms-request-id" : "d76aa007-6bf7-4150-a27f-03f21ecce1c8", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert92673e6be72\",\"x5t\":\"vU_Y0bK22LsQq-sk3JTUUeEbQJE\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert937620dadf7\",\"x5t\":\"11a7NiEVZc6m3qz-97VC3NuF_ow\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert98347e92\",\"x5t\":\"c7ZaY3_e582OE8ex4WMce-LtLIM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert9971873a\",\"x5t\":\"-nm9wRXB7Gdrz3Jb93i17glfdnY\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158},\"tags\":{},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion09939\",\"x5t\":\"faSSHl62NiDeLdiiFctYhoNEzZQ\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion17476\",\"x5t\":\"xWqq19FGToOZwlMUjNgPrY3HSIg\",\"attributes\":{\"enabled\":true,\"nbf\":1678953607,\"exp\":1710576607,\"created\":1678954207,\"updated\":1678954207},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion87704\",\"x5t\":\"Ef9hub8VN-I6G0EzohvknmVQPf8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171},\"subject\":\"\"},{\"id\":\"https://azsdktests.vault.azure.net/certificates/testlistcertversion88662\",\"x5t\":\"R3fkxrOa8nRuwCpSRVStvo8LzjM\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678},\"subject\":\"\"}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listcertkey328368b40", "listcertkey62928cdfc" ] + { + "RequestUri": "https://REDACTED/certificates?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMTIhTURBd01ETTRJV05sY25ScFptbGpZWFJsTDFSRlUxUkRSVkpVT1RNd01EZ3pPVGN5UXpjdlVFOU1TVU5aSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "992", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:54:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4a3c3df4-e977-42e7-a47d-3f6cf7f63539" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert992700fd", + "x5t": "Ysr6W2Vkn6CmSIykNStvVHju-qc", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267933 + }, + "tags": {}, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert99539ad0580", + "x5t": "VwdxGWZPYsHjMnuFct9J2stqNk4", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion89840", + "x5t": "FAxj2mhetyGu8xxtbJvjBizeubc", + "attributes": { + "enabled": true, + "nbf": 1681267366, + "exp": 1712890366, + "created": 1681267966, + "updated": 1681267966 + }, + "subject": "" + }, + { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testlistcertversion90972", + "x5t": "gvjVzC0XOt7S-Pi5363IBhKhsi8", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980 + }, + "subject": "" + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listcertkey1765847e0", + "1": "listcertkey14364bdb0" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.mergeCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.mergeCertificateNotFound[1].json index d45b854988565..6e4e00fd3fbc2 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.mergeCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.mergeCertificateNotFound[1].json @@ -1,29 +1,82 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert28718fed/pending/merge?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert21325f5e/pending/merge?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f5eceb1-2bed-421b-98de-92c0957267c9" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "107", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a7d3b212-c62c-4e9a-84b1-18ce6d8a20ce", - "Body" : "{\"error\":{\"code\":\"PendingCertificateNotFound\",\"message\":\"Pending Certificate not found: testcert28718fed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert28718fed" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/testcert21325f5e/pending/merge?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "51", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "x5c": [ + "dGVzdA==" + ], + "attributes": { + "enabled": false + } + }, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "107", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9a07c408-e6e1-49dc-9ef1-dcd8ec1f4853" + }, + "ResponseBody": { + "error": { + "code": "PendingCertificateNotFound", + "message": "Pending Certificate not found: testcert21325f5e" + } + } + } + ], + "Variables": { + "0": "testcert21325f5e" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificateNotFound[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificateNotFound[1].json index a6cad62846226..9fecde3237919 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificateNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificateNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6fa7cba0-3e0d-45aa-9ad6-307ef739fc5f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "324", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "85f7b910-e66e-48ff-a857-23f22db8de9f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedcertificates/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0584dc9-0562-4eab-989c-c7b5725c9006" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) non-existing was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificate[1].json index 4b7ea278f84da..15f98afc9ab4e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.recoverDeletedCertificate[1].json @@ -1,205 +1,752 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "06903e9b-9770-4116-816b-aaafce5c8593" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fabab946-e1dc-4b6a-aacb-0e96683b48ff", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE40MTIGjAx9B2k2g6shUfOc4lOfeDAWwVe4Ue6TM8GMc/prGhlpMGyDvkUOvoh+U70GMSHQljbTLBS01aPdvwezs33XX/avTZhv/AHEb8FdEmZifBW7kQVN8Vq5yNqLkxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwaSakUvv8C0vYQcN/odBvhZj9xGCf5d6MBDJADDBYP1duBPUWiQr3Taa4Pfoh4rVVAjAoDcFopkRfW4dDN9CwXpngq3/WKiuhg5Ek9WLVMW/gfQiY6B1aSqS4oNLVxRiiPM0=\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"23c7663935f740a2a29edc1735913290\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending?api-version=7.4&request_id=23c7663935f740a2a29edc1735913290", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4739a500-642b-4eaa-b89e-8f2b29e4655c" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending?api-version=7.4\u0026request_id=3a4abea77560463391d6cce1c127d97f", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "537532ef-992a-4a15-9206-3f3be6a17dd5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE01WRPsBwsS7Tx9htlm28QRzTuEuO0bx0u5NNp1GVeXyqvUjr8MziXKcmOwbxVjwmupEaZQ8JFTl9j7zGWtwbB1YnD4AzDrI/KbQsG7pglAWb4FunpCF4/zLiUegi4VSVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAIkSIVM8Qfq44DAWwM4wFLqlbz1x0Mjh/zB8DdSdeCf\u002BgcVQEd4r4W9iZ6Od7ihx1wIwabi9LRTAB7eHkCSCUzirL8C7ng0g99umbHbMj2JZHUUUrIjwO4qHqb/2yMWRQ8I5", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "3a4abea77560463391d6cce1c127d97f" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d9c64163-d222-4f84-aaf6-c4a93efa793f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVDCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE40MTIGjAx9B2k2g6shUfOc4lOfeDAWwVe4Ue6TM8GMc/prGhlpMGyDvkUOvoh+U70GMSHQljbTLBS01aPdvwezs33XX/avTZhv/AHEb8FdEmZifBW7kQVN8Vq5yNqLkxoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDZwAwZAIwaSakUvv8C0vYQcN/odBvhZj9xGCf5d6MBDJADDBYP1duBPUWiQr3Taa4Pfoh4rVVAjAoDcFopkRfW4dDN9CwXpngq3/WKiuhg5Ek9WLVMW/gfQiY6B1aSqS4oNLVxRiiPM0=\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce\",\"request_id\":\"23c7663935f740a2a29edc1735913290\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "efea4326-af89-43b1-bbe1-fd598e4b4d93" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE01WRPsBwsS7Tx9htlm28QRzTuEuO0bx0u5NNp1GVeXyqvUjr8MziXKcmOwbxVjwmupEaZQ8JFTl9j7zGWtwbB1YnD4AzDrI/KbQsG7pglAWb4FunpCF4/zLiUegi4VSVoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAIkSIVM8Qfq44DAWwM4wFLqlbz1x0Mjh/zB8DdSdeCf\u002BgcVQEd4r4W9iZ6Od7ihx1wIwabi9LRTAB7eHkCSCUzirL8C7ng0g99umbHbMj2JZHUUUrIjwO4qHqb/2yMWRQ8I5", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9", + "request_id": "3a4abea77560463391d6cce1c127d97f" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2208dca9-9f54-491d-a2d1-5f26e8d8935a" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "cer": "MIIB2zCCAWGgAwIBAgIQIqrwy16cT/\u002BcdHOYsyfnNjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNNVkT7AcLEu08fYbZZtvEEc07hLjtG8dLuTTadRlXl8qr1I6/DM4lynJjsG8VY8JrqRGmUPCRU5fY\u002B8xlrcGwdWJw\u002BAMw6yPym0LBu6YJQFm\u002BBbp6QheP8y4lHoIuFUlaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ5Z9n49T/iY3w8YSoPaJFo6Dj6qMB0GA1UdDgQWBBSeWfZ\u002BPU/4mN8PGEqD2iRaOg4\u002BqjAKBggqhkjOPQQDAwNoADBlAjAbCSwOnm2Nkysh110irjuRU5\u002BD437HOg7ZSw9tkFBu1s9oneZ2Qwy/Ep4r759uGYkCMQCaGwCCvS\u002B\u002BKOZrBPqcskD2JexK7qdfBlQYg8ahQLth4L1ElSbsMGzVP7FwEcDaUv4=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "abcded2c-a0f4-4e4d-b7b5-1a1578e39139", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQfbDxg2FYSTqRQ4pUdjiTYDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyN1oXDTI1MDMxNjA4MDkyN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABONDEyBowMfQdpNoOrIVHznOJTn3gwFsFXuFHukzPBjHP6axoZaTBsg75FDr6IflO9BjEh0JY20ywUtNWj3b8Hs7N911/2r02Yb/wBxG/BXRJmYnwVu5EFTfFaucjai5MaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO4gF0XSIGNrJWJ1mMwV9FN7qOWSMB0GA1UdDgQWBBTuIBdF0iBjayVidZjMFfRTe6jlkjAKBggqhkjOPQQDAwNnADBkAjBB3/8+GPqhsTg1PZS9Q3foJ8v3qelUpejPk8R+CJ10tyq191Eihf9AtlnDsBa+W+sCMA9/V7wYL3H0WJowaZBZQEKCjqw0p9gvWOVW5A5CVzfy6dbzRMbLFK9w3LYeV0zTzw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f853ac20-3f7b-425c-8ba2-8739d409a68d" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert8525661cae9", + "deletedDate": 1681267926, + "scheduledPurgeDate": 1681872726, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "cer": "MIIB2zCCAWGgAwIBAgIQIqrwy16cT/\u002BcdHOYsyfnNjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNNVkT7AcLEu08fYbZZtvEEc07hLjtG8dLuTTadRlXl8qr1I6/DM4lynJjsG8VY8JrqRGmUPCRU5fY\u002B8xlrcGwdWJw\u002BAMw6yPym0LBu6YJQFm\u002BBbp6QheP8y4lHoIuFUlaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ5Z9n49T/iY3w8YSoPaJFo6Dj6qMB0GA1UdDgQWBBSeWfZ\u002BPU/4mN8PGEqD2iRaOg4\u002BqjAKBggqhkjOPQQDAwNoADBlAjAbCSwOnm2Nkysh110irjuRU5\u002BD437HOg7ZSw9tkFBu1s9oneZ2Qwy/Ep4r759uGYkCMQCaGwCCvS\u002B\u002BKOZrBPqcskD2JexK7qdfBlQYg8ahQLth4L1ElSbsMGzVP7FwEcDaUv4=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert8525661cae9?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b5d9117f-f701-4804-a06f-a34a878d28ce" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert8525661cae9", + "deletedDate": 1681267926, + "scheduledPurgeDate": 1681872726, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "cer": "MIIB2zCCAWGgAwIBAgIQIqrwy16cT/\u002BcdHOYsyfnNjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNNVkT7AcLEu08fYbZZtvEEc07hLjtG8dLuTTadRlXl8qr1I6/DM4lynJjsG8VY8JrqRGmUPCRU5fY\u002B8xlrcGwdWJw\u002BAMw6yPym0LBu6YJQFm\u002BBbp6QheP8y4lHoIuFUlaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ5Z9n49T/iY3w8YSoPaJFo6Dj6qMB0GA1UdDgQWBBSeWfZ\u002BPU/4mN8PGEqD2iRaOg4\u002BqjAKBggqhkjOPQQDAwNoADBlAjAbCSwOnm2Nkysh110irjuRU5\u002BD437HOg7ZSw9tkFBu1s9oneZ2Qwy/Ep4r759uGYkCMQCaGwCCvS\u002B\u002BKOZrBPqcskD2JexK7qdfBlQYg8ahQLth4L1ElSbsMGzVP7FwEcDaUv4=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d8ed5b5c-f3a5-4b28-8971-11d7de0d61b6", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert978060ab9ce\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQfbDxg2FYSTqRQ4pUdjiTYDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyN1oXDTI1MDMxNjA4MDkyN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABONDEyBowMfQdpNoOrIVHznOJTn3gwFsFXuFHukzPBjHP6axoZaTBsg75FDr6IflO9BjEh0JY20ywUtNWj3b8Hs7N911/2r02Yb/wBxG/BXRJmYnwVu5EFTfFaucjai5MaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO4gF0XSIGNrJWJ1mMwV9FN7qOWSMB0GA1UdDgQWBBTuIBdF0iBjayVidZjMFfRTe6jlkjAKBggqhkjOPQQDAwNnADBkAjBB3/8+GPqhsTg1PZS9Q3foJ8v3qelUpejPk8R+CJ10tyq191Eihf9AtlnDsBa+W+sCMA9/V7wYL3H0WJowaZBZQEKCjqw0p9gvWOVW5A5CVzfy6dbzRMbLFK9w3LYeV0zTzw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert8525661cae9/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b43498f8-e3d2-4b55-bb47-ccb7d0f71b74" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "cer": "MIIB2zCCAWGgAwIBAgIQIqrwy16cT/\u002BcdHOYsyfnNjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNNVkT7AcLEu08fYbZZtvEEc07hLjtG8dLuTTadRlXl8qr1I6/DM4lynJjsG8VY8JrqRGmUPCRU5fY\u002B8xlrcGwdWJw\u002BAMw6yPym0LBu6YJQFm\u002BBbp6QheP8y4lHoIuFUlaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ5Z9n49T/iY3w8YSoPaJFo6Dj6qMB0GA1UdDgQWBBSeWfZ\u002BPU/4mN8PGEqD2iRaOg4\u002BqjAKBggqhkjOPQQDAwNoADBlAjAbCSwOnm2Nkysh110irjuRU5\u002BD437HOg7ZSw9tkFBu1s9oneZ2Qwy/Ep4r759uGYkCMQCaGwCCvS\u002B\u002BKOZrBPqcskD2JexK7qdfBlQYg8ahQLth4L1ElSbsMGzVP7FwEcDaUv4=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert978060ab9ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "331", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "05e82722-bf66-4991-89b5-66db1223383d" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "A certificate with (name/id) testcert8525661cae9 was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "17f35b43-2d7c-4372-8bfa-eaae3d74da39", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert978060ab9ce\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQfbDxg2FYSTqRQ4pUdjiTYDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyN1oXDTI1MDMxNjA4MDkyN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABONDEyBowMfQdpNoOrIVHznOJTn3gwFsFXuFHukzPBjHP6axoZaTBsg75FDr6IflO9BjEh0JY20ywUtNWj3b8Hs7N911/2r02Yb/wBxG/BXRJmYnwVu5EFTfFaucjai5MaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO4gF0XSIGNrJWJ1mMwV9FN7qOWSMB0GA1UdDgQWBBTuIBdF0iBjayVidZjMFfRTe6jlkjAKBggqhkjOPQQDAwNnADBkAjBB3/8+GPqhsTg1PZS9Q3foJ8v3qelUpejPk8R+CJ10tyq191Eihf9AtlnDsBa+W+sCMA9/V7wYL3H0WJowaZBZQEKCjqw0p9gvWOVW5A5CVzfy6dbzRMbLFK9w3LYeV0zTzw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert978060ab9ce/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d818d22c-15fb-431e-a03e-fe48dc4577f4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQfbDxg2FYSTqRQ4pUdjiTYDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyN1oXDTI1MDMxNjA4MDkyN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABONDEyBowMfQdpNoOrIVHznOJTn3gwFsFXuFHukzPBjHP6axoZaTBsg75FDr6IflO9BjEh0JY20ywUtNWj3b8Hs7N911/2r02Yb/wBxG/BXRJmYnwVu5EFTfFaucjai5MaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO4gF0XSIGNrJWJ1mMwV9FN7qOWSMB0GA1UdDgQWBBTuIBdF0iBjayVidZjMFfRTe6jlkjAKBggqhkjOPQQDAwNnADBkAjBB3/8+GPqhsTg1PZS9Q3foJ8v3qelUpejPk8R+CJ10tyq191Eihf9AtlnDsBa+W+sCMA9/V7wYL3H0WJowaZBZQEKCjqw0p9gvWOVW5A5CVzfy6dbzRMbLFK9w3LYeV0zTzw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "331", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "132fcaa3-07b3-40df-966d-77d25fc02294", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"A certificate with (name/id) testcert978060ab9ce was not found in this key vault. If you recently deleted this certificate you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert978060ab9ce/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa666f07-62e1-4816-9a2b-dde4b5259573", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert978060ab9ce/102dc001158941f1890050f3fb05aa3c\",\"x5t\":\"JBrWWe8VCj_tGr_5yYIfOB0KV-o\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQfbDxg2FYSTqRQ4pUdjiTYDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyN1oXDTI1MDMxNjA4MDkyN1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABONDEyBowMfQdpNoOrIVHznOJTn3gwFsFXuFHukzPBjHP6axoZaTBsg75FDr6IflO9BjEh0JY20ywUtNWj3b8Hs7N911/2r02Yb/wBxG/BXRJmYnwVu5EFTfFaucjai5MaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO4gF0XSIGNrJWJ1mMwV9FN7qOWSMB0GA1UdDgQWBBTuIBdF0iBjayVidZjMFfRTe6jlkjAKBggqhkjOPQQDAwNnADBkAjBB3/8+GPqhsTg1PZS9Q3foJ8v3qelUpejPk8R+CJ10tyq191Eihf9AtlnDsBa+W+sCMA9/V7wYL3H0WJowaZBZQEKCjqw0p9gvWOVW5A5CVzfy6dbzRMbLFK9w3LYeV0zTzw==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954166,\"updated\":1678954166}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert978060ab9ce/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert978060ab9ce" ] + { + "RequestUri": "https://REDACTED/certificates/testcert8525661cae9/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e6014e60-ef65-44e9-a704-378f971ebc36" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert8525661cae9/9a0239b7616f496e91f1f69f7b8ad740", + "x5t": "0i_riH-aKQrLGKW0xp0j15jH6h4", + "cer": "MIIB2zCCAWGgAwIBAgIQIqrwy16cT/\u002BcdHOYsyfnNjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwNloXDTI1MDQxMjAyNTIwNlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNNVkT7AcLEu08fYbZZtvEEc07hLjtG8dLuTTadRlXl8qr1I6/DM4lynJjsG8VY8JrqRGmUPCRU5fY\u002B8xlrcGwdWJw\u002BAMw6yPym0LBu6YJQFm\u002BBbp6QheP8y4lHoIuFUlaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFJ5Z9n49T/iY3w8YSoPaJFo6Dj6qMB0GA1UdDgQWBBSeWfZ\u002BPU/4mN8PGEqD2iRaOg4\u002BqjAKBggqhkjOPQQDAwNoADBlAjAbCSwOnm2Nkysh110irjuRU5\u002BD437HOg7ZSw9tkFBu1s9oneZ2Qwy/Ep4r759uGYkCMQCaGwCCvS\u002B\u002BKOZrBPqcskD2JexK7qdfBlQYg8ahQLth4L1ElSbsMGzVP7FwEcDaUv4=", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267925, + "updated": 1681267925 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert8525661cae9/pending" + } + } + } + ], + "Variables": { + "0": "testcert8525661cae9" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificateFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificateFromMalformedBackup[1].json index 51d14404d3ac9..103734612c9cf 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificateFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificateFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ec8c2c25-46b2-43fe-88c1-b959688f666e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9e2af007-7221-4af6-bcd1-0415fe85d136", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4c99825c-6752-43ab-810d-2f37d38239f8" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificate[1].json index 3e14fc933ce7e..9bea800254b31 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.restoreCertificate[1].json @@ -1,327 +1,890 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2121fa6d-fe58-4f62-a62b-d2bc08e8f0fa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c8c26afd-7f5e-4091-9156-5f7a484193ec", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3X/1Ltp8BBkbrKtWRgGP1FXCTYc7QIuHdpw5dPCEaUR3r7YTkx+8kz5G8oxOC3QwOvhiLV4v2RmOlf0eVUaJ9qiIu8IojD4a54djWAVz1Qxw5mC86MIZ++OvXQnrE9X8oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAPuX5WYM7wPtO0oCAsmgXTpqXGp5RQNfTdhqw8tara1If/hBnsjSyLlaJ3WQx9SNMQIwKMMwMqGENuGXsl/zqUVo6mbR6qen7pkVCo5xQCxRh5FL8IAN9eNnrO6Q8fNtsyxr\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"83c1226909ae42d7980097ac6fc38958\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending?api-version=7.4&request_id=83c1226909ae42d7980097ac6fc38958", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e7c109e5-b04b-4b3c-be2e-52b9cd271cae" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c89210db-cae2-424f-a680-c8e40f1a8a9b" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "850", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "456a6e9a-2acb-4caa-b71f-12d12a776568", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3X/1Ltp8BBkbrKtWRgGP1FXCTYc7QIuHdpw5dPCEaUR3r7YTkx+8kz5G8oxOC3QwOvhiLV4v2RmOlf0eVUaJ9qiIu8IojD4a54djWAVz1Qxw5mC86MIZ++OvXQnrE9X8oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAPuX5WYM7wPtO0oCAsmgXTpqXGp5RQNfTdhqw8tara1If/hBnsjSyLlaJ3WQx9SNMQIwKMMwMqGENuGXsl/zqUVo6mbR6qen7pkVCo5xQCxRh5FL8IAN9eNnrO6Q8fNtsyxr\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"83c1226909ae42d7980097ac6fc38958\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending?api-version=7.4\u0026request_id=c0521964fcde4cbba86fd7fed72fc2ac", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c53a3118-48a3-4b60-b3d7-b1a69c8da8d4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETOHzZTr1zPqFH973a7nDCxb2xc/OjS04l/GfublK09NNa674\u002B0NgeUOqiUA4xLcvDXZqp7Q7KRbuaoJnYeOOS87BsJZIlnJcaoHFBzjD6szK4J6gI2zjpYV/9n3tgjAToEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwP/CcOtyLm28PdjmSaOxLEQsLvCCVKHm0mxHepTjjF9n915HZEO5ksi0ls6rIIXqNAjEA4UjQE/ZnQ7c7ok9J0g1mBOXxxgKz5uUa9AVWLsEJfD8WH7k4/Mm8awJk7yWexO20", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "c0521964fcde4cbba86fd7fed72fc2ac" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ad77005-e30f-4f0b-9d00-7414432fe4f4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAETOHzZTr1zPqFH973a7nDCxb2xc/OjS04l/GfublK09NNa674\u002B0NgeUOqiUA4xLcvDXZqp7Q7KRbuaoJnYeOOS87BsJZIlnJcaoHFBzjD6szK4J6gI2zjpYV/9n3tgjAToEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIwP/CcOtyLm28PdjmSaOxLEQsLvCCVKHm0mxHepTjjF9n915HZEO5ksi0ls6rIIXqNAjEA4UjQE/ZnQ7c7ok9J0g1mBOXxxgKz5uUa9AVWLsEJfD8WH7k4/Mm8awJk7yWexO20", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829", + "request_id": "c0521964fcde4cbba86fd7fed72fc2ac" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "771", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "129a1eb1-f528-447d-bc83-70830376872d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3X/1Ltp8BBkbrKtWRgGP1FXCTYc7QIuHdpw5dPCEaUR3r7YTkx+8kz5G8oxOC3QwOvhiLV4v2RmOlf0eVUaJ9qiIu8IojD4a54djWAVz1Qxw5mC86MIZ++OvXQnrE9X8oEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxAPuX5WYM7wPtO0oCAsmgXTpqXGp5RQNfTdhqw8tara1If/hBnsjSyLlaJ3WQx9SNMQIwKMMwMqGENuGXsl/zqUVo6mbR6qen7pkVCo5xQCxRh5FL8IAN9eNnrO6Q8fNtsyxr\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4\",\"request_id\":\"83c1226909ae42d7980097ac6fc38958\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "685d1e96-6804-41c9-9abe-de1f90b3c68f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "cer": "MIIB3DCCAWGgAwIBAgIQZylpMRWmQ4i47M2ICn2RVTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxM1oXDTI1MDQxMjAyNTIxM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEzh82U69cz6hR/e92u5wwsW9sXPzo0tOJfxn7m5StPTTWuu\u002BPtDYHlDqolAOMS3Lw12aqe0OykW7mqCZ2HjjkvOwbCWSJZyXGqBxQc4w\u002BrMyuCeoCNs46WFf/Z97YIwE6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFD9wQnvu3r4QO/t\u002BhQmb44VlYEREMB0GA1UdDgQWBBQ/cEJ77t6\u002BEDv7foUJm\u002BOFZWBERDAKBggqhkjOPQQDAwNpADBmAjEAzvjaWO5SzQMwKeRVfmAGoG6nAgcPLNdwYP4BaQdWt3wdUNBGnQ6qgBBeFeh386Q9AjEAtNfm6E8oyOGY97uxjB9\u002BmalCFH6nxNKsz9SSMx4XlAMKmI5UJxRiL2OANyFlzn4t", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "27111", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8fae86ad-ad02-4fce-8545-4811d9d06426" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuS1F4N1U1QXc0cmNZYzI0b21kZ0FpU3NSaGVvWGJtX2VSWUJTMW5jMTdmOE9kbTBUdVdzYnBzYmI5THJGcHp5VnRScXJfRThoSzVHTzFsZW5HZk5MbTRnMWRsbUNTV0ZJYU85RkNBMm1hOUVQLUU5aEJadExWT0hPdGo5RkpYWUR5cVhSSzRaRjhGSEdQSFFPXzYzdFU3SExYSVl0R3BGYzV3UHNwaHY3azR0eTlIUV9IYTVaZ0x2SE0xUVJ5SklqblB1R1I3cDBHelJ0bzB2MGwtTml5M0lyZDMzWHduVl9ScE1UeHRxYU5SSmVJc3Z0Vk1CamJBOXZDY3c1Yy1GcXBJYVB3ei1XaWdoWm5ZS2NNdnVrWTZDWmhIU3BtQXVfUVdwdjEwd1JrUk84VElfTW4yZGJXMjdtZUJUcmZpWnkxaVp1b2pNek54QjhNZkJxUWM0M2pRLkhTaE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wteFB0MHZzLXVwckxVSWxDTHh2aG50ZzZOeTZ6OGVsSGJPaVh4VG04LmNrN2h3Zm81bmFJQk1LcFZSUTRwbFpSeEpmcHJtMWFCQXV3U2o0dTNsVFU" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d9517935-f2c6-49ea-9017-00d89d054294", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQTk3AR9KpQyaBXIstdZ/WdjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNFoXDTI1MDMxNjA4MDkxNFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABN1/9S7afAQZG6yrVkYBj9RVwk2HO0CLh3acOXTwhGlEd6+2E5MfvJM+RvKMTgt0MDr4Yi1eL9kZjpX9HlVGifaoiLvCKIw+GueHY1gFc9UMcOZgvOjCGfvjr10J6xPV/KN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFimQD6h6NdphrG7wxljin4WWoqzMB0GA1UdDgQWBBRYpkA+oejXaYaxu8MZY4p+FlqKszAKBggqhkjOPQQDAwNpADBmAjEA7WU2E9WXxz+asqKQNKPonohgczOTtuvqTFj1RXqcOo37yJ4+agS2E108qMuAZ4UMAjEA43tE0DsScVFQ1Dzdgc5Nf0RvuzYQYMQJp6z1p/UBhO4AGI63Cpk4CKdiXnMqvP21\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e4ff797b-a041-4739-883d-26299784fa68" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert838769e3829", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "cer": "MIIB3DCCAWGgAwIBAgIQZylpMRWmQ4i47M2ICn2RVTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxM1oXDTI1MDQxMjAyNTIxM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEzh82U69cz6hR/e92u5wwsW9sXPzo0tOJfxn7m5StPTTWuu\u002BPtDYHlDqolAOMS3Lw12aqe0OykW7mqCZ2HjjkvOwbCWSJZyXGqBxQc4w\u002BrMyuCeoCNs46WFf/Z97YIwE6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFD9wQnvu3r4QO/t\u002BhQmb44VlYEREMB0GA1UdDgQWBBQ/cEJ77t6\u002BEDv7foUJm\u002BOFZWBERDAKBggqhkjOPQQDAwNpADBmAjEAzvjaWO5SzQMwKeRVfmAGoG6nAgcPLNdwYP4BaQdWt3wdUNBGnQ6qgBBeFeh386Q9AjEAtNfm6E8oyOGY97uxjB9\u002BmalCFH6nxNKsz9SSMx4XlAMKmI5UJxRiL2OANyFlzn4t", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "55206803-b6e6-49a1-abd8-f620a12ef04f" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert838769e3829" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "26770", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "59208889-71da-4ed7-b116-b56753d581e2", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuV3FVTmFtZm1zazE3S3VSRjFQd3E4b3l1VXhJczJXYkxk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ZSdnBCVXpWdEkuWm1PbW1kaFJtM3EzS0RsYVRleFVxb0s3dFIwT3BwcGxSbEVhLVZuYTFMYw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b953dc48-9d85-46f1-af21-63832f305126" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert838769e3829" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "49b106f6-78a4-41a3-84e6-d72be4d3bbaf" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert838769e3829" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3e33ec5b-194e-4af6-bc0b-c3567d83c4bf", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert1898604e3d4\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQTk3AR9KpQyaBXIstdZ/WdjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNFoXDTI1MDMxNjA4MDkxNFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABN1/9S7afAQZG6yrVkYBj9RVwk2HO0CLh3acOXTwhGlEd6+2E5MfvJM+RvKMTgt0MDr4Yi1eL9kZjpX9HlVGifaoiLvCKIw+GueHY1gFc9UMcOZgvOjCGfvjr10J6xPV/KN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFimQD6h6NdphrG7wxljin4WWoqzMB0GA1UdDgQWBBRYpkA+oejXaYaxu8MZY4p+FlqKszAKBggqhkjOPQQDAwNpADBmAjEA7WU2E9WXxz+asqKQNKPonohgczOTtuvqTFj1RXqcOo37yJ4+agS2E108qMuAZ4UMAjEA43tE0DsScVFQ1Dzdgc5Nf0RvuzYQYMQJp6z1p/UBhO4AGI63Cpk4CKdiXnMqvP21\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2096", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b66f4da6-59fd-4bbe-90c1-fc8d6773e87e" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedcertificates/testcert838769e3829", + "deletedDate": 1681267933, + "scheduledPurgeDate": 1681872733, + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "cer": "MIIB3DCCAWGgAwIBAgIQZylpMRWmQ4i47M2ICn2RVTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxM1oXDTI1MDQxMjAyNTIxM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEzh82U69cz6hR/e92u5wwsW9sXPzo0tOJfxn7m5StPTTWuu\u002BPtDYHlDqolAOMS3Lw12aqe0OykW7mqCZ2HjjkvOwbCWSJZyXGqBxQc4w\u002BrMyuCeoCNs46WFf/Z97YIwE6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFD9wQnvu3r4QO/t\u002BhQmb44VlYEREMB0GA1UdDgQWBBQ/cEJ77t6\u002BEDv7foUJm\u002BOFZWBERDAKBggqhkjOPQQDAwNpADBmAjEAzvjaWO5SzQMwKeRVfmAGoG6nAgcPLNdwYP4BaQdWt3wdUNBGnQ6qgBBeFeh386Q9AjEAtNfm6E8oyOGY97uxjB9\u002BmalCFH6nxNKsz9SSMx4XlAMKmI5UJxRiL2OANyFlzn4t", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 02:52:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ed864ee-2bfe-4d89-ad48-a7b0edd5169f" + }, + "ResponseBody": null }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "913a88ae-b832-49a3-b34e-38c573f88ae5", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert1898604e3d4\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedcertificates/testcert838769e3829?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "103", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e7b050b1-22c0-4411-b526-42a60e32a20c" + }, + "ResponseBody": { + "error": { + "code": "CertificateNotFound", + "message": "Deleted Certificate not found: testcert838769e3829" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8554da73-ff73-4f3c-8877-246cedfefbf6", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert1898604e3d4\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "90fde190-aba2-4bf8-bf0f-9eb451636016", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert1898604e3d4\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "03d79743-b25c-495b-9508-f1ba3ddb9604", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedcertificates/testcert1898604e3d4\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQTk3AR9KpQyaBXIstdZ/WdjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNFoXDTI1MDMxNjA4MDkxNFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABN1/9S7afAQZG6yrVkYBj9RVwk2HO0CLh3acOXTwhGlEd6+2E5MfvJM+RvKMTgt0MDr4Yi1eL9kZjpX9HlVGifaoiLvCKIw+GueHY1gFc9UMcOZgvOjCGfvjr10J6xPV/KN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFimQD6h6NdphrG7wxljin4WWoqzMB0GA1UdDgQWBBRYpkA+oejXaYaxu8MZY4p+FlqKszAKBggqhkjOPQQDAwNpADBmAjEA7WU2E9WXxz+asqKQNKPonohgczOTtuvqTFj1RXqcOo37yJ4+agS2E108qMuAZ4UMAjEA43tE0DsScVFQ1Dzdgc5Nf0RvuzYQYMQJp6z1p/UBhO4AGI63Cpk4CKdiXnMqvP21\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cd1a6bec-f1e6-4f8b-a59e-0c4fda2eb247", - "Date" : "Thu, 16 Mar 2023 08:09:18 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedcertificates/testcert1898604e3d4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "103", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cb33a3d1-1fa0-41ea-9bf6-4add032f4fb5", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: testcert1898604e3d4\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1842", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "81376664-7c33-4913-9253-d786b0e1f6b3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert1898604e3d4/4238d30520be4df98992bb05e4b03c32\",\"x5t\":\"ahRSg3LEwXghJVh9Yq2ZOJH0ac0\",\"cer\":\"MIIB3DCCAWGgAwIBAgIQTk3AR9KpQyaBXIstdZ/WdjAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkxNFoXDTI1MDMxNjA4MDkxNFowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABN1/9S7afAQZG6yrVkYBj9RVwk2HO0CLh3acOXTwhGlEd6+2E5MfvJM+RvKMTgt0MDr4Yi1eL9kZjpX9HlVGifaoiLvCKIw+GueHY1gFc9UMcOZgvOjCGfvjr10J6xPV/KN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFimQD6h6NdphrG7wxljin4WWoqzMB0GA1UdDgQWBBRYpkA+oejXaYaxu8MZY4p+FlqKszAKBggqhkjOPQQDAwNpADBmAjEA7WU2E9WXxz+asqKQNKPonohgczOTtuvqTFj1RXqcOo37yJ4+agS2E108qMuAZ4UMAjEA43tE0DsScVFQ1Dzdgc5Nf0RvuzYQYMQJp6z1p/UBhO4AGI63Cpk4CKdiXnMqvP21\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert1898604e3d4/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954153,\"updated\":1678954153}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert1898604e3d4" ] + { + "RequestUri": "https://REDACTED/certificates/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "27111", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuS1F4N1U1QXc0cmNZYzI0b21kZ0FpU3NSaGVvWGJtX2VSWUJTMW5jMTdmOE9kbTBUdVdzYnBzYmI5THJGcHp5VnRScXJfRThoSzVHTzFsZW5HZk5MbTRnMWRsbUNTV0ZJYU85RkNBMm1hOUVQLUU5aEJadExWT0hPdGo5RkpYWUR5cVhSSzRaRjhGSEdQSFFPXzYzdFU3SExYSVl0R3BGYzV3UHNwaHY3azR0eTlIUV9IYTVaZ0x2SE0xUVJ5SklqblB1R1I3cDBHelJ0bzB2MGwtTml5M0lyZDMzWHduV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TFTS3RxMTZrclVEc1JzSGd3bTM2Ulpob19IR0VIcUtNWUNrOGhMRW1mYzlLZFA3YS02MVZuU1BRZkM5NDN5TU5wcW84c0RkTmMyOHNOVHJfdFVKakJJeFFSTC1xQ0RtdHpEZEJ3TmlGMWlYdGtaZlZJQVBCanZmYVd3R01uVEwteFB0MHZzLXVwckxVSWxDTHh2aG50ZzZOeTZ6OGVsSGJPaVh4VG04LmNrN2h3Zm81bmFJQk1LcFZSUTRwbFpSeEpmcHJtMWFCQXV3U2o0dTNsVFU" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "169f299c-f745-4505-a1d2-f40d1593f327" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert838769e3829/9c79b1be77d34a83b85e6249a4d1b56f", + "x5t": "DdBRrB58N7J2EVv8uuXLVI6btE0", + "cer": "MIIB3DCCAWGgAwIBAgIQZylpMRWmQ4i47M2ICn2RVTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIxM1oXDTI1MDQxMjAyNTIxM1owEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABEzh82U69cz6hR/e92u5wwsW9sXPzo0tOJfxn7m5StPTTWuu\u002BPtDYHlDqolAOMS3Lw12aqe0OykW7mqCZ2HjjkvOwbCWSJZyXGqBxQc4w\u002BrMyuCeoCNs46WFf/Z97YIwE6N8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFD9wQnvu3r4QO/t\u002BhQmb44VlYEREMB0GA1UdDgQWBBQ/cEJ77t6\u002BEDv7foUJm\u002BOFZWBERDAKBggqhkjOPQQDAwNpADBmAjEAzvjaWO5SzQMwKeRVfmAGoG6nAgcPLNdwYP4BaQdWt3wdUNBGnQ6qgBBeFeh386Q9AjEAtNfm6E8oyOGY97uxjB9\u002BmalCFH6nxNKsz9SSMx4XlAMKmI5UJxRiL2OANyFlzn4t", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert838769e3829/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + } + } + } + ], + "Variables": { + "0": "testcert838769e3829" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.setContacts[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.setContacts[1].json index e5d1933dab3af..2d2f3d27792be 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.setContacts[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.setContacts[1].json @@ -1,29 +1,85 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/contacts?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "87a16d65-a117-4c3c-a70d-02234689d7de" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "155", - "x-ms-request-id" : "6b13baca-fc0e-453d-a458-161fb5ea9876", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"first.last@gmail.com\",\"name\":\"name\",\"phone\":\"000-000-0000\"}]}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/certificates/contacts?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "84", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "153", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "46f02d9b-d7af-4382-bec4-e1c95f8caaa3" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/contacts", + "contacts": [ + { + "email": "first.last@gmail.com", + "name": "name", + "phone": "000-000-0000" + } + ] + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificatePolicy[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificatePolicy[1].json index b6dbeeaeadef0..12c90e6aaf27f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificatePolicy[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificatePolicy[1].json @@ -1,130 +1,374 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert376955362f1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert424544e9d25/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0c2c1bb6-0d2b-4941-aec8-604d73e17601" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "718d94e5-441d-4cec-ae4c-407201838f33", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgvnLRhgwOEQ3Ty3HHAWmgvwaSSrFVu7j8sRhEasZTN+3Jysb3DWUSUFlBSxgOEe23tmCHJhozKmFw7iSrWFdFjf1DKxzMzEzTP+MQmskflyUA7osbzeJAxYsMw00904BoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALbknbRutSkl0uylrc1ovGo9bVJTCdqpyetGDW0Eh68yL968fRI2ul7aC2DKnkbYHwIxAIyGg10m9uM/ho63gMi82TF+1yyT3AemX7uKTHuGndXR+IvUB1gfRokHGxziuLjOdw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"71ba2dc7003542fcae609a32f29f0920\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert376955362f1/pending?api-version=7.4&request_id=71ba2dc7003542fcae609a32f29f0920", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert424544e9d25/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "459", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": { + "exportable": true, + "kty": "EC", + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "key_usage": [ + "keyCertSign", + "keyAgreement" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "848", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:00 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/pending?api-version=7.4\u0026request_id=aa816c766b21464c9756feb9b6f42be1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3affab4b-9c91-4253-8e27-b1730212dd0c" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVnIaMj3qpqH3Z6iySfy5BN2z79alRJceRw8HIcsCAOODNH1p3Do8BJJfv5KbWbpBXGFrZxzyyBEcUDpRqKDYTPeIDcWY2tB0RgkFhiaCkFRa0KdmdeQvnlDVcfBMcnamoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxALS8HQixQlRxVPPazWu5iH3fgVu\u002BBb1GFGC93cRL42EYlrMOjZ5S/RNO8GJ7dKdiKQIwFIGL/9YsMqNCepQF4vQ\u002BxbKSmumQ4Dy8gpqC1zt4K5Oe6qAUOlCpVyPqGNtYJWNj", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "aa816c766b21464c9756feb9b6f42be1" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert376955362f1/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert424544e9d25/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "767", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f7ab763c-0579-48c3-8135-bfa0adc025c6" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIIBVTCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVnIaMj3qpqH3Z6iySfy5BN2z79alRJceRw8HIcsCAOODNH1p3Do8BJJfv5KbWbpBXGFrZxzyyBEcUDpRqKDYTPeIDcWY2tB0RgkFhiaCkFRa0KdmdeQvnlDVcfBMcnamoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaAAwZQIxALS8HQixQlRxVPPazWu5iH3fgVu\u002BBb1GFGC93cRL42EYlrMOjZ5S/RNO8GJ7dKdiKQIwFIGL/9YsMqNCepQF4vQ\u002BxbKSmumQ4Dy8gpqC1zt4K5Oe6qAUOlCpVyPqGNtYJWNj", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25", + "request_id": "aa816c766b21464c9756feb9b6f42be1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "854", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f3ce2ef5-4c12-408c-ad9e-7eeb147ce97f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgvnLRhgwOEQ3Ty3HHAWmgvwaSSrFVu7j8sRhEasZTN+3Jysb3DWUSUFlBSxgOEe23tmCHJhozKmFw7iSrWFdFjf1DKxzMzEzTP+MQmskflyUA7osbzeJAxYsMw00904BoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALbknbRutSkl0uylrc1ovGo9bVJTCdqpyetGDW0Eh68yL968fRI2ul7aC2DKnkbYHwIxAIyGg10m9uM/ho63gMi82TF+1yyT3AemX7uKTHuGndXR+IvUB1gfRokHGxziuLjOdw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"71ba2dc7003542fcae609a32f29f0920\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert424544e9d25/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1944", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bd9a2364-300d-49be-ab9c-d9310a19d411" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/b9c079bca819489da87eb977b9d79cf4", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert424544e9d25/b9c079bca819489da87eb977b9d79cf4", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert424544e9d25/b9c079bca819489da87eb977b9d79cf4", + "x5t": "YqN1h7oMHc2vQ_a6vxM6bdU36Wk", + "cer": "MIIB2zCCAWGgAwIBAgIQApkXrHEvSMWHmXjPM3xsYTAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDQxMjAyNDIwMVoXDTI1MDQxMjAyNTIwMVowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABFZyGjI96qah92eoskn8uQTds\u002B/WpUSXHkcPByHLAgDjgzR9adw6PASSX7\u002BSm1m6QVxha2cc8sgRHFA6Uaig2Ez3iA3FmNrQdEYJBYYmgpBUWtCnZnXkL55Q1XHwTHJ2pqN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFO5lcaSr51h8b6JmgjTdj6bvoHQGMB0GA1UdDgQWBBTuZXGkq\u002BdYfG\u002BiZoI03Y\u002Bm76B0BjAKBggqhkjOPQQDAwNoADBlAjEAtx/IzQhwDEgpChAYlXYD/NPV9SW4WEUBS6hT9K\u002B55886FOsXKGAA2E\u002BZ69rQPQWAAjBUcKYcLauh53q7s\u002BC13lfVIe3kqT0LU1HOgaiuMIxjeGwpOXukmg/zn0PQuCZQWpk=", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/policy", + "key_props": { + "exportable": true, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267920, + "updated": 1681267920 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert376955362f1/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "775", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "60702e84-b3e8-4a2b-9142-1e7eba06d762", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIIBVjCB3AIBADASMRAwDgYDVQQDEwdkZWZhdWx0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEgvnLRhgwOEQ3Ty3HHAWmgvwaSSrFVu7j8sRhEasZTN+3Jysb3DWUSUFlBSxgOEe23tmCHJhozKmFw7iSrWFdFjf1DKxzMzEzTP+MQmskflyUA7osbzeJAxYsMw00904BoEswSQYJKoZIhvcNAQkOMTwwOjAOBgNVHQ8BAf8EBAMCAgwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwMDaQAwZgIxALbknbRutSkl0uylrc1ovGo9bVJTCdqpyetGDW0Eh68yL968fRI2ul7aC2DKnkbYHwIxAIyGg10m9uM/ho63gMi82TF+1yyT3AemX7uKTHuGndXR+IvUB1gfRokHGxziuLjOdw==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1\",\"request_id\":\"71ba2dc7003542fcae609a32f29f0920\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert376955362f1/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1954", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b7528899-aafa-433c-b059-d7dba606af4b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/22ac5c68e01d4116b53b73a7e0abf67a\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert376955362f1/22ac5c68e01d4116b53b73a7e0abf67a\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert376955362f1/22ac5c68e01d4116b53b73a7e0abf67a\",\"x5t\":\"zaGC8l_O8h6SCecBEIibPw2usx4\",\"cer\":\"MIIB2jCCAWGgAwIBAgIQLFer2wlxRkm/DCZpsKh9YDAKBggqhkjOPQQDAzASMRAwDgYDVQQDEwdkZWZhdWx0MB4XDTIzMDMxNjA3NTkyMloXDTI1MDMxNjA4MDkyMlowEjEQMA4GA1UEAxMHZGVmYXVsdDB2MBAGByqGSM49AgEGBSuBBAAiA2IABIL5y0YYMDhEN08txxwFpoL8GkkqxVbu4/LEYRGrGUzftycrG9w1lElBZQUsYDhHtt7ZghyYaMyphcO4kq1hXRY39QysczMxM0z/jEJrJH5clAO6LG83iQMWLDMNNPdOAaN8MHowDgYDVR0PAQH/BAQDAgIMMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFIj9uMaA8dU1bbxA+Eit7naGCyw2MB0GA1UdDgQWBBSI/bjGgPHVNW28QPhIre52hgssNjAKBggqhkjOPQQDAwNnADBkAjBIu2ED8EeCGncFQiByKVSmMk9w+jp1zigd+0dkaP/0B/ktouFTg9EWqkLl2JeV2h0CMGdUUw+0bkKcS8cN2bBfFszuMwGZot3zwd3Z32hdby0gCvjZkEP+rk2qqyXXUREvOg==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953562,\"exp\":1742112562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954161,\"updated\":1678954161}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert376955362f1/policy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "647", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f5241ef1-a371-4eae-9557-01d54c0d6f88", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert376955362f1/policy\",\"key_props\":{\"exportable\":false,\"kty\":\"EC\",\"key_size\":384,\"reuse_key\":true,\"crv\":\"P-384\"},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=default\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"keyAgreement\",\"keyCertSign\"],\"validity_months\":24,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"days_before_expiry\":40},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\",\"cert_transparency\":false},\"attributes\":{\"enabled\":true,\"created\":1678954161,\"updated\":1678954163}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert376955362f1" ] + { + "RequestUri": "https://REDACTED/certificates/testcert424544e9d25/policy?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "483", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key_props": { + "exportable": false, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "sans": {}, + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24 + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "645", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "05656876-0ab2-4fc9-aac4-eacdb8d27912" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert424544e9d25/policy", + "key_props": { + "exportable": false, + "kty": "EC", + "key_size": 384, + "reuse_key": true, + "crv": "P-384" + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=default", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "keyAgreement", + "keyCertSign" + ], + "validity_months": 24, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "days_before_expiry": 40 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self", + "cert_transparency": false + }, + "attributes": { + "enabled": true, + "created": 1681267920, + "updated": 1681267921 + } + } + } + ], + "Variables": { + "0": "testcert424544e9d25" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificate[1].json index c5e33bebf7b81..e106b6d676ebd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateCertificate[1].json @@ -1,105 +1,292 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert67119c0e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert6807158e/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:46:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b9053bf6-57b3-4084-890d-d345e5b65ee3" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f59b4868-428b-4090-b137-95de07b286a0", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANNb28XO7kjr1altGBwhQzTCpp/kudHeH1VnCvqwLO2QM5qGUl9At6yMj76etPnbHLcUuPy4dKbdqL839QwUUxRwhnBIzqgd0bwSASIou9dQTMiGxVGngwMIByL6brNHYKh0nzQAml5mxm9FtBzh227FgO/Oh8eieoSFHy80vlOWKtpu94YwnRybo4iLfEZv+lmOMNQQ9wnWscfmyOzSFTV2Sg33cmOqxPr9Oj49FbSFt2p2v9XML8legUhudfEKE2I8V4RyiOn23OtNq8smVd6MPQBS589mg0/IZKnmRHkMp4Skq1+f8vOIm1eRmzk75WZS/4Q0O70vSEGAFl1vQsECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAAS/+L/l/J75yShmqei95ztBY78TJLZtHVLcbb3KeMe4yDSvg3qsB0H2CjKmcl8W6COqDC2tUIqoxu2bnGxd+QHdaNcNZVb8N71beXL1u7JXNh6BvJ1AeXsRBOOD98ud+qu1Efp7n2ZweGAACfVUesZtsU5AgjSPFCnxc60kYGkC+0T4n8kTTitdTx1At6y92Nhj8rkr/JhzPLZJAiLY3r1YWY3Kaodd6u5K3iFiRmBmZIEzRsguM6isUKMXGjjFtfas+XoaZ7e1oArGlCUAxTtXNOTPnogmYRui7h9S+Ko2pKgqviz7rh7pI73PiXQj62Jym/zn7Ljp60gwrLWjvl\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"680f502bb2814333913ea15064916452\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert67119c0e/pending?api-version=7.4&request_id=680f502bb2814333913ea15064916452", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert6807158e/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "215", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": true + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:46:07 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/pending?api-version=7.4\u0026request_id=27db96e108cd45b499c031852496b859", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d2559c02-a2f1-45c6-83bb-685c11bce151" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRd/uVq8YR2FMST9T8MzNw54ElJv1QxLxs7rUatqpB\u002BPM44Hopbj7VlbHkljIrW9RjbviJ6vPpH1adT3LIiy/wCSK2H8YTrshT4/\u002B3Fe840RGy06aGGFXV9ZdmtXLh3bd3dA8qKe0h4GBA5mXKvn5c1Dqew6C93nNyi6HTOEwW1pMO1XXdgxnlqUAqSp9cS6miCcaYH87/8kuk8KfSO19BXf8HPVbYmwQKOKNP5LWYT1KOCsGGQL9LQNL5y7Aom3nwkUVEGr6qDQ1a2UBPhw9T6oDV6gHjlksOufgxN8YPDS60EtRm2daQUQz9ahbCljk5\u002BIBw6CjEZl41dBp4c0aECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBxYjr\u002BnqOZ/ImIcyyu4AnQqwj5colSx4aSaBmtIXoMrv/J8afBM/GEuTtBaGL048/F5ZlI\u002Bi93Lxllu4F58Oh3i594kOoAEj3\u002BNM6GHmEcRUY\u002Bm1GaFis\u002Bt7YZ2lbww9qQ2vtwmQ9kqa4r1RbHgF5nmOXJWUMEmxFuZpZqj67x5MA00LXktE72B7UqoAqVGru4Se327dhfsFRQGXZKoE/FWuKr4XWn2Hmntet61e40vNNEOdFPeUIX2xSz5qkuZhMxPclgGjcZs0Ijdrr\u002BgfncktPXXZWIRRhBEEySC3Dhh8Lb\u002BHOQRSzAuW\u002BF4bAFHoDWCBZtdjFaSyJR2dM0Cn4U", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "27db96e108cd45b499c031852496b859" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert67119c0e/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert6807158e/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:46:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f96d69c6-58ea-4f46-8f01-105fe24bcee2" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRd/uVq8YR2FMST9T8MzNw54ElJv1QxLxs7rUatqpB\u002BPM44Hopbj7VlbHkljIrW9RjbviJ6vPpH1adT3LIiy/wCSK2H8YTrshT4/\u002B3Fe840RGy06aGGFXV9ZdmtXLh3bd3dA8qKe0h4GBA5mXKvn5c1Dqew6C93nNyi6HTOEwW1pMO1XXdgxnlqUAqSp9cS6miCcaYH87/8kuk8KfSO19BXf8HPVbYmwQKOKNP5LWYT1KOCsGGQL9LQNL5y7Aom3nwkUVEGr6qDQ1a2UBPhw9T6oDV6gHjlksOufgxN8YPDS60EtRm2daQUQz9ahbCljk5\u002BIBw6CjEZl41dBp4c0aECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBxYjr\u002BnqOZ/ImIcyyu4AnQqwj5colSx4aSaBmtIXoMrv/J8afBM/GEuTtBaGL048/F5ZlI\u002Bi93Lxllu4F58Oh3i594kOoAEj3\u002BNM6GHmEcRUY\u002Bm1GaFis\u002Bt7YZ2lbww9qQ2vtwmQ9kqa4r1RbHgF5nmOXJWUMEmxFuZpZqj67x5MA00LXktE72B7UqoAqVGru4Se327dhfsFRQGXZKoE/FWuKr4XWn2Hmntet61e40vNNEOdFPeUIX2xSz5qkuZhMxPclgGjcZs0Ijdrr\u002BgfncktPXXZWIRRhBEEySC3Dhh8Lb\u002BHOQRSzAuW\u002BF4bAFHoDWCBZtdjFaSyJR2dM0Cn4U", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e", + "request_id": "27db96e108cd45b499c031852496b859" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c2566ee-5703-464d-96a6-0729348f032f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANNb28XO7kjr1altGBwhQzTCpp/kudHeH1VnCvqwLO2QM5qGUl9At6yMj76etPnbHLcUuPy4dKbdqL839QwUUxRwhnBIzqgd0bwSASIou9dQTMiGxVGngwMIByL6brNHYKh0nzQAml5mxm9FtBzh227FgO/Oh8eieoSFHy80vlOWKtpu94YwnRybo4iLfEZv+lmOMNQQ9wnWscfmyOzSFTV2Sg33cmOqxPr9Oj49FbSFt2p2v9XML8legUhudfEKE2I8V4RyiOn23OtNq8smVd6MPQBS589mg0/IZKnmRHkMp4Skq1+f8vOIm1eRmzk75WZS/4Q0O70vSEGAFl1vQsECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAAS/+L/l/J75yShmqei95ztBY78TJLZtHVLcbb3KeMe4yDSvg3qsB0H2CjKmcl8W6COqDC2tUIqoxu2bnGxd+QHdaNcNZVb8N71beXL1u7JXNh6BvJ1AeXsRBOOD98ud+qu1Efp7n2ZweGAACfVUesZtsU5AgjSPFCnxc60kYGkC+0T4n8kTTitdTx1At6y92Nhj8rkr/JhzPLZJAiLY3r1YWY3Kaodd6u5K3iFiRmBmZIEzRsguM6isUKMXGjjFtfas+XoaZ7e1oArGlCUAxTtXNOTPnogmYRui7h9S+Ko2pKgqviz7rh7pI73PiXQj62Jym/zn7Ljp60gwrLWjvl\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e\",\"request_id\":\"680f502bb2814333913ea15064916452\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert6807158e/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2434", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:46:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "626b272d-84f9-4fc0-af89-376db52831bf" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "x5t": "28Y4IAfq44PDm8mJ9xmCCmlwF7g", + "cer": "MIIDNjCCAh6gAwIBAgIQFWbY9eHxT3WTuJLm0SAS1DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjA0MzYwN1oXDTI0MDQxMjA0NDYwN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRd/uVq8YR2FMST9T8MzNw54ElJv1QxLxs7rUatqpB\u002BPM44Hopbj7VlbHkljIrW9RjbviJ6vPpH1adT3LIiy/wCSK2H8YTrshT4/\u002B3Fe840RGy06aGGFXV9ZdmtXLh3bd3dA8qKe0h4GBA5mXKvn5c1Dqew6C93nNyi6HTOEwW1pMO1XXdgxnlqUAqSp9cS6miCcaYH87/8kuk8KfSO19BXf8HPVbYmwQKOKNP5LWYT1KOCsGGQL9LQNL5y7Aom3nwkUVEGr6qDQ1a2UBPhw9T6oDV6gHjlksOufgxN8YPDS60EtRm2daQUQz9ahbCljk5\u002BIBw6CjEZl41dBp4c0aECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFVbXnuuChwotanW3jPaqB2ykYiDMB0GA1UdDgQWBBRVW157rgocKLWp1t4z2qgdspGIgzANBgkqhkiG9w0BAQsFAAOCAQEAEBMGzbXZUq0xuJAKXj2wFKUBcgPsRThN5uljIkFpWvVG\u002B5imvw4bR6wuPZJwNXKe5XPiNV/h7hxd1Vp/fKbyCH5cIoJxOx67qRm1QLGTu7mmQCb3N3Xx2ijWEOx0eyUE\u002Bl1EYfNH6tQevIuTGVlehQWhIB24CiCGyb9Xh5qVF7Mu1x5fvB9uYIFUHEb1xnt/uXw2Rw76AyUVLXHd1jmJHFwv1VRW7Tqkmqg7j7XDyNEFOWbPMOzFgC0GNd/04YfonXHGRvRsEqL6aXifPetNfmp9EMp1Pz4GnWQadPvmTf1LYFrcGfXSZaonBM02Q84Tu0A1kzZAFTv\u002B5ZYSWWJarA==", + "attributes": { + "enabled": true, + "nbf": 1681274167, + "exp": 1712897167, + "created": 1681274768, + "updated": 1681274768, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681274767, + "updated": 1681274767 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert67119c0e/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2444", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "230410cf-0b64-4b19-a262-b9b3ba46630d", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/7d187c73319940999865168653691577\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert67119c0e/7d187c73319940999865168653691577\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert67119c0e/7d187c73319940999865168653691577\",\"x5t\":\"PvDom9rfiJ0_-rBzgfASNvY8e98\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQECJzEiXMQaCUHKwX8XqlOjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMVoXDTI0MDMxNjA4MDkzMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANNb28XO7kjr1altGBwhQzTCpp/kudHeH1VnCvqwLO2QM5qGUl9At6yMj76etPnbHLcUuPy4dKbdqL839QwUUxRwhnBIzqgd0bwSASIou9dQTMiGxVGngwMIByL6brNHYKh0nzQAml5mxm9FtBzh227FgO/Oh8eieoSFHy80vlOWKtpu94YwnRybo4iLfEZv+lmOMNQQ9wnWscfmyOzSFTV2Sg33cmOqxPr9Oj49FbSFt2p2v9XML8legUhudfEKE2I8V4RyiOn23OtNq8smVd6MPQBS589mg0/IZKnmRHkMp4Skq1+f8vOIm1eRmzk75WZS/4Q0O70vSEGAFl1vQsECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDoHGDAldX1IrJLDy0NFNACluT0nMB0GA1UdDgQWBBQ6BxgwJXV9SKySw8tDRTQApbk9JzANBgkqhkiG9w0BAQsFAAOCAQEAjbTGiv3E00jvdYSwD7kM9vE7SQdzxCxETFtuGja2CZznaPFaHMbybhPH8nVpkZH+nlaKf4SyCPgf89553t3+KZeMvah4OCtQCCbgiKA2yhuUqR7naAuRClc0MHPQwH1qzW+BsiGtyWMaENhR373KyG0rRaVd84h+shQV7l8K4MxpuAj5kOYMjPTt0ChhC4R+kmkcyeQxPICG5+4S4iG7ih3QoGOAjyrl4znEQmbvQFbFPCrB3P0v/hqqfkDlKSLEAHj9mkdep7ziPiXJBsXtmuFJg8drboeobkP1Nh7bOmUInSq3Qpt6rgmE9RhAH9nGC6O1/Zfmd+gdQwbUv5/QiQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954171,\"updated\":1678954171}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert67119c0e/7d187c73319940999865168653691577?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1760", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f6bffa09-9384-4ff0-a1df-be488734025f", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/7d187c73319940999865168653691577\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert67119c0e/7d187c73319940999865168653691577\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert67119c0e/7d187c73319940999865168653691577\",\"x5t\":\"PvDom9rfiJ0_-rBzgfASNvY8e98\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQECJzEiXMQaCUHKwX8XqlOjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTkzMVoXDTI0MDMxNjA4MDkzMVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANNb28XO7kjr1altGBwhQzTCpp/kudHeH1VnCvqwLO2QM5qGUl9At6yMj76etPnbHLcUuPy4dKbdqL839QwUUxRwhnBIzqgd0bwSASIou9dQTMiGxVGngwMIByL6brNHYKh0nzQAml5mxm9FtBzh227FgO/Oh8eieoSFHy80vlOWKtpu94YwnRybo4iLfEZv+lmOMNQQ9wnWscfmyOzSFTV2Sg33cmOqxPr9Oj49FbSFt2p2v9XML8legUhudfEKE2I8V4RyiOn23OtNq8smVd6MPQBS589mg0/IZKnmRHkMp4Skq1+f8vOIm1eRmzk75WZS/4Q0O70vSEGAFl1vQsECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFDoHGDAldX1IrJLDy0NFNACluT0nMB0GA1UdDgQWBBQ6BxgwJXV9SKySw8tDRTQApbk9JzANBgkqhkiG9w0BAQsFAAOCAQEAjbTGiv3E00jvdYSwD7kM9vE7SQdzxCxETFtuGja2CZznaPFaHMbybhPH8nVpkZH+nlaKf4SyCPgf89553t3+KZeMvah4OCtQCCbgiKA2yhuUqR7naAuRClc0MHPQwH1qzW+BsiGtyWMaENhR373KyG0rRaVd84h+shQV7l8K4MxpuAj5kOYMjPTt0ChhC4R+kmkcyeQxPICG5+4S4iG7ih3QoGOAjyrl4znEQmbvQFbFPCrB3P0v/hqqfkDlKSLEAHj9mkdep7ziPiXJBsXtmuFJg8drboeobkP1Nh7bOmUInSq3Qpt6rgmE9RhAH9nGC6O1/Zfmd+gdQwbUv5/QiQ==\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954172,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert67119c0e/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert67119c0e" ] + { + "RequestUri": "https://REDACTED/certificates/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": true, + "nbf": 1681274167, + "exp": 1712897167 + }, + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1752", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 04:46:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "da646f1e-4578-4543-8ec1-d4c39102dc77" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert6807158e/34ff8800e1dc42fcb4fef2324a344678", + "x5t": "28Y4IAfq44PDm8mJ9xmCCmlwF7g", + "cer": "MIIDNjCCAh6gAwIBAgIQFWbY9eHxT3WTuJLm0SAS1DANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjA0MzYwN1oXDTI0MDQxMjA0NDYwN1owGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRd/uVq8YR2FMST9T8MzNw54ElJv1QxLxs7rUatqpB\u002BPM44Hopbj7VlbHkljIrW9RjbviJ6vPpH1adT3LIiy/wCSK2H8YTrshT4/\u002B3Fe840RGy06aGGFXV9ZdmtXLh3bd3dA8qKe0h4GBA5mXKvn5c1Dqew6C93nNyi6HTOEwW1pMO1XXdgxnlqUAqSp9cS6miCcaYH87/8kuk8KfSO19BXf8HPVbYmwQKOKNP5LWYT1KOCsGGQL9LQNL5y7Aom3nwkUVEGr6qDQ1a2UBPhw9T6oDV6gHjlksOufgxN8YPDS60EtRm2daQUQz9ahbCljk5\u002BIBw6CjEZl41dBp4c0aECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFFVbXnuuChwotanW3jPaqB2ykYiDMB0GA1UdDgQWBBRVW157rgocKLWp1t4z2qgdspGIgzANBgkqhkiG9w0BAQsFAAOCAQEAEBMGzbXZUq0xuJAKXj2wFKUBcgPsRThN5uljIkFpWvVG\u002B5imvw4bR6wuPZJwNXKe5XPiNV/h7hxd1Vp/fKbyCH5cIoJxOx67qRm1QLGTu7mmQCb3N3Xx2ijWEOx0eyUE\u002Bl1EYfNH6tQevIuTGVlehQWhIB24CiCGyb9Xh5qVF7Mu1x5fvB9uYIFUHEb1xnt/uXw2Rw76AyUVLXHd1jmJHFwv1VRW7Tqkmqg7j7XDyNEFOWbPMOzFgC0GNd/04YfonXHGRvRsEqL6aXifPetNfmp9EMp1Pz4GnWQadPvmTf1LYFrcGfXSZaonBM02Q84Tu0A1kzZAFTv\u002B5ZYSWWJarA==", + "attributes": { + "enabled": true, + "nbf": 1681274167, + "exp": 1712897167, + "created": 1681274768, + "updated": 1681274768, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert6807158e/pending" + } + } + } + ], + "Variables": { + "0": "testcert6807158e" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateDisabledCertificate[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateDisabledCertificate[1].json index 009e7ddf6e67f..279b60178a8f1 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateDisabledCertificate[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateDisabledCertificate[1].json @@ -1,180 +1,398 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1fe05265-cc29-4bae-b758-4419f5a86871" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "96dd4ba3-5249-4099-ba61-0302a56db45d", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "25faee84-7399-4cca-86b1-be1ffc6320be" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4531a1af-c3e4-45c9-b473-05f211bd7aef" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:38 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f4a5c23f-ff9e-4ef3-84e8-790a9d7fc8f1", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "216", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "policy": { + "key_props": {}, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {} + }, + "issuer": { + "name": "Self" + }, + "attributes": {} + }, + "attributes": { + "enabled": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1297", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:11 GMT", + "Expires": "-1", + "Location": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/pending?api-version=7.4\u0026request_id=a784bfda74f641d8ac1520fd3d1cecb1", + "Pragma": "no-cache", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "97f3d0eb-4944-4975-9d05-fede22650c93" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwH0ajkKF/F2j/lrbEOt/XfFYeoZxoiD9QvHUGvc2GW1uru\u002B6NyU8jddDeVUTpQARRT8Zlr158KpO1QZltJoLnxARiIwypZhTbGG9YoOPqYT2C7hpA7Lg5iBlCvkzgJSu00q84W/qRhfRNoy7qhc5PqVBlrNX6hqgVVjOgt7NSND7vyoZNbX4ZSSJcqFGTgOrYH/\u002BGVfMgYmuz/bmAHJMkNYp7VBm2qtx4lv9QEUhNgwXSzCn56KvsPgUoP8Y5nWR8T7Wy9vbKOiBnoCc2o6pf1c\u002BIWbxah\u002BTV3JXrZEUl8Tcjec0Mx3NXFCgLZU2iIgc9SYwD4\u002BG7j22EK5kVPcE0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS8TVOB6DZzxxOYiLItlZzPGXxgOtzd0kVuAjmYGjq2hQWbuowjM18gNaYqkMEA7afTSymC8IYEW/eOxia6ng6hyB0PkiwqpAV4b\u002BzHhhbxUqK0JCn4VmSqZ7LEOYUEUFGXn61hItsE8t7a\u002BKKbZg4NdcUXDaDGSaSh53u75PHANIqRBrXR8TN/GRswVDi74/zbKwZSSzDhqrH\u002BnaWKVtPJJRy74PSuGyToStevvdyTzfWUfnRGB/sKJ7UgxPBXldQ7uL7xrAow5cST7iL\u002BYwpxMqOb0n3E0elTeoN84UuyeZuoftFdJwuK5iglTMFTp3ckRMflz5IzkiXj58ob6pT", + "cancellation_requested": false, + "status": "inProgress", + "status_details": "Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.", + "request_id": "a784bfda74f641d8ac1520fd3d1cecb1" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/pending?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1213", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "39196b42-4c79-4df6-bffa-55e0651cd90d" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/pending", + "issuer": { + "name": "Self" + }, + "csr": "MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwH0ajkKF/F2j/lrbEOt/XfFYeoZxoiD9QvHUGvc2GW1uru\u002B6NyU8jddDeVUTpQARRT8Zlr158KpO1QZltJoLnxARiIwypZhTbGG9YoOPqYT2C7hpA7Lg5iBlCvkzgJSu00q84W/qRhfRNoy7qhc5PqVBlrNX6hqgVVjOgt7NSND7vyoZNbX4ZSSJcqFGTgOrYH/\u002BGVfMgYmuz/bmAHJMkNYp7VBm2qtx4lv9QEUhNgwXSzCn56KvsPgUoP8Y5nWR8T7Wy9vbKOiBnoCc2o6pf1c\u002BIWbxah\u002BTV3JXrZEUl8Tcjec0Mx3NXFCgLZU2iIgc9SYwD4\u002BG7j22EK5kVPcE0CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCS8TVOB6DZzxxOYiLItlZzPGXxgOtzd0kVuAjmYGjq2hQWbuowjM18gNaYqkMEA7afTSymC8IYEW/eOxia6ng6hyB0PkiwqpAV4b\u002BzHhhbxUqK0JCn4VmSqZ7LEOYUEUFGXn61hItsE8t7a\u002BKKbZg4NdcUXDaDGSaSh53u75PHANIqRBrXR8TN/GRswVDi74/zbKwZSSzDhqrH\u002BnaWKVtPJJRy74PSuGyToStevvdyTzfWUfnRGB/sKJ7UgxPBXldQ7uL7xrAow5cST7iL\u002BYwpxMqOb0n3E0elTeoN84UuyeZuoftFdJwuK5iglTMFTp3ckRMflz5IzkiXj58ob6pT", + "cancellation_requested": false, + "status": "completed", + "target": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f", + "request_id": "a784bfda74f641d8ac1520fd3d1cecb1" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "413bba69-7f0b-488c-86ee-e4fc6020df9a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALbCY9sPROdH3TMchvLsMFAt+Rc25Jl4980bDFch5Th0K9OsPwL+UIhfSjOn6QMSuhfnp2Did61KfOT7S6cq8UKjyU0NBREn4gG0VWOMWgWUYS8OwGivLG0XRasyQ6DIcqZGfan2GIklwSSqsJbASOZ7P52+sqr9xNMxF3ZOA4bZmohFnXXMmz4oVhao/W+vUiZZcM37Hof08mXrFJg5amtsr01TTYEqsQVg2SKHQnzYbgq2dh7fjeypknlijpjdsoOQt6QbbCgeLjiIftFP5ZQmqc98b9p3p1fLNNBxMwrLbnfwMm9ImisIDTsDTtaUzuLFzfSuZOP53f0icZquebECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAgbbp8JEVnB4GMDlzJwFxjsHZ+R3pbOqTY+eHI85C5Hafg/kOHJxz7zcosASxkNqZZ8VDcBSRipibuunjh0PqKrVoaZ7ZY65PSuFCw9t9oXm0Xzyq0eGrCLZiVsm3Qw6/QcGQZLf5xgFnF6Dd78HAtyX+DwExY8oYfERhtcm8B4UGbuW1msmyIfh+s3kLLkOhA5f9sjp1s63tBhgivOavr6Bad9qaBsihprLGfilUi/FAPmQhz7PsZvyjYPeD83X5w3qYU2KWIB1pQQZZrEYa9kGhwxw14lhXPvi5XGYMfN02Jg2xm/7m3xkwahS9+D7+4aFdZg3v3c11sP91CGN2l\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"f0854af0c18d49fe9f6fc0f02e531503\"}", - "Location" : "https://azsdktests.vault.azure.net/certificates/testcert13307850/pending?api-version=7.4&request_id=f0854af0c18d49fe9f6fc0f02e531503", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1a9a4952-2bdf-4bbb-b1d8-4e152df28063" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "x5t": "TSCi97ZyUKHrF8xUzdCbzca2064", + "cer": "MIIDNjCCAh6gAwIBAgIQDwCu8DlqRyygBrO\u002B7Yo1NTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw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led": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "policy": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/policy", + "key_props": { + "exportable": true, + "kty": "RSA", + "key_size": 2048, + "reuse_key": false + }, + "secret_props": { + "contentType": "application/x-pkcs12" + }, + "x509_props": { + "subject": "CN=DefaultPolicy", + "sans": {}, + "ekus": [ + "1.3.6.1.5.5.7.3.1", + "1.3.6.1.5.5.7.3.2" + ], + "key_usage": [ + "digitalSignature", + "keyEncipherment" + ], + "validity_months": 12, + "basic_constraints": { + "ca": false + } + }, + "lifetime_actions": [ + { + "trigger": { + "lifetime_percentage": 80 + }, + "action": { + "action_type": "AutoRenew" + } + } + ], + "issuer": { + "name": "Self" + }, + "attributes": { + "enabled": true, + "created": 1681267931, + "updated": 1681267931 + } + }, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/pending" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Retry-After" : "0", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1299", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aadfdb85-5259-4326-beb4-0ed9349cef6b", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALbCY9sPROdH3TMchvLsMFAt+Rc25Jl4980bDFch5Th0K9OsPwL+UIhfSjOn6QMSuhfnp2Did61KfOT7S6cq8UKjyU0NBREn4gG0VWOMWgWUYS8OwGivLG0XRasyQ6DIcqZGfan2GIklwSSqsJbASOZ7P52+sqr9xNMxF3ZOA4bZmohFnXXMmz4oVhao/W+vUiZZcM37Hof08mXrFJg5amtsr01TTYEqsQVg2SKHQnzYbgq2dh7fjeypknlijpjdsoOQt6QbbCgeLjiIftFP5ZQmqc98b9p3p1fLNNBxMwrLbnfwMm9ImisIDTsDTtaUzuLFzfSuZOP53f0icZquebECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAgbbp8JEVnB4GMDlzJwFxjsHZ+R3pbOqTY+eHI85C5Hafg/kOHJxz7zcosASxkNqZZ8VDcBSRipibuunjh0PqKrVoaZ7ZY65PSuFCw9t9oXm0Xzyq0eGrCLZiVsm3Qw6/QcGQZLf5xgFnF6Dd78HAtyX+DwExY8oYfERhtcm8B4UGbuW1msmyIfh+s3kLLkOhA5f9sjp1s63tBhgivOavr6Bad9qaBsihprLGfilUi/FAPmQhz7PsZvyjYPeD83X5w3qYU2KWIB1pQQZZrEYa9kGhwxw14lhXPvi5XGYMfN02Jg2xm/7m3xkwahS9+D7+4aFdZg3v3c11sP91CGN2l\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"f0854af0c18d49fe9f6fc0f02e531503\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/pending?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1217", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d9383e25-967f-4666-aa93-9ee9bb80f1e9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICqDCCAZACAQAwGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALbCY9sPROdH3TMchvLsMFAt+Rc25Jl4980bDFch5Th0K9OsPwL+UIhfSjOn6QMSuhfnp2Did61KfOT7S6cq8UKjyU0NBREn4gG0VWOMWgWUYS8OwGivLG0XRasyQ6DIcqZGfan2GIklwSSqsJbASOZ7P52+sqr9xNMxF3ZOA4bZmohFnXXMmz4oVhao/W+vUiZZcM37Hof08mXrFJg5amtsr01TTYEqsQVg2SKHQnzYbgq2dh7fjeypknlijpjdsoOQt6QbbCgeLjiIftFP5ZQmqc98b9p3p1fLNNBxMwrLbnfwMm9ImisIDTsDTtaUzuLFzfSuZOP53f0icZquebECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQAgbbp8JEVnB4GMDlzJwFxjsHZ+R3pbOqTY+eHI85C5Hafg/kOHJxz7zcosASxkNqZZ8VDcBSRipibuunjh0PqKrVoaZ7ZY65PSuFCw9t9oXm0Xzyq0eGrCLZiVsm3Qw6/QcGQZLf5xgFnF6Dd78HAtyX+DwExY8oYfERhtcm8B4UGbuW1msmyIfh+s3kLLkOhA5f9sjp1s63tBhgivOavr6Bad9qaBsihprLGfilUi/FAPmQhz7PsZvyjYPeD83X5w3qYU2KWIB1pQQZZrEYa9kGhwxw14lhXPvi5XGYMfN02Jg2xm/7m3xkwahS9+D7+4aFdZg3v3c11sP91CGN2l\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850\",\"request_id\":\"f0854af0c18d49fe9f6fc0f02e531503\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "2445", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6f005e15-4ed6-43bc-aa6d-b1e40d68e528", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"x5t\":\"Eg-0L9EaxUq18cir7rxYtNsizu4\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQRpKK9LmhQgWAGfQfnkRdKjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTk0NVoXDTI0MDMxNjA4MDk0NVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALbCY9sPROdH3TMchvLsMFAt+Rc25Jl4980bDFch5Th0K9OsPwL+UIhfSjOn6QMSuhfnp2Did61KfOT7S6cq8UKjyU0NBREn4gG0VWOMWgWUYS8OwGivLG0XRasyQ6DIcqZGfan2GIklwSSqsJbASOZ7P52+sqr9xNMxF3ZOA4bZmohFnXXMmz4oVhao/W+vUiZZcM37Hof08mXrFJg5amtsr01TTYEqsQVg2SKHQnzYbgq2dh7fjeypknlijpjdsoOQt6QbbCgeLjiIftFP5ZQmqc98b9p3p1fLNNBxMwrLbnfwMm9ImisIDTsDTtaUzuLFzfSuZOP53f0icZquebECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFF9CnYSeL8ZDpqJRLgKwmq2IdN6SMB0GA1UdDgQWBBRfQp2Eni/GQ6aiUS4CsJqtiHTekjANBgkqhkiG9w0BAQsFAAOCAQEAQXxCSAvjZcyIhKt3h4Cfk19SofNHmjC9ZaNwOwAtTaqGD0KMIdoRNof2vQcF3+pbEzrEDRvlMhrYkpP/Sw5Gr5oCW2dWIpCAm8El7sQ8XProAdfxdI4Di2hhK/zzh5af62Fi0ZUyF/AeOR0TZQ0hiX4Ii1sKFldkfn5WJMxjBd1UmoNGf+WCzbgvoyNzMFMy9GSS/JA3GLyikFdPCLoyTseIQU5WUa86BUY954fX4LAId1uXOi2XUmbRAV7Suqpx9P17v7Doib1A8okwNW5DTXgVJ9OcsHkMcuUCaVvVdB9LCdZ1fkls5Jcl1PTgDei+K4A21FOwH6OIRfP2noVrLg==\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"},\"policy\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=DefaultPolicy\",\"sans\":{},\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1678954183,\"updated\":1678954183}},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "1761", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7b00dc33-8cc0-4946-a829-55bbeeb1aa47", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"sid\":\"https://azsdktests.vault.azure.net/secrets/testcert13307850/ebffa1067b024b73ac7cbb552ec2ba76\",\"x5t\":\"Eg-0L9EaxUq18cir7rxYtNsizu4\",\"cer\":\"MIIDNjCCAh6gAwIBAgIQRpKK9LmhQgWAGfQfnkRdKjANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDMxNjA3NTk0NVoXDTI0MDMxNjA4MDk0NVowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALbCY9sPROdH3TMchvLsMFAt+Rc25Jl4980bDFch5Th0K9OsPwL+UIhfSjOn6QMSuhfnp2Did61KfOT7S6cq8UKjyU0NBREn4gG0VWOMWgWUYS8OwGivLG0XRasyQ6DIcqZGfan2GIklwSSqsJbASOZ7P52+sqr9xNMxF3ZOA4bZmohFnXXMmz4oVhao/W+vUiZZcM37Hof08mXrFJg5amtsr01TTYEqsQVg2SKHQnzYbgq2dh7fjeypknlijpjdsoOQt6QbbCgeLjiIftFP5ZQmqc98b9p3p1fLNNBxMwrLbnfwMm9ImisIDTsDTtaUzuLFzfSuZOP53f0icZquebECAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFF9CnYSeL8ZDpqJRLgKwmq2IdN6SMB0GA1UdDgQWBBRfQp2Eni/GQ6aiUS4CsJqtiHTekjANBgkqhkiG9w0BAQsFAAOCAQEAQXxCSAvjZcyIhKt3h4Cfk19SofNHmjC9ZaNwOwAtTaqGD0KMIdoRNof2vQcF3+pbEzrEDRvlMhrYkpP/Sw5Gr5oCW2dWIpCAm8El7sQ8XProAdfxdI4Di2hhK/zzh5af62Fi0ZUyF/AeOR0TZQ0hiX4Ii1sKFldkfn5WJMxjBd1UmoNGf+WCzbgvoyNzMFMy9GSS/JA3GLyikFdPCLoyTseIQU5WUa86BUY954fX4LAId1uXOi2XUmbRAV7Suqpx9P17v7Doib1A8okwNW5DTXgVJ9OcsHkMcuUCaVvVdB9LCdZ1fkls5Jcl1PTgDei+K4A21FOwH6OIRfP2noVrLg==\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"pending\":{\"id\":\"https://azsdktests.vault.azure.net/certificates/testcert13307850/pending\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testcert13307850" ] + { + "RequestUri": "https://REDACTED/certificates/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "76", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332 + }, + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1753", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:52:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9bcd68a1-5ffd-42cd-81b5-807c064fab83" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "sid": "https://azkvrecordtests.vault.azure.net/secrets/testcert92573f0f/2f90a0e257e14eb8a4572445c720671c", + "x5t": "TSCi97ZyUKHrF8xUzdCbzca2064", + "cer": "MIIDNjCCAh6gAwIBAgIQDwCu8DlqRyygBrO\u002B7Yo1NTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDEw1EZWZhdWx0UG9saWN5MB4XDTIzMDQxMjAyNDIxMloXDTI0MDQxMjAyNTIxMlowGDEWMBQGA1UEAxMNRGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwH0ajkKF/F2j/lrbEOt/XfFYeoZxoiD9QvHUGvc2GW1uru\u002B6NyU8jddDeVUTpQARRT8Zlr158KpO1QZltJoLnxARiIwypZhTbGG9YoOPqYT2C7hpA7Lg5iBlCvkzgJSu00q84W/qRhfRNoy7qhc5PqVBlrNX6hqgVVjOgt7NSND7vyoZNbX4ZSSJcqFGTgOrYH/\u002BGVfMgYmuz/bmAHJMkNYp7VBm2qtx4lv9QEUhNgwXSzCn56KvsPgUoP8Y5nWR8T7Wy9vbKOiBnoCc2o6pf1c\u002BIWbxah\u002BTV3JXrZEUl8Tcjec0Mx3NXFCgLZU2iIgc9SYwD4\u002BG7j22EK5kVPcE0CAwEAAaN8MHowDgYDVR0PAQH/BAQDAgWgMAkGA1UdEwQCMAAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFEOpSGCtDzkY0mt7/xOVwm3nb2I7MB0GA1UdDgQWBBRDqUhgrQ85GNJre/8TlcJt529iOzANBgkqhkiG9w0BAQsFAAOCAQEATb2jfBFeVQ6tehSD841e58gLFhjMHRc3XLSfVHIjkI8sfwU3BCgEB1UMwTfhp6RTovl7gIvZ0WMXXiT9e\u002Bbf34VR4lRDBngxziJCyq2IIKsMSeF5sjWbbWcrVcw9hdKmITGGRdiwqg9cOhQK9C0AYiPThSmvoTPZQ5HpokcshhskWGRSGMhWovqkpTBAuHnpKX\u002BAePeclErH6oDHCtZ/D4gbqcX55pYBRiWYPOMS82k2hbMSnmxGayMPdtjBDS7fTTeXOaoXdnlt3TvOlig9OVuodoZHwn6zkazp/e2c1MnmPeT47Ic5GJYEr\u002B1XhidTp7NJ6EU5NQ\u002BI0wjZIhFtTg==", + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "pending": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/testcert92573f0f/pending" + } + } + } + ], + "Variables": { + "0": "testcert92573f0f" + } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateIssuer[1].json b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateIssuer[1].json index 5a597ed4b191f..ccecd20d05638 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateIssuer[1].json +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/test/resources/session-records/CertificateClientTest.updateIssuer[1].json @@ -1,54 +1,185 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer5286724d1b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer14119d9d29?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d7aa87e4-5860-41de-8409-0a6917524dd5" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "382", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f745259a-c5ee-48af-b354-a3c72fe35df4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5286724d1b\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"issuerAccountId\"},\"org_details\":{\"id\":\"orgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"first\",\"last_name\":\"last\",\"email\":\"first.last@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":true,\"created\":1678954157,\"updated\":1678954157}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer14119d9d29?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "273", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "orgId", + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8b62dbeb-4d17-4c92-a142-5c10dfdaa691" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer14119d9d29", + "provider": "Test", + "credentials": { + "account_id": "issuerAccountId" + }, + "org_details": { + "id": "orgId", + "zip": 0, + "admin_details": [ + { + "first_name": "first", + "last_name": "last", + "email": "first.last@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": true, + "created": 1681267919, + "updated": 1681267919 + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/certificates/issuers/testissuer5286724d1b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "413", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "305f2ae9-63aa-45f4-ad0a-b24758cf4812", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/certificates/issuers/testissuer5286724d1b\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"otherIssuerAccountId\"},\"org_details\":{\"id\":\"otherOrgId\",\"zip\":0,\"admin_details\":[{\"first_name\":\"otherFirst\",\"last_name\":\"otherLast\",\"email\":\"otherFirst.otherLast@hotmail.com\",\"phone\":\"000-000-0000\"}]},\"attributes\":{\"enabled\":false,\"created\":1678954157,\"updated\":1678954157}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testissuer5286724d1b" ] + { + "RequestUri": "https://REDACTED/certificates/issuers/testissuer14119d9d29?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "304", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "provider": "Test", + "credentials": { + "account_id": "otherIssuerAccountId", + "pwd": "fakePasswordPlaceholder" + }, + "org_details": { + "id": "otherOrgId", + "admin_details": [ + { + "first_name": "otherFirst", + "last_name": "otherLast", + "email": "otherFirst.otherLast@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": false + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "411", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "02e139d8-9b4b-47b5-b673-f11efb18a328" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/certificates/issuers/testissuer14119d9d29", + "provider": "Test", + "credentials": { + "account_id": "otherIssuerAccountId" + }, + "org_details": { + "id": "otherOrgId", + "zip": 0, + "admin_details": [ + { + "first_name": "otherFirst", + "last_name": "otherLast", + "email": "otherFirst.otherLast@hotmail.com", + "phone": "000-000-0000" + } + ] + }, + "attributes": { + "enabled": false, + "created": 1681267919, + "updated": 1681267919 + } + } + } + ], + "Variables": { + "0": "testissuer14119d9d29" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java index 4b2dd337d580b..fd47d2359c956 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/KeyAsyncClient.java @@ -62,7 +62,8 @@ */ @ServiceClient(builder = KeyClientBuilder.class, isAsync = true, serviceInterfaces = KeyClientImpl.KeyService.class) public final class KeyAsyncClient { - private final ClientLogger logger = new ClientLogger(KeyAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyAsyncClient.class); + private final KeyClientImpl implClient; /** @@ -167,7 +168,7 @@ public Mono createKey(String name, KeyType keyType) { return withContext(context -> implClient.createKeyWithResponseAsync(name, keyType, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -214,7 +215,7 @@ public Mono> createKeyWithResponse(CreateKeyOptions create try { return withContext(context -> implClient.createKeyWithResponseAsync(createKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -265,7 +266,7 @@ public Mono createKey(CreateKeyOptions createKeyOptions) { try { return createKeyWithResponse(createKeyOptions).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -318,7 +319,7 @@ public Mono createRsaKey(CreateRsaKeyOptions createRsaKeyOptions) { try { return createRsaKeyWithResponse(createRsaKeyOptions).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -371,7 +372,7 @@ public Mono> createRsaKeyWithResponse(CreateRsaKeyOptions try { return withContext(context -> implClient.createRsaKeyWithResponseAsync(createRsaKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -424,7 +425,7 @@ public Mono createEcKey(CreateEcKeyOptions createEcKeyOptions) { try { return createEcKeyWithResponse(createEcKeyOptions).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -479,7 +480,7 @@ public Mono> createEcKeyWithResponse(CreateEcKeyOptions cr try { return withContext(context -> implClient.createEcKeyWithResponseAsync(createEcKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -528,7 +529,7 @@ public Mono createOctKey(CreateOctKeyOptions createOctKeyOptions) { try { return createOctKeyWithResponse(createOctKeyOptions).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -578,7 +579,7 @@ public Mono> createOctKeyWithResponse(CreateOctKeyOptions try { return withContext(context -> implClient.createOctKeyWithResponseAsync(createOctKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -614,7 +615,7 @@ public Mono importKey(String name, JsonWebKey keyMaterial) { return withContext(context -> implClient.importKeyWithResponseAsync(name, keyMaterial, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -659,7 +660,7 @@ public Mono importKey(ImportKeyOptions importKeyOptions) { try { return importKeyWithResponse(importKeyOptions).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -705,7 +706,7 @@ public Mono> importKeyWithResponse(ImportKeyOptions import try { return withContext(context -> implClient.importKeyWithResponseAsync(importKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -745,7 +746,7 @@ public Mono getKey(String name, String version) { try { return getKeyWithResponse(name, version).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -786,7 +787,7 @@ public Mono> getKeyWithResponse(String name, String versio return withContext(context -> implClient.getKeyWithResponseAsync(name, version == null ? "" : version, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -821,7 +822,7 @@ public Mono getKey(String name) { try { return getKeyWithResponse(name, "").flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -873,7 +874,7 @@ public Mono> updateKeyPropertiesWithResponse(KeyProperties return withContext(context -> implClient.updateKeyPropertiesWithResponseAsync(keyProperties, context, keyOperations)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -922,7 +923,7 @@ public Mono updateKeyProperties(KeyProperties keyProperties, KeyOpe try { return updateKeyPropertiesWithResponse(keyProperties, keyOperations).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -990,7 +991,7 @@ public Mono getDeletedKey(String name) { try { return getDeletedKeyWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1023,7 +1024,7 @@ public Mono> getDeletedKeyWithResponse(String name) { try { return withContext(context -> implClient.getDeletedKeyWithResponseAsync(name, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1055,7 +1056,7 @@ public Mono purgeDeletedKey(String name) { try { return purgeDeletedKeyWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1088,7 +1089,7 @@ public Mono> purgeDeletedKeyWithResponse(String name) { try { return withContext(context -> implClient.purgeDeletedKeyWithResponseAsync(name, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1161,7 +1162,7 @@ public Mono backupKey(String name) { try { return backupKeyWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1203,7 +1204,7 @@ public Mono> backupKeyWithResponse(String name) { try { return withContext(context -> implClient.backupKeyWithResponseAsync(name, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1245,7 +1246,7 @@ public Mono restoreKeyBackup(byte[] backup) { try { return restoreKeyBackupWithResponse(backup).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1288,7 +1289,7 @@ public Mono> restoreKeyBackupWithResponse(byte[] backup) { try { return withContext(context -> implClient.restoreKeyBackupWithResponseAsync(backup, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1408,7 +1409,7 @@ public Mono getRandomBytes(int count) { return withContext(context -> implClient.getRandomBytesWithResponseAsync(count, context).flatMap(FluxUtil::toMono)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1437,7 +1438,7 @@ public Mono> getRandomBytesWithResponse(int count) { try { return withContext(context -> implClient.getRandomBytesWithResponseAsync(count, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1473,7 +1474,7 @@ public Mono releaseKey(String name, String targetAttestationTo return releaseKeyWithResponse(name, "", targetAttestationToken, new ReleaseKeyOptions()) .flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1512,7 +1513,7 @@ public Mono releaseKey(String name, String version, String tar return releaseKeyWithResponse(name, version, targetAttestationToken, new ReleaseKeyOptions()) .flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1563,7 +1564,7 @@ public Mono> releaseKeyWithResponse(String name, Stri implClient.releaseKeyWithResponseAsync(name, version, targetAttestationToken, releaseKeyOptions, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1595,7 +1596,7 @@ public Mono rotateKey(String name) { try { return rotateKeyWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1630,7 +1631,7 @@ public Mono> rotateKeyWithResponse(String name) { try { return withContext(context -> implClient.rotateKeyWithResponseAsync(name, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1662,7 +1663,7 @@ public Mono getKeyRotationPolicy(String keyName) { try { return getKeyRotationPolicyWithResponse(keyName).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1697,7 +1698,7 @@ public Mono> getKeyRotationPolicyWithResponse(String try { return withContext(context -> implClient.getKeyRotationPolicyWithResponseAsync(keyName, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1743,7 +1744,7 @@ public Mono updateKeyRotationPolicy(String keyName, KeyRotati try { return updateKeyRotationPolicyWithResponse(keyName, keyRotationPolicy).flatMap(FluxUtil::toMono); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1794,7 +1795,7 @@ public Mono> updateKeyRotationPolicyWithResponse(Str return withContext(context -> implClient.updateKeyRotationPolicyWithResponseAsync(keyName, keyRotationPolicy, context)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesCbcHmacSha2.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesCbcHmacSha2.java index 96cbdb913d99e..c3d2c3a10f312 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesCbcHmacSha2.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesCbcHmacSha2.java @@ -17,8 +17,8 @@ import java.security.Provider; abstract class AesCbcHmacSha2 extends SymmetricEncryptionAlgorithm { + private static final ClientLogger LOGGER = new ClientLogger(AesCbcHmacSha2.class); private static final long BYTE_TO_BITS = 8L; - private final ClientLogger logger = new ClientLogger(AesCbcHmacSha2.class); abstract static class AbstractAesCbcHmacSha2CryptoTransform implements IAuthenticatedCryptoTransform { byte[] tag; @@ -117,7 +117,7 @@ private Triplet getAlgorithmParameters(String algorithm, by } static class AesCbcHmacSha2Decryptor extends AbstractAesCbcHmacSha2CryptoTransform { - final ClientLogger logger = new ClientLogger(AesCbcHmacSha2Decryptor.class); + private static final ClientLogger LOGGER = new ClientLogger(AesCbcHmacSha2Decryptor.class); AesCbcHmacSha2Decryptor(String name, byte[] key, byte[] iv, byte[] authenticationData, byte[] authenticationTag, Provider provider) @@ -145,7 +145,7 @@ public byte[] doFinal(byte[] input) // Check the tag before performing the final decrypt if (!ByteExtensions.sequenceEqualConstantTime(tag, tag)) { - throw logger.logExceptionAsWarning(new IllegalArgumentException("Data is not authentic")); + throw LOGGER.logExceptionAsWarning(new IllegalArgumentException("Data is not authentic")); } return inner.doFinal(input); @@ -202,19 +202,19 @@ public ICryptoTransform createDecryptor(byte[] key, byte[] iv, byte[] additional throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException { if (key == null) { - throw logger.logExceptionAsWarning(new IllegalArgumentException("No key material")); + throw LOGGER.logExceptionAsWarning(new IllegalArgumentException("No key material")); } if (iv == null) { - throw logger.logExceptionAsWarning(new IllegalArgumentException("No initialization vector")); + throw LOGGER.logExceptionAsWarning(new IllegalArgumentException("No initialization vector")); } if (additionalAuthenticatedData == null) { - throw logger.logExceptionAsWarning(new IllegalArgumentException("No authentication data")); + throw LOGGER.logExceptionAsWarning(new IllegalArgumentException("No authentication data")); } if (authenticationTag == null) { - throw logger.logExceptionAsWarning(new IllegalArgumentException("No authentication tag")); + throw LOGGER.logExceptionAsWarning(new IllegalArgumentException("No authentication tag")); } // Create the Decryptor @@ -237,15 +237,15 @@ public ICryptoTransform createEncryptor(byte[] key, byte[] iv, byte[] additional InvalidAlgorithmParameterException { if (key == null) { - throw logger.logExceptionAsError(new IllegalArgumentException("No key material")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("No key material")); } if (iv == null) { - throw logger.logExceptionAsError(new IllegalArgumentException("No initialization vector")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("No initialization vector")); } if (additionalAuthenticatedData == null) { - throw logger.logExceptionAsError(new IllegalArgumentException("No authentication data")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("No authentication data")); } // Create the Encryptor diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKeyCryptographyClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKeyCryptographyClient.java index aa79aa5cfe697..3a6f04174523e 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKeyCryptographyClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKeyCryptographyClient.java @@ -24,12 +24,12 @@ import java.util.Objects; class AesKeyCryptographyClient extends LocalKeyCryptographyClient { - static final int AES_BLOCK_SIZE = 16; - - private final ClientLogger logger = new ClientLogger(AesKeyCryptographyClient.class); + private static final ClientLogger LOGGER = new ClientLogger(AesKeyCryptographyClient.class); private byte[] key; + static final int AES_BLOCK_SIZE = 16; + /** * Creates a {@link AesKeyCryptographyClient} to perform local cryptography operations. * @@ -74,14 +74,14 @@ private Mono encryptInternal(EncryptionAlgorithm algorithm, byte[ } if (!isAes(algorithm)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalStateException("Encryption algorithm provided is not supported: " + algorithm)); } this.key = getKey(jsonWebKey); if (key == null || key.length == 0) { - throw logger.logExceptionAsError(new IllegalArgumentException("Key is empty.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("Key is empty.")); } // Interpret the algorithm @@ -99,7 +99,7 @@ private Mono encryptInternal(EncryptionAlgorithm algorithm, byte[ if (isAes(algorithm)) { iv = generateRandomByteArray(AES_BLOCK_SIZE); } else { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalStateException("Encryption algorithm provided is not supported: " + algorithm)); } } @@ -145,14 +145,14 @@ private Mono decryptInternal(EncryptionAlgorithm algorithm, byte[ } if (!isAes(algorithm)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalStateException("Encryption algorithm provided is not supported: " + algorithm)); } this.key = getKey(jsonWebKey); if (key == null || key.length == 0) { - throw logger.logExceptionAsError(new IllegalArgumentException("Key is empty.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("Key is empty.")); } // Interpret the algorithm @@ -202,7 +202,7 @@ Mono wrapKeyAsync(KeyWrapAlgorithm algorithm, byte[] key, Context co this.key = getKey(jsonWebKey); if (key == null || key.length == 0) { - throw logger.logExceptionAsError(new IllegalArgumentException("key")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("key")); } // Interpret the algorithm @@ -284,7 +284,7 @@ private byte[] generateRandomByteArray(int sizeInBytes) { iv = new byte[sizeInBytes]; randomSecureRandom.nextBytes(iv); } catch (NoSuchAlgorithmException e) { - logger.logThrowableAsError(e); + LOGGER.logThrowableAsError(e); } return iv; diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKw.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKw.java index b16ce1f2e93b4..d7e80f454e3f0 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKw.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/AesKw.java @@ -17,11 +17,13 @@ import java.security.Provider; abstract class AesKw extends LocalKeyWrapAlgorithm { + private static final ClientLogger LOGGER = new ClientLogger(AesKw.class); + static final int BLOCK_SIZE_IN_BITS = 64; + static final String CIPHER_NAME = "AESWrap"; static final byte[] DEFAULT_IV = new byte[]{(byte) 0xA6, (byte) 0xA6, (byte) 0xA6, (byte) 0xA6, (byte) 0xA6, (byte) 0xA6, (byte) 0xA6, (byte) 0xA6}; - static final String CIPHER_NAME = "AESWrap"; static class AesKwDecryptor implements ICryptoTransform { final Cipher cipher; @@ -86,8 +88,6 @@ public byte[] doFinal(byte[] plaintext) } - private final ClientLogger logger = new ClientLogger(AesKw.class); - protected AesKw(String name) { super(name); } @@ -122,22 +122,22 @@ public ICryptoTransform createEncryptor(byte[] key, byte[] iv, Provider provider InvalidAlgorithmParameterException { if (key == null) { - throw logger.logExceptionAsError(new IllegalArgumentException("key")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("key")); } if (key.length != 128 >> 3 && key.length != 192 >> 3 && key.length != 256 >> 3) { - throw logger.logExceptionAsError(new IllegalArgumentException("key length must be 128, 192 or 256 bits")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("key length must be 128, 192 or 256 bits")); } if (iv != null) { // iv length must be 64 bits if (iv.length != BLOCK_SIZE_IN_BITS >> 3) { - throw logger.logExceptionAsError(new IllegalArgumentException(String.format( + throw LOGGER.logExceptionAsError(new IllegalArgumentException(String.format( "iv length must be %s bits", BLOCK_SIZE_IN_BITS))); } // iv cannot be specified with the default provider if (provider == null) { - throw logger.logExceptionAsError(new IllegalArgumentException( + throw LOGGER.logExceptionAsError(new IllegalArgumentException( "user specified iv is not supported with the default provider")); } } @@ -176,22 +176,22 @@ public ICryptoTransform createDecryptor(byte[] key, byte[] iv, Provider provider InvalidAlgorithmParameterException { if (key == null) { - throw logger.logExceptionAsError(new IllegalArgumentException("key")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("key")); } if (key.length != 128 >> 3 && key.length != 192 >> 3 && key.length != 256 >> 3) { - throw logger.logExceptionAsError(new IllegalArgumentException("key length must be 128, 192 or 256 bits")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("key length must be 128, 192 or 256 bits")); } if (iv != null) { // iv length must be 64 bits if (iv.length != BLOCK_SIZE_IN_BITS >> 3) { - throw logger.logExceptionAsError(new IllegalArgumentException(String.format( + throw LOGGER.logExceptionAsError(new IllegalArgumentException(String.format( "iv length must be %s bits", BLOCK_SIZE_IN_BITS))); } // iv cannot be specified with the default provider if (provider == null) { - throw logger.logExceptionAsError(new IllegalArgumentException( + throw LOGGER.logExceptionAsError(new IllegalArgumentException( "user specified iv is not supported with the default provider")); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyAsyncClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyAsyncClient.java index 1db4a664a2657..a39869b3f082c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyAsyncClient.java @@ -73,11 +73,8 @@ */ @ServiceClient(builder = CryptographyClientBuilder.class, isAsync = true, serviceInterfaces = CryptographyService.class) public class CryptographyAsyncClient { - static final String SECRETS_COLLECTION = "secrets"; - - JsonWebKey key; + private static final ClientLogger LOGGER = new ClientLogger(CryptographyAsyncClient.class); - private final ClientLogger logger = new ClientLogger(CryptographyAsyncClient.class); private final CryptographyService service; private final HttpPipeline pipeline; private final String keyId; @@ -86,6 +83,10 @@ public class CryptographyAsyncClient { private LocalKeyCryptographyClient localKeyCryptographyClient; private String keyCollection; + static final String SECRETS_COLLECTION = "secrets"; + + JsonWebKey key; + /** * Creates a {@link CryptographyAsyncClient} that uses a given {@link HttpPipeline pipeline} to service requests. * @@ -145,7 +146,7 @@ private void initializeCryptoClients() { } else if (key.getKeyType().equals(OCT) || key.getKeyType().equals(OCT_HSM)) { this.localKeyCryptographyClient = new AesKeyCryptographyClient(this.key, this.cryptographyServiceClient); } else { - throw logger.logExceptionAsError(new IllegalArgumentException(String.format( + throw LOGGER.logExceptionAsError(new IllegalArgumentException(String.format( "The JSON Web Key type: %s is not supported.", this.key.getKeyType().toString()))); } } @@ -189,7 +190,7 @@ public Mono getKey() { try { return getKeyWithResponse().flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -221,7 +222,7 @@ public Mono> getKeyWithResponse() { try { return withContext(this::getKeyWithResponse); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -229,7 +230,7 @@ Mono> getKeyWithResponse(Context context) { if (cryptographyServiceClient != null) { return cryptographyServiceClient.getKey(context); } else { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Operation not supported when in operating local-only mode")); } } @@ -239,7 +240,7 @@ Mono getSecretKey() { return withContext(context -> cryptographyServiceClient.getSecretKey(context)) .flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -357,7 +358,7 @@ public Mono encrypt(EncryptParameters encryptParameters) { try { return withContext(context -> encrypt(encryptParameters, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -368,7 +369,7 @@ Mono encrypt(EncryptionAlgorithm algorithm, byte[] plaintext, Con } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.ENCRYPT)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Encrypt operation is missing permission/not supported for key with id: %s", key.getId())))); } @@ -383,7 +384,7 @@ Mono encrypt(EncryptParameters encryptParameters, Context context } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.ENCRYPT)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Encrypt operation is missing permission/not supported for key with id: %s", key.getId())))); } @@ -503,7 +504,7 @@ public Mono decrypt(DecryptParameters decryptParameters) { try { return withContext(context -> decrypt(decryptParameters, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -514,7 +515,7 @@ Mono decrypt(EncryptionAlgorithm algorithm, byte[] ciphertext, Co } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.DECRYPT)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Decrypt operation is not allowed for key with id: %s", key.getId())))); } @@ -529,7 +530,7 @@ Mono decrypt(DecryptParameters decryptParameters, Context context } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.DECRYPT)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Decrypt operation is not allowed for key with id: %s", key.getId())))); } @@ -584,7 +585,7 @@ public Mono sign(SignatureAlgorithm algorithm, byte[] digest) { try { return withContext(context -> sign(algorithm, digest, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -598,7 +599,7 @@ Mono sign(SignatureAlgorithm algorithm, byte[] digest, Context conte } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.SIGN)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Sign operation is not allowed for key with id: %s", key.getId())))); } @@ -655,7 +656,7 @@ public Mono verify(SignatureAlgorithm algorithm, byte[] digest, by try { return withContext(context -> verify(algorithm, digest, signature, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -670,7 +671,7 @@ Mono verify(SignatureAlgorithm algorithm, byte[] digest, byte[] si } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.VERIFY)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Verify operation is not allowed for key with id: %s", key.getId())))); } @@ -723,7 +724,7 @@ public Mono wrapKey(KeyWrapAlgorithm algorithm, byte[] key) { try { return withContext(context -> wrapKey(algorithm, key, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -737,7 +738,7 @@ Mono wrapKey(KeyWrapAlgorithm algorithm, byte[] key, Context context } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.WRAP_KEY)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Wrap Key operation is not allowed for key with id: %s", this.key.getId())))); } @@ -791,7 +792,7 @@ public Mono unwrapKey(KeyWrapAlgorithm algorithm, byte[] encrypted try { return withContext(context -> unwrapKey(algorithm, encryptedKey, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -805,7 +806,7 @@ Mono unwrapKey(KeyWrapAlgorithm algorithm, byte[] encryptedKey, Co } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.UNWRAP_KEY)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Unwrap Key operation is not allowed for key with id: %s", this.key.getId())))); } @@ -857,7 +858,7 @@ public Mono signData(SignatureAlgorithm algorithm, byte[] data) { try { return withContext(context -> signData(algorithm, data, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -871,7 +872,7 @@ Mono signData(SignatureAlgorithm algorithm, byte[] data, Context con } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.SIGN)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Sign Operation is not allowed for key with id: %s", this.key.getId())))); } @@ -925,7 +926,7 @@ public Mono verifyData(SignatureAlgorithm algorithm, byte[] data, try { return withContext(context -> verifyData(algorithm, data, signature, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -940,7 +941,7 @@ Mono verifyData(SignatureAlgorithm algorithm, byte[] data, byte[] } if (!checkKeyPermissions(this.key.getKeyOps(), KeyOperation.VERIFY)) { - return Mono.error(logger.logExceptionAsError(new UnsupportedOperationException(String.format( + return Mono.error(LOGGER.logExceptionAsError(new UnsupportedOperationException(String.format( "Verify operation is not allowed for key with id: %s", this.key.getId())))); } @@ -950,7 +951,7 @@ Mono verifyData(SignatureAlgorithm algorithm, byte[] data, byte[] private void unpackAndValidateId(String keyId) { if (CoreUtils.isNullOrEmpty(keyId)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'keyId' cannot be null or empty.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'keyId' cannot be null or empty.")); } try { @@ -966,14 +967,14 @@ private void unpackAndValidateId(String keyId) { this.keyCollection = (tokens.length >= 2 ? tokens[1] : null); if (Strings.isNullOrEmpty(endpoint)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("Key endpoint in key identifier is invalid.")); } else if (Strings.isNullOrEmpty(keyName)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("Key name in key identifier is invalid.")); } } catch (MalformedURLException e) { - throw logger.logExceptionAsError(new IllegalArgumentException("The key identifier is malformed.", e)); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("The key identifier is malformed.", e)); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyServiceClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyServiceClient.java index de6aee07f5305..83cbd2639a5ec 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyServiceClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyServiceClient.java @@ -45,18 +45,20 @@ import java.util.Objects; class CryptographyServiceClient { + private static final ClientLogger LOGGER = new ClientLogger(CryptographyServiceClient.class); private static final ObjectMapper MAPPER = new ObjectMapper(); - final String apiVersion; - static final String ACCEPT_LANGUAGE = "en-US"; - static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; - - private final ClientLogger logger = new ClientLogger(CryptographyServiceClient.class); private final CryptographyService service; + private final String keyId; + + private String keyName; private String vaultUrl; private String version; - private String keyName; - private final String keyId; + + static final String ACCEPT_LANGUAGE = "en-US"; + static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; + + final String apiVersion; CryptographyServiceClient(String keyId, CryptographyService service, CryptographyServiceVersion serviceVersion) { Objects.requireNonNull(keyId); @@ -83,17 +85,17 @@ private Mono> getKey(String name, String version, Context context = context == null ? Context.NONE : context; return service.getKey(vaultUrl, name, version, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving key - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to get key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to get key - {}", name, error)); } Mono> getSecretKey(Context context) { return service.getSecret(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving key - {}", keyName)) - .doOnSuccess(response -> logger.verbose("Retrieved key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to get key - {}", keyName, error)) + .doOnRequest(ignored -> LOGGER.verbose("Retrieving key - {}", keyName)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to get key - {}", keyName, error)) .flatMap((stringResponse -> { try { return Mono.just(new SimpleResponse<>(stringResponse.getRequest(), @@ -117,9 +119,9 @@ Mono> setSecretKey(SecretKey secret, Context context) { return service.setSecret(vaultUrl, secret.getName(), apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Setting secret - {}", secret.getName())) - .doOnSuccess(response -> logger.verbose("Set secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to set secret - {}", secret.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Setting secret - {}", secret.getName())) + .doOnSuccess(response -> LOGGER.verbose("Set secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to set secret - {}", secret.getName(), error)); } JsonWebKey transformSecretKey(SecretKey secretKey) throws JsonProcessingException { @@ -170,9 +172,9 @@ private Mono encrypt(KeyOperationParameters keyOperationParameter return service.encrypt(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, keyOperationParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Encrypting content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved encrypted content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to encrypt content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Encrypting content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved encrypted content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to encrypt content with algorithm - {}", algorithm, error)) .map(keyOperationResultResponse -> { KeyOperationResult keyOperationResult = keyOperationResultResponse.getValue(); @@ -216,9 +218,9 @@ private Mono decrypt(KeyOperationParameters keyOperationParameter return service.decrypt(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, keyOperationParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Decrypting content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved decrypted content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to decrypt content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Decrypting content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved decrypted content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to decrypt content with algorithm - {}", algorithm, error)) .flatMap(keyOperationResultResponse -> Mono.just( new DecryptResult(keyOperationResultResponse.getValue().getResult(), algorithm, keyId))); } @@ -231,9 +233,9 @@ Mono sign(SignatureAlgorithm algorithm, byte[] digest, Context conte return service.sign(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Signing content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved signed content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to sign content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Signing content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved signed content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to sign content with algorithm - {}", algorithm, error)) .flatMap(keyOperationResultResponse -> Mono.just(new SignResult(keyOperationResultResponse.getValue().getResult(), algorithm, keyId))); } @@ -247,9 +249,9 @@ Mono verify(SignatureAlgorithm algorithm, byte[] digest, byte[] si return service.verify(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Verifying content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved verified content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to verify content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Verifying content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved verified content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to verify content with algorithm - {}", algorithm, error)) .flatMap(response -> Mono.just(new VerifyResult(response.getValue().getValue(), algorithm, keyId))); } @@ -261,9 +263,9 @@ Mono wrapKey(KeyWrapAlgorithm algorithm, byte[] key, Context context return service.wrapKey(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Wrapping key content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved wrapped key content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to verify content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Wrapping key content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved wrapped key content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to verify content with algorithm - {}", algorithm, error)) .flatMap(keyOperationResultResponse -> Mono.just(new WrapResult(keyOperationResultResponse.getValue().getResult(), algorithm, keyId))); } @@ -276,9 +278,9 @@ Mono unwrapKey(KeyWrapAlgorithm algorithm, byte[] encryptedKey, Co return service.unwrapKey(vaultUrl, keyName, version, apiVersion, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Unwrapping key content with algorithm - {}", algorithm)) - .doOnSuccess(response -> logger.verbose("Retrieved unwrapped key content with algorithm - {}", algorithm)) - .doOnError(error -> logger.warning("Failed to unwrap key content with algorithm - {}", algorithm, error)) + .doOnRequest(ignored -> LOGGER.verbose("Unwrapping key content with algorithm - {}", algorithm)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved unwrapped key content with algorithm - {}", algorithm)) + .doOnError(error -> LOGGER.warning("Failed to unwrap key content with algorithm - {}", algorithm, error)) .flatMap(response -> Mono.just(new UnwrapResult(response.getValue().getResult(), algorithm, keyId))); } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/EcKeyCryptographyClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/EcKeyCryptographyClient.java index 72012b3f8d9a4..9b51bcdf56f26 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/EcKeyCryptographyClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/EcKeyCryptographyClient.java @@ -26,12 +26,13 @@ import java.security.MessageDigest; class EcKeyCryptographyClient extends LocalKeyCryptographyClient { - private final ClientLogger logger = new ClientLogger(EcKeyCryptographyClient.class); + private static final ClientLogger LOGGER = new ClientLogger(EcKeyCryptographyClient.class); - private KeyPair keyPair; private final CryptographyServiceClient serviceClient; private final Provider provider; + private KeyPair keyPair; + /** * Creates a EcKeyCryptographyClient that uses {@code service} to service requests * @@ -59,25 +60,25 @@ private KeyPair getKeyPair(JsonWebKey key) { @Override Mono encryptAsync(EncryptionAlgorithm algorithm, byte[] plaintext, Context context, JsonWebKey key) { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Encrypt operation is not supported for EC key")); } @Override Mono encryptAsync(EncryptParameters options, Context context, JsonWebKey key) { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Encrypt operation is not supported for EC key")); } @Override Mono decryptAsync(EncryptionAlgorithm algorithm, byte[] plaintext, Context context, JsonWebKey key) { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Encrypt operation is not supported for EC key")); } @Override Mono decryptAsync(DecryptParameters options, Context context, JsonWebKey key) { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Decrypt operation is not supported for EC key")); } @@ -171,7 +172,7 @@ Mono wrapKeyAsync(KeyWrapAlgorithm algorithm, byte[] key, Context co @Override Mono unwrapKeyAsync(KeyWrapAlgorithm algorithm, byte[] encryptedKey, Context context, JsonWebKey key) { - throw logger.logExceptionAsError(new UnsupportedOperationException( + throw LOGGER.logExceptionAsError(new UnsupportedOperationException( "Unwrap key operation is not supported for Ec key")); } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/Ecdsa.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/Ecdsa.java index 6d091d1b4ad07..217fea4e646d6 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/Ecdsa.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/Ecdsa.java @@ -11,7 +11,7 @@ import java.security.Signature; abstract class Ecdsa extends AsymmetricSignatureAlgorithm { - private final ClientLogger logger = new ClientLogger(Ecdsa.class); + private static final ClientLogger LOGGER = new ClientLogger(Ecdsa.class); protected Ecdsa() { super("NONEwithECDSA"); @@ -57,7 +57,7 @@ public boolean verify(byte[] digest, byte[] signature) throws GeneralSecurityExc private void checkDigestLength(byte[] digest) { if (digest.length != getDigestLength()) { - throw logger.logExceptionAsError(new IllegalArgumentException("Invalid digest length.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("Invalid digest length.")); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyAsyncClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyAsyncClient.java index 4a3f791e3e538..beaf7012d1429 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyAsyncClient.java @@ -20,7 +20,7 @@ */ @ServiceClient(builder = KeyEncryptionKeyClientBuilder.class, isAsync = true) public final class KeyEncryptionKeyAsyncClient extends CryptographyAsyncClient implements AsyncKeyEncryptionKey { - private final ClientLogger logger = new ClientLogger(KeyEncryptionKeyAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyEncryptionKeyAsyncClient.class); /** * Creates a {@link KeyEncryptionKeyAsyncClient} that uses {@code pipeline} to service requests @@ -63,7 +63,7 @@ public Mono wrapKey(String algorithm, byte[] key) { return wrapKey(wrapAlgorithm, key).flatMap(keyWrapResult -> Mono.just(keyWrapResult.getEncryptedKey())); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -79,7 +79,7 @@ public Mono unwrapKey(String algorithm, byte[] encryptedKey) { return unwrapKey(wrapAlgorithm, encryptedKey) .flatMap(keyUnwrapResult -> Mono.just(keyUnwrapResult.getKey())); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientBuilder.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientBuilder.java index 2f2846512e436..ca73f803d336b 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientBuilder.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientBuilder.java @@ -58,7 +58,8 @@ public final class KeyEncryptionKeyClientBuilder implements KeyEncryptionKeyReso TokenCredentialTrait, HttpTrait, ConfigurationTrait { - private final ClientLogger logger = new ClientLogger(KeyEncryptionKeyClientBuilder.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyEncryptionKeyClientBuilder.class); + private final CryptographyClientBuilder builder; /** @@ -134,7 +135,7 @@ public Mono buildAsyncKeyEncryptionKey(String k builder.keyIdentifier(keyId); if (Strings.isNullOrEmpty(keyId)) { - throw logger.logExceptionAsError(new IllegalStateException( + throw LOGGER.logExceptionAsError(new IllegalStateException( "An Azure Key Vault key identifier cannot be null and is required to build the key encryption key " + "client.")); } @@ -146,7 +147,7 @@ public Mono buildAsyncKeyEncryptionKey(String k } if (builder.getCredential() == null) { - throw logger.logExceptionAsError(new IllegalStateException( + throw LOGGER.logExceptionAsError(new IllegalStateException( "Azure Key Vault credentials cannot be null and are required to build a key encryption key client.")); } @@ -171,10 +172,10 @@ public Mono buildAsyncKeyEncryptionKey(String k */ public Mono buildAsyncKeyEncryptionKey(JsonWebKey key) { if (key == null) { - throw logger.logExceptionAsError(new IllegalStateException( + throw LOGGER.logExceptionAsError(new IllegalStateException( "JSON Web Key cannot be null and is required to build a local key encryption key async client.")); } else if (key.getId() == null) { - throw logger.logExceptionAsError(new IllegalArgumentException( + throw LOGGER.logExceptionAsError(new IllegalArgumentException( "JSON Web Key's id property is not configured.")); } @@ -195,7 +196,7 @@ public Mono buildAsyncKeyEncryptionKey(JsonWebK @Override public KeyEncryptionKeyClientBuilder credential(TokenCredential credential) { if (credential == null) { - throw logger.logExceptionAsError(new NullPointerException("'credential' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'credential' cannot be null.")); } builder.credential(credential); @@ -243,7 +244,7 @@ public KeyEncryptionKeyClientBuilder httpLogOptions(HttpLogOptions logOptions) { @Override public KeyEncryptionKeyClientBuilder addPolicy(HttpPipelinePolicy policy) { if (policy == null) { - throw logger.logExceptionAsError(new NullPointerException("'policy' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'policy' cannot be null.")); } builder.addPolicy(policy); diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/RsaKeyCryptographyClient.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/RsaKeyCryptographyClient.java index d5eb669c355de..316ff9c45f6d2 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/RsaKeyCryptographyClient.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/RsaKeyCryptographyClient.java @@ -30,8 +30,9 @@ import java.util.Objects; class RsaKeyCryptographyClient extends LocalKeyCryptographyClient { + private static final ClientLogger LOGGER = new ClientLogger(RsaKeyCryptographyClient.class); + private KeyPair keyPair; - private final ClientLogger logger = new ClientLogger(RsaKeyCryptographyClient.class); /* * Creates a RsaKeyCryptographyClient that uses {@code serviceClient) to service requests @@ -188,7 +189,7 @@ Mono signAsync(SignatureAlgorithm algorithm, byte[] digest, Context if (serviceCryptoAvailable()) { return serviceClient.sign(algorithm, digest, context); } else { - return FluxUtil.monoError(logger, + return FluxUtil.monoError(LOGGER, new UnsupportedOperationException("Sign operation on Local RSA key is not supported currently.")); } } @@ -199,7 +200,7 @@ Mono verifyAsync(SignatureAlgorithm algorithm, byte[] digest, byte if (serviceCryptoAvailable()) { return serviceClient.verify(algorithm, digest, signature, context); } else { - return FluxUtil.monoError(logger, + return FluxUtil.monoError(LOGGER, new UnsupportedOperationException("Verify operation on Local RSA key is not supported currently.")); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/implementation/KeyClientImpl.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/implementation/KeyClientImpl.java index 3ee6eb5d363db..2bd64770812c1 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/implementation/KeyClientImpl.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/implementation/KeyClientImpl.java @@ -67,19 +67,19 @@ import static com.azure.core.util.FluxUtil.withContext; public class KeyClientImpl { - static final String ACCEPT_LANGUAGE = "en-US"; - static final int DEFAULT_MAX_PAGE_RESULTS = 25; - static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; + private static final ClientLogger LOGGER = new ClientLogger(KeyClientImpl.class); private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; - private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); private final String vaultUrl; private final KeyService service; - private final ClientLogger logger = new ClientLogger(KeyClientImpl.class); private final HttpPipeline pipeline; private final KeyServiceVersion keyServiceVersion; + static final String ACCEPT_LANGUAGE = "en-US"; + static final int DEFAULT_MAX_PAGE_RESULTS = 25; + static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; + /** * Creates a {@link KeyClientImpl} that uses an {@link HttpPipeline} to service requests. * @@ -635,9 +635,9 @@ public Mono> createKeyWithResponseAsync(String name, KeyTy return service.createKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating key - {}", name)) - .doOnSuccess(response -> logger.verbose("Created key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to create key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Creating key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Created key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to create key - {}", name, error)); } public Response createKeyWithResponse(String name, KeyType keyType, Context context) { @@ -654,9 +654,9 @@ public Mono> createKeyWithResponseAsync(CreateKeyOptions c return service.createKeyAsync(vaultUrl, createKeyOptions.getName(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating key - {}", createKeyOptions.getName())) - .doOnSuccess(response -> logger.verbose("Created key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to create key - {}", createKeyOptions.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Creating key - {}", createKeyOptions.getName())) + .doOnSuccess(response -> LOGGER.verbose("Created key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to create key - {}", createKeyOptions.getName(), error)); } public Response createKeyWithResponse(CreateKeyOptions createKeyOptions, Context context) { @@ -686,9 +686,9 @@ public Mono> createRsaKeyWithResponseAsync(CreateRsaKeyOpt return service.createKeyAsync(vaultUrl, createRsaKeyOptions.getName(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating RSA key - {}", createRsaKeyOptions.getName())) - .doOnSuccess(response -> logger.verbose("Created RSA key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to create RSA key - {}", createRsaKeyOptions.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Creating RSA key - {}", createRsaKeyOptions.getName())) + .doOnSuccess(response -> LOGGER.verbose("Created RSA key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to create RSA key - {}", createRsaKeyOptions.getName(), error)); } public Response createRsaKeyWithResponse(CreateRsaKeyOptions createRsaKeyOptions, Context context) { @@ -719,9 +719,9 @@ public Mono> createEcKeyWithResponseAsync(CreateEcKeyOptio return service.createKeyAsync(vaultUrl, createEcKeyOptions.getName(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating EC key - {}", createEcKeyOptions.getName())) - .doOnSuccess(response -> logger.verbose("Created EC key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to create EC key - {}", createEcKeyOptions.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Creating EC key - {}", createEcKeyOptions.getName())) + .doOnSuccess(response -> LOGGER.verbose("Created EC key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to create EC key - {}", createEcKeyOptions.getName(), error)); } public Response createEcKeyWithResponse(CreateEcKeyOptions createEcKeyOptions, Context context) { @@ -751,10 +751,10 @@ public Mono> createOctKeyWithResponseAsync(CreateOctKeyOpt return service.createKeyAsync(vaultUrl, createOctKeyOptions.getName(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Creating symmetric key - {}", createOctKeyOptions.getName())) - .doOnSuccess(response -> logger.verbose("Created symmetric key - {}", response.getValue().getName())) + .doOnRequest(ignored -> LOGGER.verbose("Creating symmetric key - {}", createOctKeyOptions.getName())) + .doOnSuccess(response -> LOGGER.verbose("Created symmetric key - {}", response.getValue().getName())) .doOnError(error -> - logger.warning("Failed to create symmetric key - {}", createOctKeyOptions.getName(), error)); + LOGGER.warning("Failed to create symmetric key - {}", createOctKeyOptions.getName(), error)); } public Response createOctKeyWithResponse(CreateOctKeyOptions createOctKeyOptions, Context context) { @@ -784,9 +784,9 @@ public Mono> importKeyWithResponseAsync(String name, JsonW return service.importKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Importing key - {}", name)) - .doOnSuccess(response -> logger.verbose("Imported key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to import key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Importing key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Imported key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to import key - {}", name, error)); } public Response importKeyWithResponse(String name, JsonWebKey keyMaterial, Context context) { @@ -803,9 +803,9 @@ public Mono> importKeyWithResponseAsync(ImportKeyOptions i return service.importKeyAsync(vaultUrl, importKeyOptions.getName(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Importing key - {}", importKeyOptions.getName())) - .doOnSuccess(response -> logger.verbose("Imported key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to import key - {}", importKeyOptions.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Importing key - {}", importKeyOptions.getName())) + .doOnSuccess(response -> LOGGER.verbose("Imported key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to import key - {}", importKeyOptions.getName(), error)); } public Response importKeyWithResponse(ImportKeyOptions importKeyOptions, Context context) { @@ -832,9 +832,9 @@ private KeyImportRequestParameters validateAndCreateKeyImportRequestParameters(I public Mono> getKeyWithResponseAsync(String name, String version, Context context) { return service.getKeyAsync(vaultUrl, name, version, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving key - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to retrieve key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to retrieve key - {}", name, error)); } public Response getKeyWithResponse(String name, String version, Context context) { @@ -853,9 +853,9 @@ public Mono> updateKeyPropertiesWithResponseAsync(KeyPrope return service.updateKeyAsync(vaultUrl, keyProperties.getName(), keyProperties.getVersion(), keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating key - {}", keyProperties.getName())) - .doOnSuccess(response -> logger.verbose("Updated key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to update key - {}", keyProperties.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Updating key - {}", keyProperties.getName())) + .doOnSuccess(response -> LOGGER.verbose("Updated key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to update key - {}", keyProperties.getName(), error)); } public Response updateKeyPropertiesWithResponse(KeyProperties keyProperties, Context context, @@ -925,17 +925,17 @@ private Function, Mono>> cre private Mono> deleteKeyWithResponse(String name, Context context) { return service.deleteKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting key - {}", name)) - .doOnSuccess(response -> logger.verbose("Deleted key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to delete key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Deleting key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Deleted key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete key - {}", name, error)); } public Mono> getDeletedKeyWithResponseAsync(String name, Context context) { return service.getDeletedKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving deleted key - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved deleted key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to retrieve deleted key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving deleted key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved deleted key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to retrieve deleted key - {}", name, error)); } public Response getDeletedKeyWithResponse(String name, Context context) { @@ -949,9 +949,9 @@ public Response getDeletedKeyWithResponse(String name, Context conte public Mono> purgeDeletedKeyWithResponseAsync(String name, Context context) { return service.purgeDeletedKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Purging deleted key - {}", name)) - .doOnSuccess(response -> logger.verbose("Purged deleted key - {}", name)) - .doOnError(error -> logger.warning("Failed to purge deleted key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Purging deleted key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Purged deleted key - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to purge deleted key - {}", name, error)); } public Response purgeDeletedKeyWithResponse(String name, Context context) { @@ -1001,17 +1001,17 @@ private Function, Mono>> c private Mono> recoverDeletedKeyWithResponse(String name, Context context) { return service.recoverDeletedKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Recovering deleted key - {}", name)) - .doOnSuccess(response -> logger.verbose("Recovered deleted key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to recover deleted key - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Recovering deleted key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Recovered deleted key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to recover deleted key - {}", name, error)); } public Mono> backupKeyWithResponseAsync(String name, Context context) { return service.backupKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Backing up key - {}", name)) - .doOnSuccess(response -> logger.verbose("Backed up key - {}", name)) - .doOnError(error -> logger.warning("Failed to back up key - {}", name, error)) + .doOnRequest(ignored -> LOGGER.verbose("Backing up key - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Backed up key - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to back up key - {}", name, error)) .flatMap(base64URLResponse -> Mono.just(new SimpleResponse<>(base64URLResponse.getRequest(), base64URLResponse.getStatusCode(), base64URLResponse.getHeaders(), base64URLResponse.getValue().getValue()))); @@ -1032,9 +1032,9 @@ public Mono> restoreKeyBackupWithResponseAsync(byte[] back return service.restoreKeyAsync(vaultUrl, keyServiceVersion.getVersion(), parameters, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Restoring key")) - .doOnSuccess(response -> logger.verbose("Restored key - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to restore key", error)); + .doOnRequest(ignored -> LOGGER.verbose("Restoring key")) + .doOnSuccess(response -> LOGGER.verbose("Restored key - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to restore key", error)); } public Response restoreKeyBackupWithResponse(byte[] backup, Context context) { @@ -1051,7 +1051,7 @@ public PagedFlux listPropertiesOfKeys() { return new PagedFlux<>(() -> withContext(this::listKeysFirstPage), continuationToken -> withContext(context -> listKeysNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1073,11 +1073,11 @@ private Mono> listKeysFirstPage(Context context) { try { return service.getKeysAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing keys")) - .doOnSuccess(response -> logger.verbose("Listed keys")) - .doOnError(error -> logger.warning("Failed to list keys", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing keys")) + .doOnSuccess(response -> LOGGER.verbose("Listed keys")) + .doOnError(error -> LOGGER.warning("Failed to list keys", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1095,12 +1095,12 @@ private Mono> listKeysNextPage(String continuationT try { return service.getKeysAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing next keys page - Page {} ", continuationToken)) - .doOnSuccess(response -> logger.verbose("Listed next keys page - Page {} ", continuationToken)) + .doOnRequest(ignored -> LOGGER.verbose("Listing next keys page - Page {} ", continuationToken)) + .doOnSuccess(response -> LOGGER.verbose("Listed next keys page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next keys page - Page {} ", continuationToken, error)); + LOGGER.warning("Failed to list next keys page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1109,7 +1109,7 @@ public PagedFlux listDeletedKeys() { return new PagedFlux<>(() -> withContext(this::listDeletedKeysFirstPage), continuationToken -> withContext(context -> listDeletedKeysNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1131,11 +1131,11 @@ private Mono> listDeletedKeysFirstPage(Context context try { return service.getDeletedKeysAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing deleted keys")) - .doOnSuccess(response -> logger.verbose("Listed deleted keys")) - .doOnError(error -> logger.warning("Failed to list deleted keys", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing deleted keys")) + .doOnSuccess(response -> LOGGER.verbose("Listed deleted keys")) + .doOnError(error -> LOGGER.warning("Failed to list deleted keys", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1153,12 +1153,12 @@ private Mono> listDeletedKeysNextPage(String continuat try { return service.getDeletedKeysAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing next deleted keys page - Page {} ", continuationToken)) - .doOnSuccess(response -> logger.verbose("Listed next deleted keys page - Page {} ", continuationToken)) + .doOnRequest(ignored -> LOGGER.verbose("Listing next deleted keys page - Page {} ", continuationToken)) + .doOnSuccess(response -> LOGGER.verbose("Listed next deleted keys page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next deleted keys page - Page {} ", continuationToken, error)); + LOGGER.warning("Failed to list next deleted keys page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1167,7 +1167,7 @@ public PagedFlux listPropertiesOfKeyVersions(String name) { return new PagedFlux<>(() -> withContext(context -> listKeyVersionsFirstPage(name, context)), continuationToken -> withContext(context -> listKeyVersionsNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -1189,11 +1189,11 @@ private Mono> listKeyVersionsFirstPage(String name, try { return service.getKeyVersionsAsync(vaultUrl, name, DEFAULT_MAX_PAGE_RESULTS, keyServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing key versions - {}", name)) - .doOnSuccess(response -> logger.verbose("Listed key versions - {}", name)) - .doOnError(error -> logger.warning("Failed to list key versions - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing key versions - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Listed key versions - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to list key versions - {}", name, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1211,12 +1211,12 @@ private Mono> listKeyVersionsNextPage(String contin try { return service.getKeysAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing next key versions page - Page {} ", continuationToken)) - .doOnSuccess(response -> logger.verbose("Listed next key versions page - Page {} ", continuationToken)) + .doOnRequest(ignored -> LOGGER.verbose("Listing next key versions page - Page {} ", continuationToken)) + .doOnSuccess(response -> LOGGER.verbose("Listed next key versions page - Page {} ", continuationToken)) .doOnError(error -> - logger.warning("Failed to list next key versions page - Page {} ", continuationToken, error)); + LOGGER.warning("Failed to list next key versions page - Page {} ", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -1225,12 +1225,12 @@ public Mono> getRandomBytesWithResponseAsync(int count, Context return service.getRandomBytesAsync(vaultUrl, keyServiceVersion.getVersion(), new GetRandomBytesRequest().setCount(count), CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Getting {} random bytes.", count)) - .doOnSuccess(response -> logger.verbose("Got {} random bytes.", count)) - .doOnError(error -> logger.warning("Failed to get random bytes - {}", error)) + .doOnRequest(ignored -> LOGGER.verbose("Getting {} random bytes.", count)) + .doOnSuccess(response -> LOGGER.verbose("Got {} random bytes.", count)) + .doOnError(error -> LOGGER.warning("Failed to get random bytes - {}", error)) .map(response -> new SimpleResponse<>(response, response.getValue().getBytes())); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1254,11 +1254,11 @@ public Mono> releaseKeyWithResponseAsync(String name, return service.releaseAsync(vaultUrl, name, version, keyServiceVersion.getVersion(), keyReleaseParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Releasing key with name %s and version %s.", name, version)) - .doOnSuccess(response -> logger.verbose("Released key with name %s and version %s.", name, version)) - .doOnError(error -> logger.warning("Failed to release key - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Releasing key with name %s and version %s.", name, version)) + .doOnSuccess(response -> LOGGER.verbose("Released key with name %s and version %s.", name, version)) + .doOnError(error -> LOGGER.warning("Failed to release key - {}", error)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1274,18 +1274,18 @@ public Response releaseKeyWithResponse(String name, String ver return service.release(vaultUrl, name, version, keyServiceVersion.getVersion(), keyReleaseParameters, CONTENT_TYPE_HEADER_VALUE, context); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } private KeyReleaseParameters validateAndCreateKeyReleaseParameters(String name, String targetAttestationToken, ReleaseKeyOptions releaseKeyOptions) { if (CoreUtils.isNullOrEmpty(name)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'name' cannot be null or empty")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'name' cannot be null or empty")); } if (CoreUtils.isNullOrEmpty(targetAttestationToken)) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'targetAttestationToken' cannot be null or empty")); } @@ -1300,23 +1300,23 @@ private KeyReleaseParameters validateAndCreateKeyReleaseParameters(String name, public Mono> rotateKeyWithResponseAsync(String name, Context context) { try { if (CoreUtils.isNullOrEmpty(name)) { - return monoError(logger, new IllegalArgumentException("'name' cannot be null or empty")); + return monoError(LOGGER, new IllegalArgumentException("'name' cannot be null or empty")); } return service.rotateKeyAsync(vaultUrl, name, keyServiceVersion.getVersion(), CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Rotating key with name %s.", name)) - .doOnSuccess(response -> logger.verbose("Rotated key with name %s.", name)) - .doOnError(error -> logger.warning("Failed to rotate key - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Rotating key with name %s.", name)) + .doOnSuccess(response -> LOGGER.verbose("Rotated key with name %s.", name)) + .doOnError(error -> LOGGER.warning("Failed to rotate key - {}", error)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } public Response rotateKeyWithResponse(String name, Context context) { try { if (CoreUtils.isNullOrEmpty(name)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'name' cannot be null or empty")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'name' cannot be null or empty")); } context = context == null ? Context.NONE : context; @@ -1325,30 +1325,30 @@ public Response rotateKeyWithResponse(String name, Context context) return service.rotateKey(vaultUrl, name, keyServiceVersion.getVersion(), CONTENT_TYPE_HEADER_VALUE, context); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } public Mono> getKeyRotationPolicyWithResponseAsync(String keyName, Context context) { try { if (CoreUtils.isNullOrEmpty(keyName)) { - return monoError(logger, new IllegalArgumentException("'keyName' cannot be null or empty")); + return monoError(LOGGER, new IllegalArgumentException("'keyName' cannot be null or empty")); } return service.getKeyRotationPolicyAsync(vaultUrl, keyName, keyServiceVersion.getVersion(), CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving key rotation policy for key with name.", keyName)) - .doOnSuccess(response -> logger.verbose("Retrieved key rotation policy for key with name.", keyName)) - .doOnError(error -> logger.warning("Failed to retrieve key rotation policy - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving key rotation policy for key with name.", keyName)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved key rotation policy for key with name.", keyName)) + .doOnError(error -> LOGGER.warning("Failed to retrieve key rotation policy - {}", error)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } public Response getKeyRotationPolicyWithResponse(String keyName, Context context) { try { if (CoreUtils.isNullOrEmpty(keyName)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty")); } context = context == null ? Context.NONE : context; @@ -1357,7 +1357,7 @@ public Response getKeyRotationPolicyWithResponse(String keyNa return service.getKeyRotationPolicy(vaultUrl, keyName, keyServiceVersion.getVersion(), CONTENT_TYPE_HEADER_VALUE, context); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } @@ -1367,16 +1367,16 @@ public Mono> updateKeyRotationPolicyWithResponseAsyn Context context) { try { if (CoreUtils.isNullOrEmpty(keyName)) { - return monoError(logger, new IllegalArgumentException("'keyName' cannot be null or empty")); + return monoError(LOGGER, new IllegalArgumentException("'keyName' cannot be null or empty")); } return service.updateKeyRotationPolicyAsync(vaultUrl, keyName, keyServiceVersion.getVersion(), keyRotationPolicy, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating key rotation policy for key with name.", keyName)) - .doOnSuccess(response -> logger.verbose("Updated key rotation policy for key with name.", keyName)) - .doOnError(error -> logger.warning("Failed to retrieve key rotation policy - {}", error)); + .doOnRequest(ignored -> LOGGER.verbose("Updating key rotation policy for key with name.", keyName)) + .doOnSuccess(response -> LOGGER.verbose("Updated key rotation policy for key with name.", keyName)) + .doOnError(error -> LOGGER.warning("Failed to retrieve key rotation policy - {}", error)); } catch (RuntimeException e) { - return monoError(logger, e); + return monoError(LOGGER, e); } } @@ -1385,7 +1385,7 @@ public Response updateKeyRotationPolicyWithResponse(String ke Context context) { try { if (CoreUtils.isNullOrEmpty(keyName)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty")); } context = context == null ? Context.NONE : context; @@ -1394,13 +1394,13 @@ public Response updateKeyRotationPolicyWithResponse(String ke return service.updateKeyRotationPolicy(vaultUrl, keyName, keyServiceVersion.getVersion(), keyRotationPolicy, CONTENT_TYPE_HEADER_VALUE, context); } catch (RuntimeException e) { - throw logger.logExceptionAsError(e); + throw LOGGER.logExceptionAsError(e); } } public CryptographyClientBuilder getCryptographyClientBuilder(String keyName, String keyVersion) { if (CoreUtils.isNullOrEmpty(keyName)) { - throw logger.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("'keyName' cannot be null or empty.")); } return new CryptographyClientBuilder() diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/JsonWebKey.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/JsonWebKey.java index 6da4f6c24ecd2..eed5387bc5168 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/JsonWebKey.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/JsonWebKey.java @@ -55,10 +55,9 @@ @JsonAutoDetect(getterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY, setterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY) public class JsonWebKey { + private static final ClientLogger LOGGER = new ClientLogger(JsonWebKey.class); private static final ObjectMapper MAPPER = new ObjectMapper(); - private final ClientLogger logger = new ClientLogger(JsonWebKey.class); - /** * Key Identifier. */ @@ -469,7 +468,7 @@ public String toString() { try { return MAPPER.writeValueAsString(this); } catch (IOException e) { - throw logger.logExceptionAsError(new IllegalStateException(e)); + throw LOGGER.logExceptionAsError(new IllegalStateException(e)); } } @@ -580,7 +579,7 @@ private PublicKey getRsaPublicKey(Provider provider) { return factory.generatePublic(publicKeySpec); } catch (GeneralSecurityException e) { - throw logger.logExceptionAsError(new IllegalStateException(e)); + throw LOGGER.logExceptionAsError(new IllegalStateException(e)); } } @@ -600,7 +599,7 @@ private PrivateKey getRsaPrivateKey(Provider provider) { return factory.generatePrivate(privateKeySpec); } catch (GeneralSecurityException e) { - throw logger.logExceptionAsError(new IllegalStateException(e)); + throw LOGGER.logExceptionAsError(new IllegalStateException(e)); } } @@ -632,7 +631,7 @@ private static PrivateKey getEcPrivateKey(byte[] d, ECParameterSpec curveSpec, P */ private void checkRsaCompatible() { if (!KeyType.RSA.equals(keyType) && !KeyType.RSA_HSM.equals(keyType)) { - throw logger.logExceptionAsError(new UnsupportedOperationException("Not an RSA key")); + throw LOGGER.logExceptionAsError(new UnsupportedOperationException("Not an RSA key")); } } @@ -786,7 +785,7 @@ public KeyPair toEc(boolean includePrivateParameters, Provider provider) { } if (!KeyType.EC.equals(keyType) && !KeyType.EC_HSM.equals(keyType)) { - throw logger.logExceptionAsError(new IllegalArgumentException("Not an EC key.")); + throw LOGGER.logExceptionAsError(new IllegalArgumentException("Not an EC key.")); } try { @@ -813,7 +812,7 @@ public KeyPair toEc(boolean includePrivateParameters, Provider provider) { return realKeyPair; } catch (GeneralSecurityException e) { - throw logger.logExceptionAsError(new IllegalStateException(e)); + throw LOGGER.logExceptionAsError(new IllegalStateException(e)); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/KeyVaultKeyIdentifier.java b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/KeyVaultKeyIdentifier.java index b8dfc13a8d26d..6c2c00497d424 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/KeyVaultKeyIdentifier.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/models/KeyVaultKeyIdentifier.java @@ -17,7 +17,8 @@ */ @Immutable public final class KeyVaultKeyIdentifier { - private final ClientLogger logger = new ClientLogger(KeyVaultKeyIdentifier.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultKeyIdentifier.class); + private final String sourceId, vaultUrl, name, version; /** @@ -39,7 +40,7 @@ public final class KeyVaultKeyIdentifier { */ public KeyVaultKeyIdentifier(String sourceId) { if (sourceId == null) { - throw logger.logExceptionAsError(new NullPointerException("'sourceId' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'sourceId' cannot be null.")); } try { @@ -49,7 +50,7 @@ public KeyVaultKeyIdentifier(String sourceId) { // More or less segments in the URI than expected. if (pathSegments.length != 3 && pathSegments.length != 4) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.")); } @@ -58,7 +59,7 @@ public KeyVaultKeyIdentifier(String sourceId) { this.name = pathSegments[2]; this.version = pathSegments.length == 4 ? pathSegments[3] : null; } catch (MalformedURLException e) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.", e)); } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyAsyncClientTest.java index be8966001fc1a..7d394849f669c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyAsyncClientTest.java @@ -66,8 +66,8 @@ protected void createKeyAsyncClient(HttpClient httpClient, KeyServiceVersion ser } protected void createKeyAsyncClient(HttpClient httpClient, KeyServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); KeyClientImpl implClient = spy(new KeyClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTest.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTest.java index 9a3c3fe83e3fe..ddc703e23479c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTest.java @@ -64,8 +64,8 @@ protected void createKeyClient(HttpClient httpClient, KeyServiceVersion serviceV } protected void createKeyClient(HttpClient httpClient, KeyServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); KeyClientImpl implClient = spy(new KeyClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java index 7300b99c69806..d2f24d3e661cc 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java @@ -21,8 +21,11 @@ import com.azure.core.http.policy.RetryStrategy; import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.http.rest.Response; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; @@ -65,7 +68,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; -public abstract class KeyClientTestBase extends TestBase { +public abstract class KeyClientTestBase extends TestProxyTestBase { private static final String KEY_NAME = "javaKeyTemp"; private static final String SDK_NAME = "client_name"; private static final String SDK_VERSION = "client_version"; @@ -88,6 +91,8 @@ void beforeTestSetup() { Configuration.getGlobalConfiguration() .get("KEY_VAULT_ENDPOINT_SUFFIX", ".vault.azure.net")) && interceptorManager.isLiveMode())); + + KeyVaultCredentialPolicy.clearCache(); } HttpPipeline getHttpPipeline(HttpClient httpClient) { @@ -95,7 +100,7 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { } HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { - TokenCredential credential = null; + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -114,6 +119,13 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -128,19 +140,20 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - if (getTestMode() == TestMode.RECORD) { + if (interceptorManager.isRecordMode()) { policies.add(interceptorManager.getRecordPolicy()); } return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .build(); } @@ -438,7 +451,7 @@ void getRandomBytesRunner(Consumer testRunner) { void releaseKeyRunner(BiConsumer testRunner) { final String attestationUrl = - Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ATTESTATION_URL", "http://localhost:8080"); + Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ATTESTATION_URL", "https://localhost:8080"); final String releasePolicyContents = "{" + "\"anyOf\": [" @@ -551,8 +564,8 @@ static void assertKeyEquals(CreateKeyOptions expected, KeyVaultKey actual) { public String getEndpoint() { final String endpoint = isHsmEnabled - ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "http://localhost:8080") - : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "http://localhost:8080"); + ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "https://localhost:8080") + : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "https://localhost:8080"); Objects.requireNonNull(endpoint); diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java index e1f031996f573..4ffffc1476a7c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java @@ -17,8 +17,11 @@ import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.RetryStrategy; import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.core.util.Context; import com.azure.identity.ClientSecretCredentialBuilder; @@ -44,6 +47,7 @@ import java.security.spec.RSAPublicKeySpec; import java.time.Duration; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.function.Consumer; @@ -52,7 +56,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; -public abstract class CryptographyClientTestBase extends TestBase { +public abstract class CryptographyClientTestBase extends TestProxyTestBase { private static final String SDK_NAME = "client_name"; private static final String SDK_VERSION = "client_version"; protected boolean isHsmEnabled = false; @@ -64,10 +68,11 @@ protected String getTestName() { } void beforeTestSetup() { + KeyVaultCredentialPolicy.clearCache(); } HttpPipeline getHttpPipeline(HttpClient httpClient) { - TokenCredential credential = null; + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -84,6 +89,13 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -96,22 +108,21 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - if (getTestMode() == TestMode.RECORD) { + if (interceptorManager.isRecordMode()) { policies.add(interceptorManager.getRecordPolicy()); } - HttpPipeline pipeline = new HttpPipelineBuilder() + return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .build(); - - return pipeline; } static CryptographyClient initializeCryptographyClient(JsonWebKey key) { @@ -222,8 +233,8 @@ private static JsonWebKey getTestJsonWebKey(int keySize) throws NoSuchAlgorithmE public String getEndpoint() { final String endpoint = runManagedHsmTest - ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "http://localhost:8080") - : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "http://localhost:8080"); + ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "https://localhost:8080") + : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "https://localhost:8080"); Objects.requireNonNull(endpoint); diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientManagedHsmTest.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientManagedHsmTest.java index 58d33ded2132e..b7d77d66d0263 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientManagedHsmTest.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientManagedHsmTest.java @@ -18,7 +18,6 @@ import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; - import java.util.Arrays; import static com.azure.security.keyvault.keys.cryptography.TestHelper.DISPLAY_NAME_WITH_ARGUMENTS; diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientTestBase.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientTestBase.java index 413d4122e16d7..fcea983734045 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/KeyEncryptionKeyClientTestBase.java @@ -17,8 +17,11 @@ import com.azure.core.http.policy.RetryPolicy; import com.azure.core.http.policy.RetryStrategy; import com.azure.core.http.policy.UserAgentPolicy; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.identity.ClientSecretCredentialBuilder; import com.azure.security.keyvault.keys.implementation.KeyVaultCredentialPolicy; @@ -26,13 +29,14 @@ import java.time.Duration; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.Objects; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; -public abstract class KeyEncryptionKeyClientTestBase extends TestBase { +public abstract class KeyEncryptionKeyClientTestBase extends TestProxyTestBase { private static final String SDK_NAME = "client_name"; private static final String SDK_VERSION = "client_version"; protected boolean isHsmEnabled = false; @@ -44,10 +48,11 @@ protected String getTestName() { } void beforeTestSetup() { + KeyVaultCredentialPolicy.clearCache(); } HttpPipeline getHttpPipeline(HttpClient httpClient) { - TokenCredential credential = null; + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -64,6 +69,13 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -78,18 +90,19 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - if (getTestMode() == TestMode.RECORD) { + if (interceptorManager.isRecordMode()) { policies.add(interceptorManager.getRecordPolicy()); } return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .build(); } @@ -107,8 +120,8 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { public String getEndpoint() { final String endpoint = runManagedHsmTest - ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "http://localhost:8080") - : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "http://localhost:8080"); + ? Configuration.getGlobalConfiguration().get("AZURE_MANAGEDHSM_ENDPOINT", "https://localhost:8080") + : Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "https://localhost:8080"); Objects.requireNonNull(endpoint); return endpoint; } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcPadLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcPadLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcPadLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes128CbcPadLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcPadLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcPadLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcPadLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes192CbcPadLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcPadLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcPadLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcPadLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptAes256CbcPadLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsaLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsaLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsaLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsaLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsa[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsa[1].json index e787b9527b9f8..b5d2ac3a7adea 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsa[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.encryptDecryptRsa[1].json @@ -1,304 +1,509 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fffeff9e-49cc-4edc-af3b-5711ad9fffbd" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c6bd9a2d-d20b-4ec3-9119-b3cec3b8a9ea", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "1902", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key": { + "kty": "RSA", + "key_ops": [], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB", + "d": "UulbjVtdXTpxO-hl9FviHZmVXxNgqtJx7J2shQlPXClq_KG4CJXJtSVg2tLZnCki7CCrOTHLOoQArPkpltj-aGWJxDYkDhXnVTdtki9I-BDgW6aWAI5BfWJM5asziLDkkFvaz06SeQKqOp3iYKKm3-fjnXv42uMHh0kuew1E0fXRVTGHBL0wgOJfQTbL1yfQ_A2Qe9bNkr9TFWx3ireY7D8MzDZIN1_h66t2UPuHFq2OqIbVBTRlZEHihNZirfNjbk8e47ImZqDd1dpyVKLgmdejdg_aWCxH61TG1iKP8qWQ61pRENwaJ6804Io_mH0JVp2nl0K3hfmhSzTeBj7V4Q", + "dp": "cY-_W0rXJ5b3fiZaLzNXot0xH1bs-tLpePdfdPj1cJSXN9bujvF8zeh5e7DnJrG5mK05F9bAiIpDyLqUmNb5PaGDSrooMae08D7dU06n3-pQ1X9MS3eeJ-w3hBUnTHkzgAhwi_UZ4ty-hsIqOZ0FHMvwSRAAhV8aHB-MR4tKbRE", + "dq": "cs6ABkG5NF38KZ0F7KVReUBGxJxVUM2YTZFZayUrMMJZNpnFKnN_P8i7ar222utYz8PewkMQffwj6-4F4ETeMUq8NjlE7Ge9mSDoPNjvEde0lct1s4HLrRb6AlLQ4dRdnUCIW4VCybFOy_h7CH2KtElLEAwAjy4NYNSFGRIcqZE", + "qi": "AxKlWeYxM4LeyHiRbwn4IgypPbdnHql53fJy9xAkkIJxVV3Ry2lI0otUo64n2QKDZ3eF3ta2EjZtsAL0bM9AkT_-2ZXDdJk5viHQ0DOejWEjPYFgMxOIt-gEpG-QCJXFFL-OLJXOsnV1DAG_ELbAoy33am82ydDfy4gpMhL51sQ", + "p": "-TZjzm_whbXKjamp6gizCmWHaTLIz2CpoCLFvw-E6p8HlN2yjsdjFuGu-h9u0V_xRsMMuvDqh3bzVryQulsWvReHrshFgHHlL46NSdLVrOcc3pqW02O5xcxJp6TAlGf2nY5wx3jQrmGHeH8mtcro-ThG87oiD37LomfmAFbWCJs", + "q": "3eCaCf5Cdq6WDzaGMQx-qhDdcGSRzFcgNLxjtpTIGQtv0WYZzgOuhh5TmHbOSyGCPTqbsfSPp1Es8NVStBGIXKaEEo1MieITOgylywdcHQKAg2qVPUXYqQ-kg4sDE8-XK1dF5e_3x1JP9JSHrlo8mnx7Hz0s7x37YvYaPOK61vE" + }, + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "299ca0d0-b51e-4183-9822-b6693894fa7b" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ff60b163-4bc1-45cb-932a-bf9c4d39602f" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0ed26e59-3515-4b06-ad3d-f8eec938d608", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "369", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "BUc5KaThKG_ispPJk-DizIwnWvHGWhvZbjPpl-WIGB9vvqQk5Ws4be3qwtcpdjeIkKdFKtarwWI11ritz5tKI2IaGYLvjdvTIaV2DUH74p0rbCu0hY7i7cmnwbitWB4YlPNzggaVw85d8obseOk9SruLjHUJ0TimnSISAnORi5ip6ONfIubSlf8erOVYsP9rIDN2EyKRXfheFQp-KqkvwxyWaPfsw-Av7jBfgJmNpfQIDerpJc-WsZdVvrYwkRusRJylzdfLuXXI_u0YtmOI7N5mu9YULxFNmCQ-R0p3c5QibXipMpdPsXm1sbj5ZMLNoCmYr8Aki-K2cnmb2ppNfA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "644ba66b-e84e-4b08-95fa-b7ecf294f8b0" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/encrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "161", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "458", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3b889f1b-037b-475e-9f03-3887a6c5a827" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "Zp3T45I2walEMnjk6PUUFMchXajF-7tyi952G6KMvmPv0SVClt9sVpam5qx4FPTwV-bWKI9k5l-gCZxw9KX17yHyHIb8EJKS4a10hpEkE2F3uDBHQZ5Jiq9VkOq3smmpZYPUvb837-UpjnGqapYYFpRpU2YeB9UjzIwtFxTm73JAtrN9AveJWd7BZjrjvPYbkShwyg2S0P-dpwWbSF1oHScXZKzdPAAR6HCK7yBXZ3LB3xGbWykKpTN-CaTMkFYVSFNqlFLJCcDrcEEVx9qO_VB3kjR-sDGNKAYfSmFcrJGkmNUMiPBasRlrUyYZi8H5zvJwQFpPZGKHBQ_ZHlFC9w" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b9f2105b-1596-4905-a8cc-83697b73fe3b", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "369", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "Zp3T45I2walEMnjk6PUUFMchXajF-7tyi952G6KMvmPv0SVClt9sVpam5qx4FPTwV-bWKI9k5l-gCZxw9KX17yHyHIb8EJKS4a10hpEkE2F3uDBHQZ5Jiq9VkOq3smmpZYPUvb837-UpjnGqapYYFpRpU2YeB9UjzIwtFxTm73JAtrN9AveJWd7BZjrjvPYbkShwyg2S0P-dpwWbSF1oHScXZKzdPAAR6HCK7yBXZ3LB3xGbWykKpTN-CaTMkFYVSFNqlFLJCcDrcEEVx9qO_VB3kjR-sDGNKAYfSmFcrJGkmNUMiPBasRlrUyYZi8H5zvJwQFpPZGKHBQ_ZHlFC9w" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "15c2f232-1dd1-4fad-b414-e2e3edb2e25a" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/encrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "FIfmP1BcfzfMLYXXW1N0FesOhwoRydQDTtMHUIJkx8krx--dWT1uSHzBfCVTC9lChb_AQ0mSxaJph8xgfAc8qLClBGMvnt9xkSIcQQkTZOyAGggxR1-Cwldp_e9MgjyuSiXsQyCGrIf-Yp-fcfiFzgRXnzNMFdv6keUUzi9r8fwOsOVIdeIHhkqMQ1k2dQkhfhjBE4mmfJdG6AA42bFn_HA2d3sNqrx7Q8hckfPmbAfZ8JSWbi4XL7kU3q0rCNbfnvPbeD2A9kaT4ITx7Id9_gA-0_2Nzb8J7iQsYQJDaGCBXGEnrQTiv0lEIPaAElljSkVic1HrY6nPmP_66wWo1A" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e3786747-e061-4115-8432-760979d94ae1" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "460", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d2d122f9-1e99-429a-b27b-f07ba9f59dc3", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"FRYdWE2t-j8te6Po_-3JqJoEuzIz-i08ZoEOMbMrDpQHkqTQHi3lDZRRZ97VLqEklZQdy5sP0hbev02hVt6z6BV9zkZ_Fh3i74xCAssqwhX6OHNUUd4kA_MhmMIqchslNemB3X2lSF-J2aI7-xUskgJJ-nIKBzK94xdgegTmj7qiWB37ZOPNy6kkDF7A1N39QZuZmkLi5xwJn8aIgY-5YF2i-7WF0AloSuapKY_pF0zD3a6feCXUWXAkp6n4GWsohpfk3P4Suk8uWxVbVoAd2reG4HGMSg91f8vO7_floJOiw8t9onCpMP_J-DS7xSPNbovrFLWRwoJg8GBuI1ykYA\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/encrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "163", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "458", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8042fa8d-8011-4c95-bf9b-4eeeb090a248" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "KfuUsOakS_n3GPtS0fK8dWuU1XJImoBYXEdOeMy4Z_wqLnowia87gE_JuUIE8J9C3iLMDjb_S8AdLB9KhwTvuNQaiOFO-u6yiJOkGwXnDz2L8818-xtXwhjWpeWaq7RlYPWVGlpswQPHXw9nYoRSdom6-R--opxpR1UG1l6qsKtuO9zziau4cWh_j3au3SMjIFlPNqQOULNVc_dWV5Xw-HMTnc4BldGpIqfEQwH-4680Z8ADLymq2DpYiAaWamXX4xvJdfGdKrNRHquayX5KNb6wW8BWqJWKIJYbKXrJfRSV80qWy9cKBKmCAHEh-3RfgLwkEY1oH3oHjmS1bhAtuA" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "KfuUsOakS_n3GPtS0fK8dWuU1XJImoBYXEdOeMy4Z_wqLnowia87gE_JuUIE8J9C3iLMDjb_S8AdLB9KhwTvuNQaiOFO-u6yiJOkGwXnDz2L8818-xtXwhjWpeWaq7RlYPWVGlpswQPHXw9nYoRSdom6-R--opxpR1UG1l6qsKtuO9zziau4cWh_j3au3SMjIFlPNqQOULNVc_dWV5Xw-HMTnc4BldGpIqfEQwH-4680Z8ADLymq2DpYiAaWamXX4xvJdfGdKrNRHquayX5KNb6wW8BWqJWKIJYbKXrJfRSV80qWy9cKBKmCAHEh-3RfgLwkEY1oH3oHjmS1bhAtuA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7516e2ca-9439-4e79-a781-2b34324b3ee9" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9e437abf-82c4-4fac-914d-83f4e6779aef", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/encrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "167", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "458", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9725f134-1385-43bb-b078-175c1011d973" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "v8vD4IULI0dklvAefxUnZl8BcpGnLhuSaWoXrcrN0Ev9nerd9WgDEk_UMOFLexCODRlZ-zsjICGCK7D47t1fieZxY1VZHmBan7ZHST01akh68buZDphMS3_8gJdmF0go5-GGmgWL78iZqMVrLMZnDUUv4qQ8J6o3Zx6_Olphehlrdz6tVsZuI3Pq_tk6oXxiE31e4vgwQDL4XnzvQw5kHl29CUg9cbGqjQZpeOAQ9BdbyNKu-XfHIEqyEH2tKvThDRTwS0Qo5mkmTWL5_aSaIkEIWxu1FjkrE-gls2_l6nYDq_frII6eO9aQg51GT_ajIL-LfuZnRuxAHTj9IwrjBQ" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "375", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "v8vD4IULI0dklvAefxUnZl8BcpGnLhuSaWoXrcrN0Ev9nerd9WgDEk_UMOFLexCODRlZ-zsjICGCK7D47t1fieZxY1VZHmBan7ZHST01akh68buZDphMS3_8gJdmF0go5-GGmgWL78iZqMVrLMZnDUUv4qQ8J6o3Zx6_Olphehlrdz6tVsZuI3Pq_tk6oXxiE31e4vgwQDL4XnzvQw5kHl29CUg9cbGqjQZpeOAQ9BdbyNKu-XfHIEqyEH2tKvThDRTwS0Qo5mkmTWL5_aSaIkEIWxu1FjkrE-gls2_l6nYDq_frII6eO9aQg51GT_ajIL-LfuZnRuxAHTj9IwrjBQ" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8cc0805a-42ef-4c4a-a285-f6f063f08e47" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7167d02d-65ef-492c-bc55-71f0a0078fbd", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/encrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "167", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "458", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f31440c-b4f4-48a0-97c7-c79b10890cd6" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "xQfSuDQTS4LW6YrccKpdt5yRtvZKm3WkrR7RuU6jfzYoYvLTvHw9G5VQF6FPGuUqpKlY_8dvpHshKUl72Qjvf9bcwpny52W3nvEmcC51brzsM009VuraJFcAOdI4ycIIadcEWGfkiM_ze_IljYxgr3C9G5Y9mkcJu3ivMp9k0-CGXH0OPP7og_Nvfte-yZo6Ultgcwn0sg8KhWBao4t0nVufIZNlHXkYg3nb_Czr8scfA8wItAeVvYHOmwvVbxX4o3oK9mQzrgvt5MvXrmjoxTYBOf0D-FE2f-Hk7jJGCAG5oNRIdmTSIr42peznsFDnQxOMVlU5hvwb3rge3Bqo2w" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/encrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "460", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f3854fb3-8f39-4f80-8131-eb129ef8aa07", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"jJN_x3ey6ECWEuF-zZRj0M1mWvdblJ87EUKSmxd1wYOyCoCiGrbBiyMkxgPPYR3YHzwLXEiudWF6gL5bTYmC4JnVQaRBHkxzvNeo7k8NOciPT1HCd-ZRa4GLV5KXl0ONpmQL4l9huZx-xk9lcJ93_ZlMzJaM5fue8pimY7WBAW1POxzA6HZjYR7Ukp4URtl4eCfxjs01bG_DnzoONTZonq5i7PsfalQq2TzcXqvJMlpn7VJ-EqP6r6pdKhAN9qH5D_mPQlKqKynK7ySvGYkXeB0BmhAFZeMrcehEQzv0OzGtrW57I6aDUvEQCPyWgXnbLVgLcyvFmxIxQACnwFRjig\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7214a6dd-15b1-4621-a507-992bf4950262", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/encrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "460", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "257d33f3-d541-4139-bf57-cea3f2e9de7a", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"XLSQb98l7qiZkM_8kaeXjmqmm47EmxuJwdtOUKNn_nTK45eMdx8_4Nna9We50nHwyXniKJWpLIWeGDVA3vnh-h7A-H6b7cZKMkZ_AqkEVuDEAAvosut-zMWDtq7wvCFLXvEqDK1asabdWhOF8I8zLOIxGNUoNqqQKgidUES1D7E5_hAofMcpMe_yVWWLeB_R8oAnytZAVqEXhmktTL5BBFfMZx5r4gNufcL6Sihfdl5ocIkpQIgL2TcBl7qoVi2gEj4gp4_M6GdvDFvba8gHIXDmKrdqln4Kq9qs1-W7CAyryIx8iqQdOnvSFPbzEcoCDXoTqHit8KxFk9Er9Edq0w\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "00dd2c37-2420-4b95-b7c1-1e4b486cbe19", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/encrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "460", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5d68d198-5a68-4860-921d-e199b90338eb", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"CssJxGm6rqchQFNwmispmTb8RN9jzo3lfEo5smu_-XPwp81Kn-4oGrrElp2nr0WHWfSJVZqgwqL_HHFKkHpt4_9PBKPNRDhf8llbGr9XZmP1ohsK9z7tu-cYzmsEc1t79W4Qmw0JrIsi9xxm4OiMhHneNfsBf9Z_Zv5sI_kDnCRwvzboiCnopqeiNaf3yF7reVfPgEL31o9VxUoo-owEiPYUEuUYQIJirPAiT66bmQl4RrZe4kOVIa4zxJkpttxoFzlQI0BF0XdrQQLiqhgV147jHb6iZa4xp2OWcOGX4F_GASWZYkhZUG_QhXvasTOlixaRipx9mNHk3yNmnF3yIA\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778/decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "252", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bed10c1b-bebd-4b07-ae51-fb32c31e57d9", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f/d39be95f329545e68431f19408289778\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testrsakey406176f" ] + { + "RequestUri": "https://REDACTED/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927/decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "375", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "xQfSuDQTS4LW6YrccKpdt5yRtvZKm3WkrR7RuU6jfzYoYvLTvHw9G5VQF6FPGuUqpKlY_8dvpHshKUl72Qjvf9bcwpny52W3nvEmcC51brzsM009VuraJFcAOdI4ycIIadcEWGfkiM_ze_IljYxgr3C9G5Y9mkcJu3ivMp9k0-CGXH0OPP7og_Nvfte-yZo6Ultgcwn0sg8KhWBao4t0nVufIZNlHXkYg3nb_Czr8scfA8wItAeVvYHOmwvVbxX4o3oK9mQzrgvt5MvXrmjoxTYBOf0D-FE2f-Hk7jJGCAG5oNRIdmTSIr42peznsFDnQxOMVlU5hvwb3rge3Bqo2w" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "250", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "57da7ecd-1cce-4e04-8a3c-90937372eb28" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakey47643f3/b7ddc9e185464573867c10677b285927", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } + } + ], + "Variables": { + "0": "testrsakey47643f3" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEcLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEcLocal.json deleted file mode 100644 index ba5f37f8f8555..0000000000000 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEcLocal.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEc[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEc[1].json deleted file mode 100644 index ba5f37f8f8555..0000000000000 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyEc[1].json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyRsa[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyRsa[1].json index b76f9c7beaeaf..6411fe11e14f4 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyRsa[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.signVerifyRsa[1].json @@ -1,354 +1,579 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6ae6fe08-e0c2-435e-9e11-22f360701321" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "726", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4ec0b098-caab-48cf-8518-9e5ba07e45ca", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "1902", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key": { + "kty": "RSA", + "key_ops": [], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB", + "d": "UulbjVtdXTpxO-hl9FviHZmVXxNgqtJx7J2shQlPXClq_KG4CJXJtSVg2tLZnCki7CCrOTHLOoQArPkpltj-aGWJxDYkDhXnVTdtki9I-BDgW6aWAI5BfWJM5asziLDkkFvaz06SeQKqOp3iYKKm3-fjnXv42uMHh0kuew1E0fXRVTGHBL0wgOJfQTbL1yfQ_A2Qe9bNkr9TFWx3ireY7D8MzDZIN1_h66t2UPuHFq2OqIbVBTRlZEHihNZirfNjbk8e47ImZqDd1dpyVKLgmdejdg_aWCxH61TG1iKP8qWQ61pRENwaJ6804Io_mH0JVp2nl0K3hfmhSzTeBj7V4Q", + "dp": "cY-_W0rXJ5b3fiZaLzNXot0xH1bs-tLpePdfdPj1cJSXN9bujvF8zeh5e7DnJrG5mK05F9bAiIpDyLqUmNb5PaGDSrooMae08D7dU06n3-pQ1X9MS3eeJ-w3hBUnTHkzgAhwi_UZ4ty-hsIqOZ0FHMvwSRAAhV8aHB-MR4tKbRE", + "dq": "cs6ABkG5NF38KZ0F7KVReUBGxJxVUM2YTZFZayUrMMJZNpnFKnN_P8i7ar222utYz8PewkMQffwj6-4F4ETeMUq8NjlE7Ge9mSDoPNjvEde0lct1s4HLrRb6AlLQ4dRdnUCIW4VCybFOy_h7CH2KtElLEAwAjy4NYNSFGRIcqZE", + "qi": "AxKlWeYxM4LeyHiRbwn4IgypPbdnHql53fJy9xAkkIJxVV3Ry2lI0otUo64n2QKDZ3eF3ta2EjZtsAL0bM9AkT_-2ZXDdJk5viHQ0DOejWEjPYFgMxOIt-gEpG-QCJXFFL-OLJXOsnV1DAG_ELbAoy33am82ydDfy4gpMhL51sQ", + "p": "-TZjzm_whbXKjamp6gizCmWHaTLIz2CpoCLFvw-E6p8HlN2yjsdjFuGu-h9u0V_xRsMMuvDqh3bzVryQulsWvReHrshFgHHlL46NSdLVrOcc3pqW02O5xcxJp6TAlGf2nY5wx3jQrmGHeH8mtcro-ThG87oiD37LomfmAFbWCJs", + "q": "3eCaCf5Cdq6WDzaGMQx-qhDdcGSRzFcgNLxjtpTIGQtv0WYZzgOuhh5TmHbOSyGCPTqbsfSPp1Es8NVStBGIXKaEEo1MieITOgylywdcHQKAg2qVPUXYqQ-kg4sDE8-XK1dF5e_3x1JP9JSHrlo8mnx7Hz0s7x37YvYaPOK61vE" + }, + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "43190170-25a0-4816-9f57-d8ae81ab3094" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fd6943dc-783b-4f18-a36d-329c0a8d72b6" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "726", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bd9e1294-965b-4e19-bbb6-2da416b45419", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "69", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS256", + "value": "WLx9s5UrvRtkv6WlfzdbKuXq0FmDkaujAzRlPvCycOI" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "10ac3bd7-553c-4915-8baf-d0a68076cbfe" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "423", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS256", + "digest": "WLx9s5UrvRtkv6WlfzdbKuXq0FmDkaujAzRlPvCycOI", + "value": "VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "186ee901-d5d0-45c8-8f11-856f65398057" + }, + "ResponseBody": { + "value": true + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1ba2583-bc22-4c41-a275-142c8245b6a3", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "69", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS256", + "value": "WLx9s5UrvRtkv6WlfzdbKuXq0FmDkaujAzRlPvCycOI" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "15e5fb6f-b692-4921-9c40-ae039521e40c" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "423", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS256", + "digest": "WLx9s5UrvRtkv6WlfzdbKuXq0FmDkaujAzRlPvCycOI", + "value": "VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7bdccbdd-2e2f-4d72-b3e7-fc8eae5fe390" + }, + "ResponseBody": { + "value": true + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "977cbbc4-d516-4e71-9d2f-7b5548a8e28e", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "90", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS384", + "value": "q0U8KRbM0Rwt37cMUYIMhajb1GD82Zg5NGXTtrG9mqticE2ITdzSuKVAgTLBRq0I" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1b4696e-c381-4060-98b6-68f09095c3b4" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "444", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS384", + "digest": "q0U8KRbM0Rwt37cMUYIMhajb1GD82Zg5NGXTtrG9mqticE2ITdzSuKVAgTLBRq0I", + "value": "pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "18edf6c9-2192-454a-b964-a479595bbd63" + }, + "ResponseBody": { + "value": true + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cf3e5d3b-afbe-4b51-b1ac-2666d579d980", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "90", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS384", + "value": "q0U8KRbM0Rwt37cMUYIMhajb1GD82Zg5NGXTtrG9mqticE2ITdzSuKVAgTLBRq0I" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8b5fb2da-00e7-4268-9faf-fbbf05f5d20c" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "444", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS384", + "digest": "q0U8KRbM0Rwt37cMUYIMhajb1GD82Zg5NGXTtrG9mqticE2ITdzSuKVAgTLBRq0I", + "value": "pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b9ff992e-6f84-4ffe-93a9-00aa6c3cde80" + }, + "ResponseBody": { + "value": true + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2d015c56-202c-4c62-8049-e441039c5d9f", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "112", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS512", + "value": "Q6X1janG-T3a0v3t33BTlPWADZcF6RnJhnSUCt20YQGtT699FDbwpJDokRr547wx4-0AmBXrWEvrgONHoYcZ0A" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "edc94333-b733-4dd0-975e-4f27c2acd286" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "466", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS512", + "digest": "Q6X1janG-T3a0v3t33BTlPWADZcF6RnJhnSUCt20YQGtT699FDbwpJDokRr547wx4-0AmBXrWEvrgONHoYcZ0A", + "value": "EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e9d1d919-e0d4-4fc6-9bc2-48bb7cf195e6" + }, + "ResponseBody": { + "value": true + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c20d99fc-8056-495a-a983-2a102affa7b2", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/sign?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "112", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS512", + "value": "Q6X1janG-T3a0v3t33BTlPWADZcF6RnJhnSUCt20YQGtT699FDbwpJDokRr547wx4-0AmBXrWEvrgONHoYcZ0A" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f37e0525-5eeb-43ab-9bed-7b15c1e9b5b5" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60", + "value": "EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c436d4c2-5a63-45c3-867d-bf7f16d906b0", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b0066673-be11-4d08-a521-4fc738ae0865", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"pgnnttZnG0DrXoJdN4rv-GMtHEnAa7FFXfIKNlC0wXIlXhGHNy_5bq4CUZgd5RO-56gNYr1rJ44nQJoBqS33t4rLjguIkcBMGyJ02ymSpvCaexHEYPh6XiFWeK9ivPXGxc4Sbu08Y387c-xRRLb5e6uw4MOC1VnInyNRwrqFVHho7cEK-n9CXi__U7oSSAG3n98i8id-oX-sWnxuMu7-G601wPa7T42XIZz_cg-0crE3oFFRO467cuFSNSiOy6f6YDPEJK58KBN5i-BomYhwnNKc1Z4ATRvTtUKs2YT-8jHu4yIkN0-LGmd8tQdRWwaoqQiDueJVSAAzp-T7LERbmg\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e3a663f5-9868-4b37-97a5-ca9027ec8015", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0b4ba5ba-66e3-408d-a7a0-5dbef1f899e9", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f22232b9-6a1b-464f-9a9d-20523d87aa7d", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/sign?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7def80cd-cebd-4e7f-9633-e09210ddd743", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc\",\"value\":\"EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeysignverify72682/51acf3e7f0db4960a3d8db5fd2c383dc/verify?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "14", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a51a368f-4505-4bb3-8db1-a4dccf77b139", - "Body" : "{\"value\":true}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testrsakeysignverify72682" ] + { + "RequestUri": "https://REDACTED/keys/testrsakeysignverify51762/d66e74db477d406386ef717faeb1fb60/verify?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "466", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RS512", + "digest": "Q6X1janG-T3a0v3t33BTlPWADZcF6RnJhnSUCt20YQGtT699FDbwpJDokRr547wx4-0AmBXrWEvrgONHoYcZ0A", + "value": "EhVnpxaFb6gJcMjT3CJ4P2cOCn45FZFFpfGe3xIXtAX7oDzOeqFxpLKuRoZrXz9B4f2YzP-YwNNwBPISceE6JsA_WZHgOBbn3mnl3U90Z3u9HG5zNLfLOyfcjQ5EcoZ3591By9KHGAy4L1YOVIKdm70XqHCY6Xkm00_LBIZRQEjhsrnOLJ84Yxij5gI6n-TrbCyNxubnpRrb1MMSNkziK5mWFulYMC9p_fppWTDKGcog4s4mS6pg4emCBStPiN2TG4WER_T0oV6aYf9GKrAhZEy_7PhQcRxVFb2oe885iM-GPNXbWfzu4lAc_O7TNAi3aZtcPvBFSkfzPk8e7kVkAA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "14", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6eb2719c-2421-472c-a827-7df9fe3ed3df" + }, + "ResponseBody": { + "value": true + } + } + ], + "Variables": { + "0": "testrsakeysignverify51762" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsaLocal.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsaLocal.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsaLocal.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsaLocal.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsa[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsa[1].json index 923d60a28339c..105337d40b7f9 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsa[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/CryptographyClientTest.wrapUnwrapRsa[1].json @@ -1,304 +1,509 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dc2c16ac-55d6-4786-b5bf-ee20077eb08f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "726", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa790feb-da6b-45c8-a9ce-d00e1b4493cd", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "1902", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key": { + "kty": "RSA", + "key_ops": [], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYun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Zjzm_whbXKjamp6gizCmWHaTLIz2CpoCLFvw-E6p8HlN2yjsdjFuGu-h9u0V_xRsMMuvDqh3bzVryQulsWvReHrshFgHHlL46NSdLVrOcc3pqW02O5xcxJp6TAlGf2nY5wx3jQrmGHeH8mtcro-ThG87oiD37LomfmAFbWCJs", + "q": "3eCaCf5Cdq6WDzaGMQx-qhDdcGSRzFcgNLxjtpTIGQtv0WYZzgOuhh5TmHbOSyGCPTqbsfSPp1Es8NVStBGIXKaEEo1MieITOgylywdcHQKAg2qVPUXYqQ-kg4sDE8-XK1dF5e_3x1JP9JSHrlo8mnx7Hz0s7x37YvYaPOK61vE" + }, + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4404410c-309b-4d21-95ea-9547ef9823b9" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "583cc99f-36ca-4d11-837b-c9cfe2e27815" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269940, + "updated": 1681269940, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "726", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c5b4b78f-a0f6-4c6e-a8e9-c8fffe66ec9c", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "369", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "bLHLOoZrTAsylQ5sgbe9V86UdNMIkUJZBURFVNsjx6DDqb8DDBHuYwGgpz1ql2WXntvc9QtLoN338QDBg1LF7MNFMBaNowLqASleFJ-LbGF6t5N9UYgZA8_ncJzopIvQVlgsYcn-l5D3krsJWPa7p5ry3Wuh7nIsdGBto06Ty96E6DsX3KZ01ByTZXbwodJcWBbtrorc8D1N6nSD6n0s8zew2wWWzsKgy_nkXdK3U7iaLaa5ygMy_09UN-nWGel6--Mlg-TKqWBNUtSw8vkTt22P2olj8vHWtod2cLGvmdvGT8vbTl6GA6oGo0ru1s79WVDfUb69BmFgf8hkHFwcDA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f010a765-3203-4c9e-bb2b-bf66f2b9979d" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "161", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "769a3332-f54f-4e9e-8af7-aa79a3ea5118" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "X4FgxlOtrjDVmoLWrlYGBTIfacfQjgcHAhjlXe7CQlgSppwci7JYA-P0da-GS8wOPSG7zmInEYrc8jw9TWju2OrOjls4ajajwvwYaOmSC3PnwPbao9Z3YpF0Zl6-L7I6hMy48JdJt49aaOMroKRz-g20XHso00aRlbcdaPo9DxWYKXoVOqAKvOhEEtsX99JNvsQxMf_UOF8d0oc0mAvSlAjnQVWlhVp-yhuyomomLDNoN94v8CcmspSqxB1vlC4czex-2Qj8rL6-Y9scnuPZqWO-dXLc-OzKjEdwliVfMa3YNN6IcZ4hKpT7sGB7jupdB9EmZzZIh_XIYEFysP1cNA" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3c1941b2-bcd1-4975-aa23-e55dbfb3e400", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "369", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA1_5", + "value": "X4FgxlOtrjDVmoLWrlYGBTIfacfQjgcHAhjlXe7CQlgSppwci7JYA-P0da-GS8wOPSG7zmInEYrc8jw9TWju2OrOjls4ajajwvwYaOmSC3PnwPbao9Z3YpF0Zl6-L7I6hMy48JdJt49aaOMroKRz-g20XHso00aRlbcdaPo9DxWYKXoVOqAKvOhEEtsX99JNvsQxMf_UOF8d0oc0mAvSlAjnQVWlhVp-yhuyomomLDNoN94v8CcmspSqxB1vlC4czex-2Qj8rL6-Y9scnuPZqWO-dXLc-OzKjEdwliVfMa3YNN6IcZ4hKpT7sGB7jupdB9EmZzZIh_XIYEFysP1cNA" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ea1db49-4c54-4191-a3f6-882b34c70606" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "Pjt_XKfg86h9ubY_Bzh65Mr7AKB0pdz7XtWRLyVMRNe0d0KEA3jj6Mm33OddIK7A_OPo32PQ89OsRzHuWQW6etjeoFHCYzVMDvjvOor9k4G94LFaCinW3DWefHSJojW6rflBSG9MRDME7fdDb3NxSGW6UKPOP9ihZnBMO9BsMUdHQ71DgqiDrvHdKAk_KQhrZPDUJzHl651DjV9eBkwVzSXD6mm3f_c_62_oMltZnNCftdxN-vqu5w71hIEwmVq9M4hKCMDHKh9mvPokV1EjAISoq7rQ-YuCb2ZMhKoVVKLQHAlrLzlZopo54uB_1CV-KUkWWTdtfQidzCawkxJc8w" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e9af4f07-25da-4075-a8e1-26026f04234e" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "705773fb-b903-46c0-aa47-69bd7ecc8709", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"htXNa2cqFMaQhJ1KGwD8FROhEOIIJMYqBnR-H5l38eKeScymEx05MV5Pa1nxtb-1zx616xRgxyLtEbSOswIH9VvYnN2FZRStK1tH9P9jpye4i4mSsLXS5Fsgzxe7TeqZUszreUs1_rVF5nJlJZhoXEmRq5FhCTkYeiZZnzgMEPdSIhKYXQsiUjfQCmyNNUf6HqbhxGEhvj5akw_yz3hmlZvEZAo4bM1WCs2bRKTM5Jg-_1l6mBaQA2zw6SZqetKelOsQSob-g0mdOcCzyN6Fe95Q6nLhe-X6umXt75Q6oIqOHA0d-694VqMKE437Uaw5AAgWkLbQBIJA8lPEbIQiFg\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "163", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b974f0f3-08e6-4d96-898e-08f21e65f5d1" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "NR3Az2rGmR_qbi0YkrQkdZhMTiTmOUjidCmoVcUq2jjtqXz9YSBakDVF7G4yViggyaBvw1R7iSgxQnAnzmuyJYjXBPkr852IaEggvmFC_TWpTeM-rA_sTahwq6fNIUgekl36AiniCgxnwMGSa-GdKCgNVsI07naBvTImdk1G8qdYz3PT80DO3QiL813jiTcGud58pfiznOTQhU_lCq91_N_xXfCoR_MUA8E9uFSxSb7njVpxw0LoNhARwEMwIFsrYwW7EdbI2URDKhU-OPS_m21ZBGfyRFnjSlzsJPVGF8R7Lz_1SbsbSS96xFCXoakl13jM6iJFqiP7b_nhCDFAhQ" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "NR3Az2rGmR_qbi0YkrQkdZhMTiTmOUjidCmoVcUq2jjtqXz9YSBakDVF7G4yViggyaBvw1R7iSgxQnAnzmuyJYjXBPkr852IaEggvmFC_TWpTeM-rA_sTahwq6fNIUgekl36AiniCgxnwMGSa-GdKCgNVsI07naBvTImdk1G8qdYz3PT80DO3QiL813jiTcGud58pfiznOTQhU_lCq91_N_xXfCoR_MUA8E9uFSxSb7njVpxw0LoNhARwEMwIFsrYwW7EdbI2URDKhU-OPS_m21ZBGfyRFnjSlzsJPVGF8R7Lz_1SbsbSS96xFCXoakl13jM6iJFqiP7b_nhCDFAhQ" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a39e1fd6-6721-4be9-b3f2-33671f7acd62" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "325039f3-b815-4489-b67f-433d4105533b", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "167", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d3f3c3e7-6f77-4fdf-ab00-5fc9b5e49e4b" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "obaFHPP8ozEbUP7OtIv20wYBlUTbHS18mix7DfOzFgKl6xZJpvdAfVUvVPJNyo9IGkN4Neb-eVp8NC7DMM4gJFsxgf5H3_KmTcBzQXiICa78GHR8-iVoGlzsF1X4sb0njI3EZfWXayw5Cwpx5pA3h_qsntmUjIwTJHbfaK4ZC-ZDvUXSuJa34kOCKbRMXC_nMGuZDhUsvAH9yZIz4BrHxYJQwdVw1eUNxXnOjdtw_DTgUVSi6NO0g1FqkgK2Rvov8bdijAnKoosz6AH9LliKM-uL4NvGp77tKUpYEsp2rCKcyoyskZVaDcJdx-UBw3z9Z__5Unb_FlRQluLt-OvMMw" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "375", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "obaFHPP8ozEbUP7OtIv20wYBlUTbHS18mix7DfOzFgKl6xZJpvdAfVUvVPJNyo9IGkN4Neb-eVp8NC7DMM4gJFsxgf5H3_KmTcBzQXiICa78GHR8-iVoGlzsF1X4sb0njI3EZfWXayw5Cwpx5pA3h_qsntmUjIwTJHbfaK4ZC-ZDvUXSuJa34kOCKbRMXC_nMGuZDhUsvAH9yZIz4BrHxYJQwdVw1eUNxXnOjdtw_DTgUVSi6NO0g1FqkgK2Rvov8bdijAnKoosz6AH9LliKM-uL4NvGp77tKUpYEsp2rCKcyoyskZVaDcJdx-UBw3z9Z__5Unb_FlRQluLt-OvMMw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "52e6cd3e-7a1b-46d1-a794-b131bb1ea695" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "df41be96-fe63-497e-9b17-7b685baaaf3b", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "167", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "466", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3fe4c2b1-7958-44d1-a6ef-95ac54902889" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "BeeokB5KuH_CGEl-DrqqCH8E9WFo6VHsoUIcjiioFGvC-uV-0Qoc1wYHnq5vIBIJHOy7TYIFlEZk9z-MeKN13mEnjBFdRwbOU2Hx5lxXX_APc4OgGZOiM-0tbEX8cK5fU1PyIdghiOf-c-E6ioGRhcANcjRpUnz9FIFSkqmvi9wrVr4H9RGPvV9Itex1y0gNwce0PN4cfJmhi0UgQeeeeoiI-Fn7pm8hJqsPyw4JpQmkXW5tTuTH1BuPPV8xuIc3GoxliSzyalnmdSWgzV5V3TMKaAvSFcaCTIpc9fWnExDsCt-lD7r_tsbY8AsuLBmZeO0Qh2EGbmPw-o0zGihs9A" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c9540a9-6c92-45e8-88b6-5e5f146812ae", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"tMMv5nMyiqM2NKQcfuaFYYb0ENFfABBMnMQAzprk_6_T5BOCaOZAsMgKvxZMFSG2Lsu0aorTaTSqqBVG6ft7bkTh7qqx3p6xA7V0MfalvDfrSDVN8NMsMUuZiRBgNk6-lUxXmND5G8IJIBTEaoZa2j-8qo1g7E9kffjXvvFpEeg4E-KoIMya2Mocp-Ykit38lRxcEXbfLpCMKpxeZQ07DLWpwd7p-b0t8L64raT_fMKMPRAPwxRLL1fCd0YxQsyu21esDv9FtbgRjRi8u5oyLnScvcg6dJE8X8hRHwPcuYDyy8f4wWit_l8oEwuEPOme83gFTHiPE5-T5PSpC8d01g\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "39eb9b0b-cb7d-4481-b88f-8053261e4740", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "956695b4-7746-4915-aab7-748d22acd3fe", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"MDB9oNiqDS807R6U-sRYrDJpYb_7zyP9gN9tpbS78jHV8DL7KPaVmRHkNrVfNTrMoyNoFKi4Mwb6c4q53rpaPElhHR4NFbYN0TioOOXLeUIb2PBBbM-P505hZ71tABujBk_mNvGbJ3AbxqkPuD4iW-JxWBhXBzWPhbR5x0YHi71idnfZCCEp9Lhr_hHlT_xJInaNpIsQxZZRWM8BDWFYHO2IVGAMhEOc95OezzaRVQCfDFaSHX_PlzY_tc7eY6QRT3M5n124iOJ_oPcEnmeQk7Oh2BB0OSnWszTa4na5bTjGt9Xu97EELya1lHXyU5w2UtNpZJ_LbUnXWwj_z-TvgQ\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9b8dba53-6581-4c1e-b458-287b540d9d75", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "468", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "738131ec-585a-4cf3-a25b-a991da284f53", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"qs4MB6sUtnJO2ua6xj4aFzGVTq1BQgaxoiYLFU4p0hSfYQjazmsaqCTIMpewkfqjljYjM9uai95hvET0KJDaJPlzTCRHqoZMHiMSy4UVDh2BhY8xffx8LhClRA0vj2nW0AWYFoua7mO_3FI-Q6o-Ta6ynYxQ16oMYtBLu9BfZCyiZZilLY6aPCBiUOtyUEtdYHRowy6B_B2_tPGj-zJt94ReeUHVuW2YNqKfTOfgbKIyRiWMrTGljeFIeASHMRfP1aZ6Vmk4si4Nm9BuKUMv-YccK1lxzvPcUhHZ3cxMpjAkIySqciERYfTetCu_cbbw43iARQngThv3cAVuu4R91Q\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "260", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ca673396-c3f1-4d06-a86c-a80e0c3163ca", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068/9d775cf59bf7402aafcd63fb199b9daf\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testrsakeywrapunwrap51068" ] + { + "RequestUri": "https://REDACTED/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "375", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP-256", + "value": "BeeokB5KuH_CGEl-DrqqCH8E9WFo6VHsoUIcjiioFGvC-uV-0Qoc1wYHnq5vIBIJHOy7TYIFlEZk9z-MeKN13mEnjBFdRwbOU2Hx5lxXX_APc4OgGZOiM-0tbEX8cK5fU1PyIdghiOf-c-E6ioGRhcANcjRpUnz9FIFSkqmvi9wrVr4H9RGPvV9Itex1y0gNwce0PN4cfJmhi0UgQeeeeoiI-Fn7pm8hJqsPyw4JpQmkXW5tTuTH1BuPPV8xuIc3GoxliSzyalnmdSWgzV5V3TMKaAvSFcaCTIpc9fWnExDsCt-lD7r_tsbY8AsuLBmZeO0Qh2EGbmPw-o0zGihs9A" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:25:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1bfcb84a-270a-4f44-b880-66fa3f3e9eab" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testrsakeywrapunwrap91043/247835fd88314ec8814752308f771e65", + "value": "G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw" + } + } + ], + "Variables": { + "0": "testrsakeywrapunwrap91043" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithDefaultSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithDefaultSize[1].json index 1de66e2531779..ce141416060f1 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithDefaultSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithDefaultSize[1].json @@ -1,28 +1,98 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey20790c2/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey4021528/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bcc11e56-d8e0-11ed-8cf0-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "436", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "213", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "34326b42-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678955169,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955169},\"key\":{\"key_ops\":[\"deriveKey\",\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testoctkey20790c2/2eb01b578c27402b2c3684a0eafa1ed2\",\"kty\":\"oct-HSM\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey20790c2" ] + { + "RequestUri": "https://REDACTED/keys/testoctkey4021528/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "106", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "434", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bceb30ba-d8e0-11ed-9c0e-000d3a602e9a", + "x-ms-server-latency": "295" + }, + "ResponseBody": { + "attributes": { + "created": 1681269527, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269527 + }, + "key": { + "key_ops": [ + "deriveKey", + "wrapKey", + "verify", + "sign", + "unwrapKey", + "encrypt", + "decrypt" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testoctkey4021528/01949eb3efeb44ab061a8b33ad6c16f5", + "kty": "oct-HSM" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testoctkey4021528" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithInvalidSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithInvalidSize[1].json index 7346634c4aa76..bfdce6a413e6b 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithInvalidSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithInvalidSize[1].json @@ -1,26 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey93685d3/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey75433d2/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "7f7d7466-d8e2-11ed-bcea-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "120", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "400", - "x-ms-request-id" : "347a0358-c3d4-11ed-925f-0022488d0014", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Invalid key size: '64' (Activity ID: 347a0358-c3d4-11ed-925f-0022488d0014)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "17" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey93685d3" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/testoctkey75433d2/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "120", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "key_size": 64, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "120", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "80440acc-d8e2-11ed-bcea-0022488d0014", + "x-ms-server-latency": "18" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Invalid key size: \u002764\u0027 (Activity ID: 80440acc-d8e2-11ed-bcea-0022488d0014)" + } + } + } + ], + "Variables": { + "0": "testoctkey75433d2" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithValidSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithValidSize[1].json index 3938324424775..9fcc883d871bc 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithValidSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createOctKeyWithValidSize[1].json @@ -1,28 +1,99 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey9815016/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey60259c6/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bbdea6e8-d8e0-11ed-b20e-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "436", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "204", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3323a518-c3d4-11ed-925f-0022488d0014", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"key_ops\":[\"deriveKey\",\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testoctkey9815016/f7a387c24e8c008b17b088e65f75ba34\",\"kty\":\"oct-HSM\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey9815016" ] + { + "RequestUri": "https://REDACTED/keys/testoctkey60259c6/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "121", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "key_size": 256, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "434", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bc046fe0-d8e0-11ed-9c83-000d3a602e9a", + "x-ms-server-latency": "142" + }, + "ResponseBody": { + "attributes": { + "created": 1681269525, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269525 + }, + "key": { + "key_ops": [ + "deriveKey", + "wrapKey", + "verify", + "sign", + "unwrapKey", + "encrypt", + "decrypt" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testoctkey60259c6/6fcd75ba1fc24c368d1b0978903ee224", + "kty": "oct-HSM" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testoctkey60259c6" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json index 9b94026865b45..769f5e4ff3ae8 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json @@ -1,28 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testrsakey5341350/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testrsakey718891e/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc2dda60-d8e0-11ed-bed5-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "782", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "840", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3365a1ac-c3d4-11ed-925f-0022488d0014", - "Body" : "{\"attributes\":{\"created\":1678955168,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955168},\"key\":{\"e\":\"Aw\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testrsakey5341350/bb18d02dac250d7e01e90ee303cf69e9\",\"kty\":\"RSA-HSM\",\"n\":\"tnsvwTR0nmDUryfWBNDyk_IfNtkbkGVemIG5eDg_Us02kMCSaTA-ckbAC6Uk0G2UEYf866tECOi5nHCyKgHOnvUh7VZe8AtHNuWe0A2WyGf5HQf36LuiIbpbZdGdA5DEc8HUJDyGIUzK1ucEYkvHLyAG5NHussqkP8eMBZ_WzQrYaiCGWDHP59KH6zkQEjiRDjuLdXLgkkE9YdykAw7HOa9s4r7h_639kA_xIau7HzFmIeei6sDVFvbtEm4sKEDraRdoMxVNBFk4G5w9rQfBL9QBJKeJ5Z77yY15SQE5FbNgF5FxPpkEEQYBtgDZLb3SDbDxzd2XmfeDabD-59DbiQ\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testrsakey5341350" ] + { + "RequestUri": "https://REDACTED/keys/testrsakey718891e/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "122", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA-HSM", + "key_size": 2048, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 3 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "780", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bc547c4c-d8e0-11ed-8380-000d3a602e9a", + "x-ms-server-latency": "1364" + }, + "ResponseBody": { + "attributes": { + "created": 1681269526, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269526 + }, + "key": { + "e": "Aw", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testrsakey718891e/e8d18b5a69b046b88cc525a52838d236", + "kty": "RSA-HSM", + "n": "kBEKPleJ7g9RKPxE6INXuaFVv9mIBYC1TZbZ5XeTu-Safa-i2wdpFL4B_o-mB7dgI_eadPhGZoxF5iCaMpLc7Z0SoNx3B_I-On6yzH467_8wz1-Dm6HQzZGWa4rESfnAvj_BpTZCFKSXfcZWI06WbLfxCK-hlZdoCfRN57GsCgX70RLbw25FOoi1IsBfh741CMsEnbCYLhbMjFUbtm017r3D9l8GmzhHGieVVVbmsO8UlVXGwu7i5dTYxo2WEBwhoLKsuI6iren_oLlAzrMavB1cJZjWGcSYLuHu-XRIXKR5clAvTyK_5-x9BoVqWoyzfp1hQSrkomrDSJ0Bt17D8w" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testrsakey718891e" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKey[1].json index 05eaa55b229a8..a0c2ad44243f2 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.createRsaKey[1].json @@ -1,28 +1,99 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/javakeytemp16693f7/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp3716383/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "ba84cb60-d8e0-11ed-9768-000d3a612dea", + "x-ms-server-latency": "12" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "785", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "330", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "32c7bed8-c3d4-11ed-925f-0022488d0014", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/javakeytemp16693f7/1d823c4c2abe491e08d1f384c649437a\",\"kty\":\"RSA-HSM\",\"n\":\"lp_SFnrc1jHLo6P_7rqRfYZRZvUo3EWvBpbje30-bdu0S-CBmEWHk63hPQWgPw3qdMYZSX_VSa9i9dwbDN0u6JUZwxU2HNzGandBRdlyrg0qWNe5HgbicJfEDRL0sUk0wmMbwg2uBcOL-3CMvvd-RpnHGNaWrL7891Ht1TJrQINEQ3Ar3ZVzqPqMAga8S2OBeipwFL7ukVZUTKYHiuiaNp7yxCZbNFv49BGW04G_QprAmZnq_DYo0snMt2exLHWHgYhPaDCpE-2fU3WG6DGOXwGv2GO_7au3KMAWfCdw-3NnBY8tC6HLG2PWVDG27mO0awgS8gZJ3ZrF2-dMPteJGw\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp16693f7" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp3716383/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "106", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA-HSM", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "783", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bb6f2e1c-d8e0-11ed-b20e-0022488d0014", + "x-ms-server-latency": "589" + }, + "ResponseBody": { + "attributes": { + "created": 1681269524, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269524 + }, + "key": { + "e": "AQAB", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/javakeytemp3716383/1355b72195ab4993bf7c57eeed8f7ca8", + "kty": "RSA-HSM", + "n": "uthlLhv62o96FfehzqYU7KOSOx1zPN5n80RBwPtcx_yhe7Mqr3Yk31Kw4OZrV-ueumaB2VLUw78KxMHqcd7Bm2rZ26ypUfgnKBuDJVnhJoJ-3-jUrXzFHcyXRIx6hOLeSoRt7gfzfO-ZNNhx-CM-K1tISxwVZTKBB4A6K_pqauhhCg1WkGOdvAL_n-rTWYtKuNZofh6CId6Ueokq1a2s5HKpEHL_ZV5TwafyrdiVTOo2ARYqwLHFzpXzVZNuhI7a-Bz_aq_gMPIIowiQYqylQyjOYsfRInxg8veLWWW001qIl2_Dc7fqnFfV8WIi3UOb5uAvSgmtOr7yHuvh87p9KQ" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp3716383" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.getRandomBytes[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.getRandomBytes[1].json index 1ab4eca2435f5..94b165c3596d9 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.getRandomBytes[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.getRandomBytes[1].json @@ -1,28 +1,61 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/rng?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/rng?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bcca6f2e-d8e0-11ed-8cf0-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "28", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "1", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "340e3fe2-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"value\":\"4AZTIRaWASM745XP\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/rng?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "12", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "count": 12 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bcf7c2a8-d8e0-11ed-826e-000d3a602e9a", + "x-ms-server-latency": "45" + }, + "ResponseBody": { + "value": "WgXanHnnue0vB--S" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.releaseKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.releaseKey[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.releaseKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientManagedHsmTest.releaseKey[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKeyNotFound[1].json index cfb6fe25f7ad7..f27dbd35db31f 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f9aa093f-0611-4e40-991f-a5b8ea74884e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "067d21c4-6d40-485a-b1d0-bd23df59398b", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4a02975e-1b95-4b15-8ac4-360055e5ada3" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKey[1].json index 5fe2242e0bc56..f97a2f8423e8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.backupKey[1].json @@ -1,79 +1,131 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey872586412/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey829743998/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3cee85b1-27e4-452f-9691-7548ee7a79ec" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "df2fd72e-4364-4536-bb2a-815107568e7a", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey829743998/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f4b43d19-e8a2-49d3-93af-381ac4a5c018" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey829743998/2e095f556d8c4015b22066b88b479ae5", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "91NCuFx8oMA7HzES1cib5fnI-e0ANBeHgNicr1mCsOvM5p1uDLTvpOnSlSDXDixOnQ3p54ybYRQrCsbsdg22S6xStIbJkMo2rgF_nzoo9Wg83WjrB9hEgeAvBiPvLtFf8GG-x728nhlq_vM_PRJgxhA6Woedrn1k_Vkk1CEcO0ALyxDzoa2kJ_6KwT_oraDpSNy4cuHPVx-VTDjRI4K6FGD5m_R385P2-sVAw8sVFVeIkrBVVN45KTKHt-6AUWZolRF6EAxmWQmZjVqXVWnOxXoTzRIvPGwrOSV_oUCPLAJ5n2C2L_HHJ9fIo4bqyn6fyGe_7gCLET_boJAV-f8A7Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey872586412/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:34 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "952013d6-5a9e-4be2-a579-ab64738ab4d0", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey872586412/11c0a8f132a14520b31a2a4cdc5fa070\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uokhSqhml7xTnPGAM32N8cQTuapm_LOjiLX7fS4hVvCA2RwvP1J5bemjzlADiWPcdfAQ4SHzdafbXHIDbAvovgHlsJBkavAhU0ckFdu2LPFreVWij7ce4fx5r9CD4yx8vzld_XFNQrstkiavSZ3QaH573HbjA8JjYIAlRu-TphfiNiP6o36P4AeiuFCh_qKx8Cl6KpJS4mNZ6gRWD7Sh5w4v6J2uZrtUjHrzFcDHaZimVSe3dCocXXffZlyV4gy8jZY-VN0tqYqUDdpHfUkxUKp2hMBzpK2hDesLC9GwFhnHOHk0Dn6c9swGOO0ezgWOaHgoYtnr4MirRV5AcmTNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954174,\"updated\":1678954174,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey872586412/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "12519", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f884cd9f-b7f5-46da-a8a6-61abb5c2f64f", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuTkZkeWJFQWNlN2Z5SnRRemN1MFRlMWFYUDkwbGpEU0VIVm1ma1V0UFctU0V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d4WGxXQU02ZWZWbk9iS05wUkYzU3hpTUlweEc3QnZqdEFQVlVNblh1SkhELVpsSEdILUdEbkVoUm5yQk9FeEdKWk5fengzQWFWaU1hWDRJLW10MEVCYWk1b1ZvYVpXQWdBREhLeHFpWnJteENiTXF5RFVxbnEtV3dlN184Z2dTb1FBcmR4OW92U1ZVUXliNEh3S0UtSXRvQUxSZE5feGFpa0RuRmdPcnBxRVdnZkRSNjBxY19xS2RmSHRaZDNmV0Q1UEdXeGVDcUZwMTFMbG1yb1R3ZVZUZll4T3NmUklNNHpYMWJablE0TmJMbXVHQVlkaE9fTGx4TmxxZ1ItQ2FfYVZ6a2ZHZ09QMEJ6MFJlQVhPUEtfMWg5Z2RRMUVuYkEwdTdDTjNycFV6M0VtbVNxVXVKX0VVM1daeXhHV0VQU3ltd3BHcnNTeFRxYzhzZ05PRmZoeEVJWlIxVUhpM3ctdURHaXhLVEhxLWxvcGY5YkFmLVlYN3E1amh3SENISS1kV25FeUlPSFo1eXBrcF9PR0RMVnFOSjZqU3pqMVo2aGZpaGZ1U1luQUE4MWVhM0pfSGdkLXNhLWl2a081Y0N2SDlBLjNOSE1fR2h1SS1kVmRNdjZlcHY5Smh1Z284RFR4VDNtVEJhVzRLQkEwVUE\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey872586412" ] + { + "RequestUri": "https://REDACTED/keys/testkey829743998/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3ca9079a-ad71-4d25-8cfd-77ecaca724f4" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAual9nWGQ4LXB6a0J6YzBEdTFwWWd4aWJDNkFuZWIzYTJLM3lsUnE1UmxhaDVLTEVhZFRKSjZ3Y0U0OTBkQXR0aThUUHZnT0RSSzFHR0tQQWJhUE9rdmpfZjBzOElpWklVZlBERHhraHdpZXdmcmN6LUp4NnYwVzZob3pXSG8ybGYtYzZFYmhIUFVQeXltVE16WkM2TTNqTlI0blViYzVQeFRXcDFndXU1dUpSTEZIc3h4NEpVcUE5dEhpWVh4N09UdHRCX3UwcG9lTF9FaTdmYjB2S3J1X2d6NXZsZ0NodnI2T3lBRUo2eUtMMmxLeExiNmtSWnhjRW1rT0d4Rm5FZFEtdlhEcGxQZDZyUTVGT1ZxMy1CRGlpUUtJN3hhVmFZX2txV0pXYzZLN0tyRHJiRzIxNGhrWU9qSm9ZSFNoYV9sZ3N1RW9YRlpQWXR1RXZ4RF9OUVVnLjJWcVRKZlhHc3Rrc1FCMVNxakhla0EuMmJENmxYaXBEUm1mc1NIQnMyRWExRzJXOWZhcDRyNUFNMjItWGxWcnRyZE85VlIyaVlQVXJxSTVQanlJM1RGYWlOZW45S3lxQ0VrZDBycWpqdXNRcTFNdk9Hcm1samxBSG5fSGtWNUlOTXN5elJNZzV5MUhwNUx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NUxHajJTQXdKSnUxWks0V2tDdTJ0NXRDMzBqOUN5RDg" + } + } + ], + "Variables": { + "0": "testkey829743998" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyEmptyName[1].json index a3723f45061f0..f028986d99ba5 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyEmptyName[1].json @@ -1,29 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys//create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bff86b4a-0bac-4c3f-9e1d-4c02e2d542d9" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "69", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b4ee8af9-5740-41aa-8399-e8b1225db8b3", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Operation not specified\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "33", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "69", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8c42a4ec-0902-4b7c-8471-8d55b541f993" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Operation not specified" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNullType[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNullType[1].json index 833a76225a883..56333e9736da7 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNullType[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNullType[1].json @@ -1,29 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javaKeyTemp/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javaKeyTemp/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7ec1c8e6-52cb-4952-b82b-6f6af91449c1" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5891db4a-db12-41ee-b0b3-9f1de48358ba", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Property has invalid value\\r\\nProperty has invalid value\\r\\n\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/javaKeyTemp/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "37", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "108", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cf53e008-7235-48dd-a021-1542de3955b3" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Property has invalid value\r\nProperty has invalid value\r\n" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNull[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyWithMultipleTenants[1].json index 43a7850d05317..fbef2fb501a7f 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKeyWithMultipleTenants[1].json @@ -1,54 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp12856ff/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp55637e7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e96b86a8-7ec5-4c6c-8f4f-5949d6363ed3" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b54e6435-03fb-4e64-b2d2-eab572f69e20", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp12856ff/3dbc83d879914347b553d392cb177e07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sXD1tjSoOP3uCGNNGsQVayELjeYEITDKE-wAhSU8RCL0oRBwAa-Msn85FPGL2s5ukPGWbYB62GOhQne1lNElciV1fj5KqAKIhmTri5CvMSRvUQ39D983mpJ_Wn8KAKSIILZQMfVPbSO6Djza5PuCDLJLhKnlHkeTuzof8NgXMyhBBYQNyrKW9Wo3tMce5YN4TxNDh4WXWrv38ZOjVaYIxY_oMlI_cRQ1kNTW5kbMJkYufP_JTn0mcZFfoiE6fMqgZ6btvNEvu7io0HZ3Tc6LzRfoC40hquyBPp2dicalR8MqlvVl_Jz0HPFEa4G6GGKwJb9b3soeH0wg_Tds_HamzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/javakeytemp55637e7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "51fdb663-3940-45b2-823a-efa0e3df0315" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp55637e7/4a233cdab24f4fa985629fde58b07fe2", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "peaSkCUEzcaKzlRIskGYDhnAsHgwtyy30VxOxEj1VjoWtYVESiJDhy0wWvi7z6WJL1A8kmuJ7LP8AXd0sQlCLyWwXhCpuz7oiSdC9cgcqAxVKycwPoBmQsRGvPaIpt7s3ohzKKkbfYmjftAhol8HhB7mkQcRlidd5TgdSlpDk74GQFEUk1cl1XFlFYGvBpFxvjqOWd2zEsSS62TxkZG6KidNTzHTuAburtiEtj7Kx1W0-NEeP13k-rsqORn9CVdxT7Ja9eL_eULN3xwthnRUpKcm2uP6q17rEMx66N5GZ330md-oD97n_QU2Wz-HRHZzlPgk-FvPvGGwJ0KByLE_2Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp468463f/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fadf910a-6984-448e-8636-d66bd5637984", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp468463f/4aa6c1ebe62648a39abaecaf6cbeb765\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"u9MI0SxpXpKFM6aYmuI5uSv2NczqV21VKfJKfGbrOCKwp_skRgrs0LbR5q-ciM00dRZdljUZXO_lju5bjLC-Ygs1TDuXB8lnjfz6PhmTt3Il5BQrERLsA4zyZvjEbIsRZJ8NDlGWamqUUo7-aadFMhR7W_fbEEFcv4L_Q-AQWd8t8AYc0WzVgNYrXmuEb5NiO-gy4oQjgTfEzH2WfNIS6aDhWG-_pKYo2xToNe6_crGd21qxAVDDzE0WDTdXLAt8b5pTe8w8i6aQOY-06Iu3g28KavLqrZCV4V3NH0LRPEl1XIBmUgSylFqzsB8-ORpJ17Z2_A3XOQc1SoLodBudMQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "4b441864-e924-4db6-a4d0-800d21cc68d9", "javakeytemp12856ff", "javakeytemp468463f" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp8730681/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7d82acaa-cb6d-4d7f-a20b-cb5cd32c379f" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8730681/644eff7f0f4a432e8be6acd51265423f", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "vMhD3mzMVa4dcXdZS7_1ch2cuuSAs9FFkx939SRu22Ne96i52VOc0dqA-VzyCEJemj6zyVnc0agmh_iptIP8r4OEoJFRPQyTCPTJ4QGjEmOlvYDlOjeX6mWwT4wXbIMgLMmi8jRuCVFwS6rOfZnDwErcxuck_cm4gbeDiCqQXGrNuBi-fQq1tBfFzgZL89x-j1pmFe2TcbAjwo0eHxV-CKDENVG2RNJXb0JgC6J2ky1mgOxWiJgREjHrfJoauOQIM9oGwGwEfQQmtS76FkvxgcEFM5CfA2oLQejkOF5W_LgDCRhDVtCRsjvy3zCpWg_osC79hR4r6s0mLV8qFd-5GQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "f93956d0-b4bf-4784-b96e-eeed7ce42708", + "1": "javakeytemp55637e7", + "2": "javakeytemp8730681" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKey[1].json index 1236b7592a130..754d9d8815186 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createKey[1].json @@ -1,29 +1,108 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp25880d2/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp10580ed/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "43523bbd-5c16-47d1-ab45-25fabb86e171" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b165676c-c7f7-4fbc-8f6f-f14f1aab645f", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp25880d2/9cf685ad85fa456ba111c220b30f6bef\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ujPHr4eoa6MNjuyTl8NU0KfkXbfh9fowfjpsbUkP-IP2eAepXH3PMFX8NgRY7KQ-VgojAy0440uFE5FMihdnTgfN-iyt-MzOVYCUkNAPJ5uVEU6x_H8it_87i_gGTSf0wDN3FXTUMMLkcrBtlxoDDH1WlMVhWI8IaBrfl2Mf9tChCstQfLeu_RfMuWssg3QkCwQ9Xq7GcncnRni46M6G-Fj7sCKAcnAdXbWHf4OElJ-TXgTATkFrZrN8mBFLbltRdd0GbNPoc9WA6gS20gV8LvJO1n2CpPapwSb0L0mkUiANrBm-RHP32IGWNgVycmR_DGrLtnJyNMZsdFxbbeu-cQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954215,\"updated\":1678954215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp25880d2" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp10580ed/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6d7ac137-2451-4304-bc28-c6df66ecc3e8" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp10580ed/1bca746a82144f1c8ce3297163829b81", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "2BhVJSI_--X5C_qNYqkJnfKtK-p6-D7vEJDunn_Uq7MkNUYrdbeRQQCPWiUVW-f1SexHZWeQ29mcuqhwy7h0m_iWOZS8LGVenBl3JvSbKqTGm9U2hMg90pBvEG-ttObIx5sVckFifAt_Ad18xfjwgk25D534KI5Dl9q4FHxbA9qH4M0fbUuEjSeaBmUviZShCXQs66Xv8dIaBUdk2kYNksCC4FmRrgMFuIJuIMLnjueEOh3Mgn6tp85siKKlIcdccPSy0KSZ_tI08ykGQDTc0UKNGOeP0sG4GtD2rBagTu0S9TERxGFdw6SIxsqeo-71WcwkjKRTzoMGTxhOH7D2ZQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp10580ed" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createRsaKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createRsaKey[1].json index ca65b43f91aca..57eee85c04426 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createRsaKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.createRsaKey[1].json @@ -1,29 +1,108 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp9323148/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp48817f8/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8af88322-6164-4639-a88a-2d428d74330f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "90d4261b-76b1-4504-833b-f45e29d0a66d", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp9323148/67749adf5bc44d08922aa82e5855a110\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"srk_-D0sAKmSRKKgpwuxyGzvh5EfvW8P5aSE80Ljq2K_g6goV492ESRUN7BDzSTsijfaVlBdSLExkhBf6Qo0tpD6BBM42TxG-nFW4_qn32Zmdhr7Q3CgcDUZ3o7uMKXwT9bIIX2LvIsH9VSDadZnBTAQ4YdnEpesKXwHXNfp1geXEbQtkb9Y46K87EBArU6BRs5smerxZo60Pzx7aVncoA44OAYF3f3iSx39Cho5e8x86hj9rs65LKVvQSPUaxuFiHyaLQwXtulID2u2AF1Gv3P6SVUldM965j6_RKfbEgLeWtXxakVdLZxQexcsv2qflu44ahsvncHh8dEBk_UajQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp9323148" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp48817f8/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2c82fe1e-4acd-45cb-9245-0617b570ba63" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp48817f8/e3b10ab7c6a34543886bf7024a7da7eb", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "yZi66vVlU-CdjC-69utJoCGoZEHmO7RmizcYzJMumTd_w1DlONmGm1CcjqVvTWLikFWZfAWnrbkViBn3FE_FqwlEs43fi_fmULpE-EsfN6iuh0ZmpSA3A_gmA3epAyOp2P8ViY2zU8ZMTcPVrmnOXTdy7cxZlMIkTtUbbggt6nh7aCgaCi3f8oNTAekFHrXdb9jtKZcJ4IYUKAlNIqeKwTAVCr73gzIY_JXptKtjdb0I20dgeg7h6snNcrLWwe0J1mY01nPqyJb_OUJTBN62S3g4_yD0BX-hSIVDbFNr18njDFLrA-wQVlp_2PTFgy6JhjH92KSESNUeo_5DXXo3JQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp48817f8" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKeyNotFound[1].json index e0660161505f1..ed2cf5f571f8c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5c4be555-196f-41f6-8278-d4c5d741c656" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6080cfd1-c671-4473-abe5-084c9d5bc7c5", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cf0564fb-be1f-49a5-b2da-a5968a5fa96d" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKey[1].json index be7fa4114ad02..ae6701638a55d 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.deleteKey[1].json @@ -1,154 +1,246 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey518870643/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey585510f07/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6400d6d0-f479-4874-950d-88f2472f4ba0" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f9153948-3923-45ab-90a5-1a053b4aa713", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey585510f07/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a2847d88-5f2e-4ae2-8bae-45fe13d76290" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey585510f07/9c780633e3a14dfb93a575865343fa9e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4Cvkw3LUUtnZtcpAfUj-jH-cWFsRHGp5jeWtRU6WWK9ec0Uh2hmH_fpP62L3nPmiXIBoWLFey8FUStpB4K1b9K4YQBI6YfYV9dwklF89lvVzgeR_1rcG1-fbqRhHb_oxPwFkUIDX90vtKFromodHuZc8tB59Cg_irtXBZo5NvIKdvHjttgdetuQh5JJuT0JF1ipfLzMZIpehiTgiDioUfQ0ONUSNDwfKl-rZl7GgWFMt3j_Iwc_k1Am80_m-2wWca-9Vc3oPqINAVIY6zchJbDl_DSmutfav1HjK1OeU2f1UmYEOZWPiKePMu0envh7OOvYYN3QfBOL9vga2UHzktQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey518870643/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey585510f07?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6f0b31c9-4818-4231-8c41-354599e2c3fd" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey585510f07", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey585510f07/9c780633e3a14dfb93a575865343fa9e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4Cvkw3LUUtnZtcpAfUj-jH-cWFsRHGp5jeWtRU6WWK9ec0Uh2hmH_fpP62L3nPmiXIBoWLFey8FUStpB4K1b9K4YQBI6YfYV9dwklF89lvVzgeR_1rcG1-fbqRhHb_oxPwFkUIDX90vtKFromodHuZc8tB59Cg_irtXBZo5NvIKdvHjttgdetuQh5JJuT0JF1ipfLzMZIpehiTgiDioUfQ0ONUSNDwfKl-rZl7GgWFMt3j_Iwc_k1Am80_m-2wWca-9Vc3oPqINAVIY6zchJbDl_DSmutfav1HjK1OeU2f1UmYEOZWPiKePMu0envh7OOvYYN3QfBOL9vga2UHzktQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:06 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ee532557-8f88-48a7-9baa-910ad05e42c5", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey585510f07?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d5b59d0c-88d7-44a1-bc92-833f0592c8eb" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey585510f07" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey518870643/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2180c65b-e490-40ad-9b50-5e446ba1b417", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey518870643/71048678a7b2496eb0c25b8678519ae3\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"23b6TIleCAjdjjewI2F7-cTmjEfrzVpFUJTgYZV5AQp6MPG6hV7zc-2Gxi6ybeRtl_QcIQIltp82AWLAqScQj5q6ZkKwEKH3vJC3xtKYzDa_SiPrRl4qpij-VQ9WYydaAW39RkAgr2jcCcgqA55EnO_5juVrP7yH2L1N-wYOJZ6wr_eN6gtrSa8ecZy1mRC2E9Cm-bwOkYbBmyvdhxAoWV5E5pnrQarX09YIjjs6OgNWmMXkz-tXDBE5Ecz1inaVqr21Q3dA7YnSlQdzm4AGwyFLtOvlcovFkvtz4qkqT99Gj9jtPkUR-hPEGlxJA-hkYNaOuxSgAd3cGYJ98lsR_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954210,\"updated\":1678954210,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey518870643?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "660d4771-65e4-463d-848f-af19843b6981", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey518870643\",\"deletedDate\":1678954211,\"scheduledPurgeDate\":1679559011,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey518870643/71048678a7b2496eb0c25b8678519ae3\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"23b6TIleCAjdjjewI2F7-cTmjEfrzVpFUJTgYZV5AQp6MPG6hV7zc-2Gxi6ybeRtl_QcIQIltp82AWLAqScQj5q6ZkKwEKH3vJC3xtKYzDa_SiPrRl4qpij-VQ9WYydaAW39RkAgr2jcCcgqA55EnO_5juVrP7yH2L1N-wYOJZ6wr_eN6gtrSa8ecZy1mRC2E9Cm-bwOkYbBmyvdhxAoWV5E5pnrQarX09YIjjs6OgNWmMXkz-tXDBE5Ecz1inaVqr21Q3dA7YnSlQdzm4AGwyFLtOvlcovFkvtz4qkqT99Gj9jtPkUR-hPEGlxJA-hkYNaOuxSgAd3cGYJ98lsR_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954210,\"updated\":1678954210,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey518870643?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "10f8ee27-2c53-45b4-bdf1-93d741480c1d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey518870643\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey518870643?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1b49055f-0fca-49d7-b88c-1eb2c66fce69", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey518870643\",\"deletedDate\":1678954211,\"scheduledPurgeDate\":1679559011,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey518870643/71048678a7b2496eb0c25b8678519ae3\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"23b6TIleCAjdjjewI2F7-cTmjEfrzVpFUJTgYZV5AQp6MPG6hV7zc-2Gxi6ybeRtl_QcIQIltp82AWLAqScQj5q6ZkKwEKH3vJC3xtKYzDa_SiPrRl4qpij-VQ9WYydaAW39RkAgr2jcCcgqA55EnO_5juVrP7yH2L1N-wYOJZ6wr_eN6gtrSa8ecZy1mRC2E9Cm-bwOkYbBmyvdhxAoWV5E5pnrQarX09YIjjs6OgNWmMXkz-tXDBE5Ecz1inaVqr21Q3dA7YnSlQdzm4AGwyFLtOvlcovFkvtz4qkqT99Gj9jtPkUR-hPEGlxJA-hkYNaOuxSgAd3cGYJ98lsR_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954210,\"updated\":1678954210,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey518870643" ] + { + "RequestUri": "https://REDACTED/deletedkeys/testkey585510f07?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "644dad35-3ff1-4939-9ccb-04ddc53036be" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey585510f07", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey585510f07/9c780633e3a14dfb93a575865343fa9e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4Cvkw3LUUtnZtcpAfUj-jH-cWFsRHGp5jeWtRU6WWK9ec0Uh2hmH_fpP62L3nPmiXIBoWLFey8FUStpB4K1b9K4YQBI6YfYV9dwklF89lvVzgeR_1rcG1-fbqRhHb_oxPwFkUIDX90vtKFromodHuZc8tB59Cg_irtXBZo5NvIKdvHjttgdetuQh5JJuT0JF1ipfLzMZIpehiTgiDioUfQ0ONUSNDwfKl-rZl7GgWFMt3j_Iwc_k1Am80_m-2wWca-9Vc3oPqINAVIY6zchJbDl_DSmutfav1HjK1OeU2f1UmYEOZWPiKePMu0envh7OOvYYN3QfBOL9vga2UHzktQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey585510f07" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientAndEncryptDecrypt[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientAndEncryptDecrypt[1].json index 81196cfc87a72..7af650e2559c8 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientAndEncryptDecrypt[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientAndEncryptDecrypt[1].json @@ -1,79 +1,200 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp300374a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp75324e4/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2cee1e36-ee19-40d3-b311-291dfa0818e4" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "39955e62-f541-4d51-919b-35c4cff758ee", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp300374a/2f7fc52e7d184a4c8653112fb6e556b4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vUa50t4nvUQ79xk1dIUvYe1c_1haNmTMEoDSspvBI3tHr8fjdCyBM5txuguT441ClCK3XHWNlUXFalmkLf-BxLu0_VEW5Wv-BREzZH8prnLdJNoZ_7V3Idr19EGE1Zx2zjW-imdlmJ9UapFOkrP-sx-lW1Z5ur1_bMQa6M6cvabshDd4dpwidyCz5RMQ411j_Gsd8bKRJveH1SKkXujTft6XIDYiLRiVkspdKVRRBS8ieDGoMTF-ri5iKXsjvKA1KKMy8A5lHzOae9RyzYVwts1jfzhzQq-SDZWvp9Y2ZU9we-IsdYSXrATUDKMPXeK9bWlv7cBMMZSG_PVmxbZiWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/javakeytemp75324e4/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fa8b30d9-3bae-4cc1-8275-506e22e5540e" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp75324e4/13817635dc194d0c98bbb5c89c5090f8", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xURRgZEksX7nE1iFNruXKGTAUEIGLRQ_GXxwm-d8GHB0NeHKgyTbwrYS0KCFiSqZh7DUy9F764UBimBGUQiWChC57KBEyFU8F6ApF6KB4KIQfI6oxyxBnGOFi3itWSVPfnk4w4JZfnVgpUjVZRpd-Xaws47fP6oKtKQFeVfeqTFx5CamwDtcraq7Jz5ohiGwNuzEnDTYF6oPriAUj1YUU59GCOUOJG4yMMjyNsq8m-pEZBlrLoBfdGg7SRPn_f_QvFp-X3xnmqpY7c3k8rMz5JP8nzU3JssDA1MBNZSPrnQiA2SJtsTJBavzjXrqcD4WB8jYA4bLtD9bzrMkeAZafQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp300374a/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/javakeytemp75324e4/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f7fdf5a7-6edd-41ed-a018-dd125cbdc335" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp75324e4/13817635dc194d0c98bbb5c89c5090f8", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xURRgZEksX7nE1iFNruXKGTAUEIGLRQ_GXxwm-d8GHB0NeHKgyTbwrYS0KCFiSqZh7DUy9F764UBimBGUQiWChC57KBEyFU8F6ApF6KB4KIQfI6oxyxBnGOFi3itWSVPfnk4w4JZfnVgpUjVZRpd-Xaws47fP6oKtKQFeVfeqTFx5CamwDtcraq7Jz5ohiGwNuzEnDTYF6oPriAUj1YUU59GCOUOJG4yMMjyNsq8m-pEZBlrLoBfdGg7SRPn_f_QvFp-X3xnmqpY7c3k8rMz5JP8nzU3JssDA1MBNZSPrnQiA2SJtsTJBavzjXrqcD4WB8jYA4bLtD9bzrMkeAZafQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "08ff7829-cf4c-4de9-b89c-b96779ec3538", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp300374a/2f7fc52e7d184a4c8653112fb6e556b4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vUa50t4nvUQ79xk1dIUvYe1c_1haNmTMEoDSspvBI3tHr8fjdCyBM5txuguT441ClCK3XHWNlUXFalmkLf-BxLu0_VEW5Wv-BREzZH8prnLdJNoZ_7V3Idr19EGE1Zx2zjW-imdlmJ9UapFOkrP-sx-lW1Z5ur1_bMQa6M6cvabshDd4dpwidyCz5RMQ411j_Gsd8bKRJveH1SKkXujTft6XIDYiLRiVkspdKVRRBS8ieDGoMTF-ri5iKXsjvKA1KKMy8A5lHzOae9RyzYVwts1jfzhzQq-SDZWvp9Y2ZU9we-IsdYSXrATUDKMPXeK9bWlv7cBMMZSG_PVmxbZiWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp300374a//decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "134", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1ff09dbe-bdb7-4e91-b6aa-2e60b6cc8b78", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp300374a/2f7fc52e7d184a4c8653112fb6e556b4\",\"value\":\"bXlQbGFpbnRleHQ\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp300374a" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp75324e4//decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "hYsC-AFOvYEaFoHaN0nsm9yGgl9WMKwKENqOBy4_sOZ9iUWdiPhPhZk-Q3Za8Iem6A41BNKNSpwvqcvyTkh6QlvhHMpV1x55Awsg5iOUOaQ8t02OAntFKcu4Qc2OL_1lg3AS38cWixf6TnBlVcEuBQ1cwg6za2e7ehz2OYdfAE6XDxCJV1z8duUv8Nn8OK34WLG-0oc4BE2LLZOCP-6dhDC7lZICjkE71d93fefGkDEN0xoTWx6Fk5dpBWvqrkWx54zKLKY2Qsvdd9iwWmPq59zicD3ED2-xQC3TeR-AdCl6YxmZ8dfYiUIjw5rysm2z5fk34nzRep833VpXfRcQiQ" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c75aaed9-2242-4526-bfb5-a9f285df895e" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp75324e4/13817635dc194d0c98bbb5c89c5090f8", + "value": "bXlQbGFpbnRleHQ" + } + } + ], + "Variables": { + "0": "javakeytemp75324e4" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithEmptyKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithEmptyKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithEmptyKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithEmptyKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithNullKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithNullKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithNullKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClientWithNullKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClient[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClient[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClient[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getCryptographyAsyncClient[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKeyNotFound[1].json index c132e84f216cd..90a2e4d5dee4a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "85019bdc-250f-4266-aba2-d4eb51a175ce" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "617c9e45-b84e-4c4c-8f77-97a922a0ed79", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5f7a123e-ec4e-4fbc-be99-a0505738ef58" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKey[1].json index 7e19f26f4d5a5..09eefb5189f4d 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getDeletedKey[1].json @@ -1,129 +1,336 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey6956343d5/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey680180e32/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "47c1233b-4bcd-4931-8c83-7fb8d93fa111" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ee52264a-5a5f-44d1-83df-8fe8bd4178fb", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5/ef49207fdbf24e5a839b35d5a4802677\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wg205OEIbb-CYCuXSqlrhLflLrEs2sI0d_qnRozt_4pLZEhgRIJO7Lum7zV4ACn0DZqoO62yA8SuriovdBKwOOX66O8tdqASIoU3CIyEhSkxtY2oN_8NWiSoqx7XnfrDE6jqcXHhXYpNwm7HIWWLAon2e8mg8HeVLXib1dsZHVKb5L2AaNf1erwF-XMYp30LmWyUHXTMy38abLKGAybUvpTuMn_bE6PZK5wJTiOG6vT3qsnUqM-YRrfBH0bhxGesypvidO90fj3zanXjuLlZ9KV-THkFrS15XrmPws7M6ZzIqz0hKQHQ74F6VFIL-K7ZYCcPCrjXxyuFYuWiOh2XrQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey680180e32/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f3a5e34a-4f0e-4ab5-92a8-8a1d1a1605bd" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey680180e32/1e7ea3520e1e45a2bc24050fcf819d4e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4HAjkTCsYHcgkfdyu0ytwFAiG1nV7d2T0g8aDgxkb78NYT3Q9DCiCcEVRtl5y0vw5u6uj2Xu0INNL8lbMnk0xCT4wam4dd65g-YwZOO6PZSHYkRCpL-6BTISzMNaqCJENQrTzGK4QRPY4pCuAkv5uEJyic3gKY-212hGOPzjN5Ypy6RcmyL2bMNhpxTkopIU8n4mAK1I-g3oBqKZJStTo4ZgCMiKEwvcONfhI0zrQEWm27_n8bkE6g1pm-MaAdq9V-Tjf51dy_eXeIIYXoSH-es0w60mUCIFZeyAlzpp2wqaUV_IOy6bTIJX38oqMPXGyu4hJtJmY1JNYhzueMsI4Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270370, + "updated": 1681270370, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey6956343d5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey680180e32?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "68e108cd-e70b-4ae0-9eb6-55d394c089b3" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey680180e32", + "deletedDate": 1681270370, + "scheduledPurgeDate": 1681875170, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey680180e32/1e7ea3520e1e45a2bc24050fcf819d4e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4HAjkTCsYHcgkfdyu0ytwFAiG1nV7d2T0g8aDgxkb78NYT3Q9DCiCcEVRtl5y0vw5u6uj2Xu0INNL8lbMnk0xCT4wam4dd65g-YwZOO6PZSHYkRCpL-6BTISzMNaqCJENQrTzGK4QRPY4pCuAkv5uEJyic3gKY-212hGOPzjN5Ypy6RcmyL2bMNhpxTkopIU8n4mAK1I-g3oBqKZJStTo4ZgCMiKEwvcONfhI0zrQEWm27_n8bkE6g1pm-MaAdq9V-Tjf51dy_eXeIIYXoSH-es0w60mUCIFZeyAlzpp2wqaUV_IOy6bTIJX38oqMPXGyu4hJtJmY1JNYhzueMsI4Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270370, + "updated": 1681270370, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b1180de3-2892-498c-84ce-0d7806807c60", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6956343d5\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5/ef49207fdbf24e5a839b35d5a4802677\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wg205OEIbb-CYCuXSqlrhLflLrEs2sI0d_qnRozt_4pLZEhgRIJO7Lum7zV4ACn0DZqoO62yA8SuriovdBKwOOX66O8tdqASIoU3CIyEhSkxtY2oN_8NWiSoqx7XnfrDE6jqcXHhXYpNwm7HIWWLAon2e8mg8HeVLXib1dsZHVKb5L2AaNf1erwF-XMYp30LmWyUHXTMy38abLKGAybUvpTuMn_bE6PZK5wJTiOG6vT3qsnUqM-YRrfBH0bhxGesypvidO90fj3zanXjuLlZ9KV-THkFrS15XrmPws7M6ZzIqz0hKQHQ74F6VFIL-K7ZYCcPCrjXxyuFYuWiOh2XrQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey680180e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f7bdbd94-f8ec-4cb6-9bbb-8e2fa1a416c1" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey680180e32" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey6956343d5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey680180e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6a4484d1-a633-40b1-a90a-c4a4f8e55af3" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey680180e32" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "21c73539-7447-4e42-bfdc-c82cf9f19125", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey6956343d5\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey680180e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "58571033-db3b-4600-bbe6-e8cf84ff794b" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey680180e32", + "deletedDate": 1681270370, + "scheduledPurgeDate": 1681875170, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey680180e32/1e7ea3520e1e45a2bc24050fcf819d4e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4HAjkTCsYHcgkfdyu0ytwFAiG1nV7d2T0g8aDgxkb78NYT3Q9DCiCcEVRtl5y0vw5u6uj2Xu0INNL8lbMnk0xCT4wam4dd65g-YwZOO6PZSHYkRCpL-6BTISzMNaqCJENQrTzGK4QRPY4pCuAkv5uEJyic3gKY-212hGOPzjN5Ypy6RcmyL2bMNhpxTkopIU8n4mAK1I-g3oBqKZJStTo4ZgCMiKEwvcONfhI0zrQEWm27_n8bkE6g1pm-MaAdq9V-Tjf51dy_eXeIIYXoSH-es0w60mUCIFZeyAlzpp2wqaUV_IOy6bTIJX38oqMPXGyu4hJtJmY1JNYhzueMsI4Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270370, + "updated": 1681270370, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey6956343d5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9ad4bde8-792e-4855-bac1-bcaa98c0765f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6956343d5\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5/ef49207fdbf24e5a839b35d5a4802677\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wg205OEIbb-CYCuXSqlrhLflLrEs2sI0d_qnRozt_4pLZEhgRIJO7Lum7zV4ACn0DZqoO62yA8SuriovdBKwOOX66O8tdqASIoU3CIyEhSkxtY2oN_8NWiSoqx7XnfrDE6jqcXHhXYpNwm7HIWWLAon2e8mg8HeVLXib1dsZHVKb5L2AaNf1erwF-XMYp30LmWyUHXTMy38abLKGAybUvpTuMn_bE6PZK5wJTiOG6vT3qsnUqM-YRrfBH0bhxGesypvidO90fj3zanXjuLlZ9KV-THkFrS15XrmPws7M6ZzIqz0hKQHQ74F6VFIL-K7ZYCcPCrjXxyuFYuWiOh2XrQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey6956343d5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4bbd1096-b221-4820-8c06-6dcace0f717d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6956343d5\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5/ef49207fdbf24e5a839b35d5a4802677\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wg205OEIbb-CYCuXSqlrhLflLrEs2sI0d_qnRozt_4pLZEhgRIJO7Lum7zV4ACn0DZqoO62yA8SuriovdBKwOOX66O8tdqASIoU3CIyEhSkxtY2oN_8NWiSoqx7XnfrDE6jqcXHhXYpNwm7HIWWLAon2e8mg8HeVLXib1dsZHVKb5L2AaNf1erwF-XMYp30LmWyUHXTMy38abLKGAybUvpTuMn_bE6PZK5wJTiOG6vT3qsnUqM-YRrfBH0bhxGesypvidO90fj3zanXjuLlZ9KV-THkFrS15XrmPws7M6ZzIqz0hKQHQ74F6VFIL-K7ZYCcPCrjXxyuFYuWiOh2XrQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey6956343d5" ] + { + "RequestUri": "https://REDACTED/deletedkeys/testkey680180e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:32:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "591610ac-f6f7-449d-81de-9e91cd94497e" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey680180e32", + "deletedDate": 1681270370, + "scheduledPurgeDate": 1681875170, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey680180e32/1e7ea3520e1e45a2bc24050fcf819d4e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4HAjkTCsYHcgkfdyu0ytwFAiG1nV7d2T0g8aDgxkb78NYT3Q9DCiCcEVRtl5y0vw5u6uj2Xu0INNL8lbMnk0xCT4wam4dd65g-YwZOO6PZSHYkRCpL-6BTISzMNaqCJENQrTzGK4QRPY4pCuAkv5uEJyic3gKY-212hGOPzjN5Ypy6RcmyL2bMNhpxTkopIU8n4mAK1I-g3oBqKZJStTo4ZgCMiKEwvcONfhI0zrQEWm27_n8bkE6g1pm-MaAdq9V-Tjf51dy_eXeIIYXoSH-es0w60mUCIFZeyAlzpp2wqaUV_IOy6bTIJX38oqMPXGyu4hJtJmY1JNYhzueMsI4Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270370, + "updated": 1681270370, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey680180e32" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyNotFound[1].json index 8d52b87eb0eb4..f1226a51ce3ba 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e53bdae6-3b8e-4c2c-ab66-2258860096cb" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "43d87a86-7269-44f1-b0c3-b750672f0a8d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "262bfbec-9354-47e9-a4e9-b73ad6419826" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyOfNonExistentKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyOfNonExistentKey[1].json index 95cacdab2fac9..52f25d0b9f026 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyOfNonExistentKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyOfNonExistentKey[1].json @@ -1,28 +1,71 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/nonexistentkey72801/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/nonexistentkey84165/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7ec20eb5-0fdb-4993-92fd-4cb1d8bdc370" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "45b23080-0b4b-4b28-b3f8-7ce8fddce63d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) nonexistentkey72801 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "nonexistentkey72801" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/nonexistentkey84165/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "307", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "da3b8c0e-cac7-475b-9f54-00575a3145ed" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) nonexistentkey84165 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": { + "0": "nonexistentkey84165" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyWithNoPolicySet[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyWithNoPolicySet[1].json index 0b1712c8812a7..8a072dcdc2db2 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyWithNoPolicySet[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeyRotationPolicyWithNoPolicySet[1].json @@ -1,53 +1,136 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey008353b7/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey01272f4b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:40:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f7d96cdc-4001-43bc-9894-18b586e56594" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "225b758e-ec71-4ddd-b2e2-70c3d957b3f1", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey008353b7/b373d87eacff4101a7eaa41e96972dca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vFiGWPmppRdfVwpDQ0HlQqNdYmRgV-JucmkpNlAtBMVEvtfh8wXN1Suha5PLX5wZRT5fyBK0Vcnag0yovCQ87Seu0p_MZO85NWMAkdcGuWscpY3ssWumTkOsEyb4mTKOIipjZjj33-EOWVz2Se6E1cNkH_9fHTxoXU_E_gYRHX8NSjWCR_n72w0N93ErvLIkxbUD5xqaaQISS6JzKfeOdmIYAkhAYjDxMcDFjHVIoxGkHknBxrp3HDX25-Ht0BBVK9z0LnAMK4xhQ-r_PaVWCDm_NtiJewKXh8-yWKhyxF65rhWz98OFpmLmW39_Y9BweKXGM88kXctzTIYMFbedcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954215,\"updated\":1678954215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey01272f4b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:41:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "17a119ef-bcaa-47ab-846f-6e877afa4230" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey01272f4b/f97100209b26401fb00a119576f1565c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uCIoSuVm2wwcg01meoa_jOOMI5TOicTjLyyk1-KGnI_4EwXRSZEpm5i5_UbWfBkfNAQA271YBY1oQunGWi6bnXHH55wa1aU56gP1NxbA9cL-L4WiPYFCkabSQOcx2ZvU8MJoz60O6sWtHqG-MFD8RkwUm2P18nr9JMcuktiR4Qst9EcLSlpSWRL9ya8hjtx8cL_KRLjdDkjTTgneILieR9w3AB3bkBNtrUB0pbjyu9DMbqQn73XyaBUbCIgzp1ofZN2npnXUjfVrBVSjVf85_HnuWuRglYFV26AljLYCRY5JtMIP_-YtqvS3wm5xk371TSU6KZOSag2JPfYxqtaP7Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681270861, + "updated": 1681270861, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey008353b7/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7b4d8b3c-1389-4bbb-acf3-cffbf6aa123a", - "Body" : "{\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey008353b7" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey01272f4b/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:41:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c4a574df-143a-45cb-b963-5d52e0600eda" + }, + "ResponseBody": { + "lifetimeActions": [ + { + "trigger": { + "timeBeforeExpiry": "P30D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": null + } + } + ], + "Variables": { + "0": "rotatekey01272f4b" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeySpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeySpecificVersion[1].json index 743c55265308e..55eea615fdbee 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeySpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKeySpecificVersion[1].json @@ -1,104 +1,265 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey393766461/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey396652a76/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b8c29ec8-9262-4da4-aa8b-ef4885fe8f9c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4a7f3849-4423-4076-a1c5-608e48deb43a", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461/b5ed7115f9fe4757b0c774233b6a1812\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vPRRbVCvjSNMTAACNhHqrhvwdOdZWP0LVIds72p1p9DXQcOQee41qUTS-bu153RuKt4vpE9ieu1rrfPnvFanhP6kKoy62UGPx7uyi8_6mTt4BDWKc8j8yQGjYvsbh6d2brz2Gd3d5Lw1flfmRlViEylZzFlXCVe28IqpWVCqg01eYjjdzqnoR4JTtnrRgD0aK69ph93abtzitEMOv0XuVHza_z5qJtfBTzjwxxDPz35zSDqVLmYZyNEU2XSYl_2Gzx98DZXOtzbUo5yKKMsPN_c1ivRWt6O0mGhoT-RN-sWj5sbO17vKuYn1dKwg8t5h4yRNjlE5KhXHCRmqUQ00jQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey396652a76/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "81f4be21-df0b-44fe-b064-129b865b0d87" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76/2cee9a6b2ed54fbfb75ac6f32184ccbb", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "2i5lQoKfjgPoMkBTUMzl4QCM9JjKCtt2BmNDjSeM7LRbRlDI4TKdUyhM2egq4CIt4fvUK3p4L_rFduy1QBn4_sf6uc67b36gtkTNoH2pWS_ojmn5scX1x0rDlVl3YqLCXUk3ruGSOC3DsVwNXkvBE0ah-FMRVHaimzsHUO4LlRbhTSNA_WDlUoS1_crl94MtXcJDP0X_RsTBNIfaUxBfO0AkbfTR-ek5k6pIHSL-3xytxcb5W9TGpBlvHLPGFc9HO-CfWakW1CV_hDmVMsN1pRT8RbkrP8xl8O598lrBT4mY0ztz2_g7Xh1sYfkLYa6C9Pt7hr4ttiQhlJhG-v9dCQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey393766461/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey396652a76/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ff2570c7-b354-4119-b921-dd2da5d65c03" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76/3dd6e729bbb14567ab30a0e510e9212d", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xI48Av7-j3BOu3MyowHnvc4rtvUf2-RA0_8vbsnUoPAZtiKBagtemk_AxDfQ3p2JWXQwQHGJrlQndshaU3E1I7Us-GAc6dmB8IpmnC7qNxVvPeRT45cLNdRdmaY3476NsDn8liNNO0h2nt0LfyOndop9c7Xh0k4w69EMdTSFIxAQmzEy2w5-eCUu2t76KAdmqX3MUT_VoybWnPm5tqH4Lie3noNWYKXs5nS3f02Oe9BsK1q7sDQ2Xbu-pEqk9t4Vg0t0ajD-zK_V8L1h7NetT9G4Cj3jCAiGNblwru_FR-6TM_DTnuSbGXZkrMagI7ijBLef0_GvMENgF3vAPHQWNQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f42f19ce-8fde-4038-b976-7c42577fb355", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461/ce243a1786294626a31080a0e0342cac\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"t9fzys-KM4FeqzmbFYg5vZ48L1zPGVg3XSvv2bM9Qt5TwYvctSl8IZ8aypgjwHjjQjP8g7_cThxuvBm5DZASnAjXBQwNOVLALigmzJJAiXev-NNiCW1tXUHIwsInD2luNBDLeoMxxzB0XZAhvam1laBbeGDhV1EtaQ5SXVlSuaBTUbKyhYIBK3sRa0wBTzimbRnYHx1dzq_zWaJGjLH6n8-bS4xhm9FAdfO0Rzxs_vmxVa2OLEVFuKEhVLHLlPZrnw9jn474VxQF007sC6a7hgtEakGUT1oqlruG0F65-mU8e8oD7eD-JdmzMSw71PgSRTWFF1JKl7TLD5oN9cfi9Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey396652a76/2cee9a6b2ed54fbfb75ac6f32184ccbb?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7917f3fd-f816-4720-b6b6-64007576bcc0" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76/2cee9a6b2ed54fbfb75ac6f32184ccbb", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "2i5lQoKfjgPoMkBTUMzl4QCM9JjKCtt2BmNDjSeM7LRbRlDI4TKdUyhM2egq4CIt4fvUK3p4L_rFduy1QBn4_sf6uc67b36gtkTNoH2pWS_ojmn5scX1x0rDlVl3YqLCXUk3ruGSOC3DsVwNXkvBE0ah-FMRVHaimzsHUO4LlRbhTSNA_WDlUoS1_crl94MtXcJDP0X_RsTBNIfaUxBfO0AkbfTR-ek5k6pIHSL-3xytxcb5W9TGpBlvHLPGFc9HO-CfWakW1CV_hDmVMsN1pRT8RbkrP8xl8O598lrBT4mY0ztz2_g7Xh1sYfkLYa6C9Pt7hr4ttiQhlJhG-v9dCQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey393766461/b5ed7115f9fe4757b0c774233b6a1812?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aa7aa87b-21ae-4c7a-8ca7-4b06e883e42d", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461/b5ed7115f9fe4757b0c774233b6a1812\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vPRRbVCvjSNMTAACNhHqrhvwdOdZWP0LVIds72p1p9DXQcOQee41qUTS-bu153RuKt4vpE9ieu1rrfPnvFanhP6kKoy62UGPx7uyi8_6mTt4BDWKc8j8yQGjYvsbh6d2brz2Gd3d5Lw1flfmRlViEylZzFlXCVe28IqpWVCqg01eYjjdzqnoR4JTtnrRgD0aK69ph93abtzitEMOv0XuVHza_z5qJtfBTzjwxxDPz35zSDqVLmYZyNEU2XSYl_2Gzx98DZXOtzbUo5yKKMsPN_c1ivRWt6O0mGhoT-RN-sWj5sbO17vKuYn1dKwg8t5h4yRNjlE5KhXHCRmqUQ00jQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey393766461/ce243a1786294626a31080a0e0342cac?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "feb008a9-4e65-4350-a42b-4ad256eedcd4", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461/ce243a1786294626a31080a0e0342cac\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"t9fzys-KM4FeqzmbFYg5vZ48L1zPGVg3XSvv2bM9Qt5TwYvctSl8IZ8aypgjwHjjQjP8g7_cThxuvBm5DZASnAjXBQwNOVLALigmzJJAiXev-NNiCW1tXUHIwsInD2luNBDLeoMxxzB0XZAhvam1laBbeGDhV1EtaQ5SXVlSuaBTUbKyhYIBK3sRa0wBTzimbRnYHx1dzq_zWaJGjLH6n8-bS4xhm9FAdfO0Rzxs_vmxVa2OLEVFuKEhVLHLlPZrnw9jn474VxQF007sC6a7hgtEakGUT1oqlruG0F65-mU8e8oD7eD-JdmzMSw71PgSRTWFF1JKl7TLD5oN9cfi9Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey393766461" ] + { + "RequestUri": "https://REDACTED/keys/testkey396652a76/3dd6e729bbb14567ab30a0e510e9212d?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ef8acc6e-2741-4d38-9899-358f12c5cfe1" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76/3dd6e729bbb14567ab30a0e510e9212d", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xI48Av7-j3BOu3MyowHnvc4rtvUf2-RA0_8vbsnUoPAZtiKBagtemk_AxDfQ3p2JWXQwQHGJrlQndshaU3E1I7Us-GAc6dmB8IpmnC7qNxVvPeRT45cLNdRdmaY3476NsDn8liNNO0h2nt0LfyOndop9c7Xh0k4w69EMdTSFIxAQmzEy2w5-eCUu2t76KAdmqX3MUT_VoybWnPm5tqH4Lie3noNWYKXs5nS3f02Oe9BsK1q7sDQ2Xbu-pEqk9t4Vg0t0ajD-zK_V8L1h7NetT9G4Cj3jCAiGNblwru_FR-6TM_DTnuSbGXZkrMagI7ijBLef0_GvMENgF3vAPHQWNQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey396652a76" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKey[1].json index 8f6b8a6439924..016cab7351912 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.getKey[1].json @@ -1,54 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey4952190f6/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey416645817/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "05534183-af64-4dc3-9f6d-4a266916d20d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e95e4634-746a-43f2-874a-e1547fe70588", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey4952190f6/60fcdde739914a009c7165972e3cec0f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nkwG14HANuCaSfLSogpL5mzBsdXcfDqCAdWsf2qZyssdOzN4AwF-PcUPKyVxNSHvHJ2UojmaAZW3ltQcre3v13sGm7YRy3yAyqRopJGZViaLASt5gwmJEOGuy8Qql_U6odwq4gzBCg7Bru5IMYagXpbwgXEJCtronfRPmTdFD8Fnq3P6qB3-BZmlI5NzQ2SUN9uo51Hdl3FWizLAXm8GUFbb4QDxRqfkfHO2nANZyx3wje5G9y23GVhUpRBbK1uBVjLX3WdhTHhgaxci2DT5XfNNVzFFGJaUkO1enKkv5btiOe4giV5gDSGhp9bAwoZWl06HmL1L8rVctHpRGqaVIQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey416645817/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "39f1fa58-e2b5-4f81-8259-1c96cc39bc23" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey416645817/6d7da5e7e6e2476d9ea7bdedb9fce4bc", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0bqhnmv-HLtkFBuoS5wTDSW8xrh5LK_lqm3x8LOinZK7GGx_KLLJEYT_kBQ6NgAAZiYrbC_RbIWk0MZRUWkfB-5-z-9vD2ua8J4CXTOB3phNRu_dIHAG4P7iwB89qQbBjBdv4ILg1g3kzE7ejaogdeyOAX7Lje5H-hFOs_kP0agNIxup5OLs2AsrJAv2wi1WCEh0tgrD6jB6cKMa9cZszrqO5EwtJhl6IQcQrQGOyEVJBdnTB16QPMmrh7-024fBgSBfDkmET8NHxJu9SOONYmxlNMSN3FFRi-XmgPQS0LPAGQsFSjgRw-Gk92jVzgDiXBWxu1c2IE0zGrL6HenXvQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey4952190f6/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c820918-1dfb-44e4-8450-3a3a13bf58a3", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey4952190f6/60fcdde739914a009c7165972e3cec0f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nkwG14HANuCaSfLSogpL5mzBsdXcfDqCAdWsf2qZyssdOzN4AwF-PcUPKyVxNSHvHJ2UojmaAZW3ltQcre3v13sGm7YRy3yAyqRopJGZViaLASt5gwmJEOGuy8Qql_U6odwq4gzBCg7Bru5IMYagXpbwgXEJCtronfRPmTdFD8Fnq3P6qB3-BZmlI5NzQ2SUN9uo51Hdl3FWizLAXm8GUFbb4QDxRqfkfHO2nANZyx3wje5G9y23GVhUpRBbK1uBVjLX3WdhTHhgaxci2DT5XfNNVzFFGJaUkO1enKkv5btiOe4giV5gDSGhp9bAwoZWl06HmL1L8rVctHpRGqaVIQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey4952190f6" ] + { + "RequestUri": "https://REDACTED/keys/testkey416645817/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fc5b6634-f93b-4dfb-b83b-fb0a43b58fe7" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey416645817/6d7da5e7e6e2476d9ea7bdedb9fce4bc", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0bqhnmv-HLtkFBuoS5wTDSW8xrh5LK_lqm3x8LOinZK7GGx_KLLJEYT_kBQ6NgAAZiYrbC_RbIWk0MZRUWkfB-5-z-9vD2ua8J4CXTOB3phNRu_dIHAG4P7iwB89qQbBjBdv4ILg1g3kzE7ejaogdeyOAX7Lje5H-hFOs_kP0agNIxup5OLs2AsrJAv2wi1WCEh0tgrD6jB6cKMa9cZszrqO5EwtJhl6IQcQrQGOyEVJBdnTB16QPMmrh7-024fBgSBfDkmET8NHxJu9SOONYmxlNMSN3FFRi-XmgPQS0LPAGQsFSjgRw-Gk92jVzgDiXBWxu1c2IE0zGrL6HenXvQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey416645817" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listDeletedKeys[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listDeletedKeys[1].json index 9a59c00b16f34..7f5e1ce726c6e 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listDeletedKeys[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listDeletedKeys[1].json @@ -1,754 +1,996 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/c18cd4b33aac43ef8869/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:54 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0c5b44d5-a762-4514-9eea-846853116599", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869/b06159b483a549efbe8d828ca09ce5cc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tH74AsUA66Eegkxs6tX9mauUbNeyHKOFlfK8oEix-M6nYhG2uZjHPghUNKza5T4MOXhAuckLGonC1xWQue9JREjbIfvmVB63ljV-XKhkxwgC2NoZg0dL9TStwB5v4AdbutBlVM8E8CQX9iBqPNdLHM0jRkZpE2ihq2sHW_7fIfOa59F0Q6mO-07QtY9GxVY6UcJhzsGIc5__ujcAiZzxIhve7-ARKslkGbi28vHfyiik3lIcSvYW9t36N-j0jIO_uUipxOhvvmRADcGJK2p3HrF09U6OdQ4Z9FwzYE63QIgtNPHCwQZ1pYAa9xnuSKfXlrFHVnbcRhRS8gajMeVyGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/2d6102c1604b436d9df0/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:54 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "80719134-86e5-4f80-a5a2-729154b1045c", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/2d6102c1604b436d9df0/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "393273ad-89db-48f2-adf6-775e02f9babe", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/2d6102c1604b436d9df0/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:03 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8cb8eff0-f3d4-4c6d-bf73-8955f749668f", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/2d6102c1604b436d9df0/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "65260137-93f2-4ee2-a71d-428058161d96", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0/ac2ea60325eb48569ef1bb831c59d0f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"y5MQ9bi8Xav-LJhPsOfj1_FSoPrnQ1ohtNiPhKHT5SIGfdXQc2Mr3E4R-rqtoUTy15YfMFhP5oLfMDHUFOo1BeCsRy5CqsrZtBfpbniJeinSFzCjANfmrY4_hbCVKdaXIsSVpzsPxSS-LjGVEWRflRE8LVZncpqAMnvQM0uSWSY9-URB8HwLWfG7KxDgqLkX0YtLrZmYwa4VeJ2NcoVJu3mBtvN4O7AoIUVtve2_SDn_YST6LcJ0ivCvbt6A6JOSqBWmr7Ht9nfxjrVr3qIn4D5nwMAx4hZ2SA7pEFUzLrHL1WD_p5gHHcwY-0kUZopawzqAfl1MvStzgHRSilekEQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/ad7e14042d634b6e9aee/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0e8a0a23-6a68-4867-8912-9ad2bef526d4", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee/f9f8ba36da3d4c9684b5604ac7bda7bd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qCtYasFnmg1CL51kmM-Vmq-ypvCkCYh7KRpv1mEyUMRXubq7QNdzw2Ma5OUrFnIq8vXnetkw9vCaPF3siMHbiaH7vkrpsF429_ZDthresa9josEnjQIwaB8ZSQMII5Hzir6VxsLzpvEqxBdbKY_LropO3XSxAnklGnDcKsd32HBDakt2UzTNrYeaf0PA-BbcDpH82YQMvvJLWZTCwc1trIBWBT5M6HYjeLE03i7bh3sEivLLxczLuD04YcORA-rAJSDYdUAc1kxKxNPQfn8Q1m9VT7AG_NSgpuxlOOFoLGXn5FITAT9atou35RDpZfquxhAsV1OSJaY1Fq_QKbVP8Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/c18cd4b33aac43ef8869?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c924368f-22f8-48ab-9bc7-38bbc012566c", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/c18cd4b33aac43ef8869\",\"deletedDate\":1678954222,\"scheduledPurgeDate\":1679559022,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869/b06159b483a549efbe8d828ca09ce5cc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tH74AsUA66Eegkxs6tX9mauUbNeyHKOFlfK8oEix-M6nYhG2uZjHPghUNKza5T4MOXhAuckLGonC1xWQue9JREjbIfvmVB63ljV-XKhkxwgC2NoZg0dL9TStwB5v4AdbutBlVM8E8CQX9iBqPNdLHM0jRkZpE2ihq2sHW_7fIfOa59F0Q6mO-07QtY9GxVY6UcJhzsGIc5__ujcAiZzxIhve7-ARKslkGbi28vHfyiik3lIcSvYW9t36N-j0jIO_uUipxOhvvmRADcGJK2p3HrF09U6OdQ4Z9FwzYE63QIgtNPHCwQZ1pYAa9xnuSKfXlrFHVnbcRhRS8gajMeVyGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/c18cd4b33aac43ef8869?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "182a7693-800e-4f1d-9114-68225f1211ea", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/c18cd4b33aac43ef8869\",\"deletedDate\":1678954222,\"scheduledPurgeDate\":1679559022,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869/b06159b483a549efbe8d828ca09ce5cc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tH74AsUA66Eegkxs6tX9mauUbNeyHKOFlfK8oEix-M6nYhG2uZjHPghUNKza5T4MOXhAuckLGonC1xWQue9JREjbIfvmVB63ljV-XKhkxwgC2NoZg0dL9TStwB5v4AdbutBlVM8E8CQX9iBqPNdLHM0jRkZpE2ihq2sHW_7fIfOa59F0Q6mO-07QtY9GxVY6UcJhzsGIc5__ujcAiZzxIhve7-ARKslkGbi28vHfyiik3lIcSvYW9t36N-j0jIO_uUipxOhvvmRADcGJK2p3HrF09U6OdQ4Z9FwzYE63QIgtNPHCwQZ1pYAa9xnuSKfXlrFHVnbcRhRS8gajMeVyGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/2d6102c1604b436d9df0?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "982ef1c7-1a57-48dd-9ca6-2bc858ac0a95", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/2d6102c1604b436d9df0\",\"deletedDate\":1678954224,\"scheduledPurgeDate\":1679559024,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0/ac2ea60325eb48569ef1bb831c59d0f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"y5MQ9bi8Xav-LJhPsOfj1_FSoPrnQ1ohtNiPhKHT5SIGfdXQc2Mr3E4R-rqtoUTy15YfMFhP5oLfMDHUFOo1BeCsRy5CqsrZtBfpbniJeinSFzCjANfmrY4_hbCVKdaXIsSVpzsPxSS-LjGVEWRflRE8LVZncpqAMnvQM0uSWSY9-URB8HwLWfG7KxDgqLkX0YtLrZmYwa4VeJ2NcoVJu3mBtvN4O7AoIUVtve2_SDn_YST6LcJ0ivCvbt6A6JOSqBWmr7Ht9nfxjrVr3qIn4D5nwMAx4hZ2SA7pEFUzLrHL1WD_p5gHHcwY-0kUZopawzqAfl1MvStzgHRSilekEQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/2d6102c1604b436d9df0?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3116df2b-ebe8-4061-964e-9f7fc743840f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/2d6102c1604b436d9df0\",\"deletedDate\":1678954224,\"scheduledPurgeDate\":1679559024,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0/ac2ea60325eb48569ef1bb831c59d0f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"y5MQ9bi8Xav-LJhPsOfj1_FSoPrnQ1ohtNiPhKHT5SIGfdXQc2Mr3E4R-rqtoUTy15YfMFhP5oLfMDHUFOo1BeCsRy5CqsrZtBfpbniJeinSFzCjANfmrY4_hbCVKdaXIsSVpzsPxSS-LjGVEWRflRE8LVZncpqAMnvQM0uSWSY9-URB8HwLWfG7KxDgqLkX0YtLrZmYwa4VeJ2NcoVJu3mBtvN4O7AoIUVtve2_SDn_YST6LcJ0ivCvbt6A6JOSqBWmr7Ht9nfxjrVr3qIn4D5nwMAx4hZ2SA7pEFUzLrHL1WD_p5gHHcwY-0kUZopawzqAfl1MvStzgHRSilekEQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/ad7e14042d634b6e9aee?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fe1b9f46-8d73-46a1-972c-fa645005e5f7", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee\",\"deletedDate\":1678954225,\"scheduledPurgeDate\":1679559025,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee/f9f8ba36da3d4c9684b5604ac7bda7bd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qCtYasFnmg1CL51kmM-Vmq-ypvCkCYh7KRpv1mEyUMRXubq7QNdzw2Ma5OUrFnIq8vXnetkw9vCaPF3siMHbiaH7vkrpsF429_ZDthresa9josEnjQIwaB8ZSQMII5Hzir6VxsLzpvEqxBdbKY_LropO3XSxAnklGnDcKsd32HBDakt2UzTNrYeaf0PA-BbcDpH82YQMvvJLWZTCwc1trIBWBT5M6HYjeLE03i7bh3sEivLLxczLuD04YcORA-rAJSDYdUAc1kxKxNPQfn8Q1m9VT7AG_NSgpuxlOOFoLGXn5FITAT9atou35RDpZfquxhAsV1OSJaY1Fq_QKbVP8Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "88", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6326a5d2-8c43-4d47-b572-223a67ae0a13", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: ad7e14042d634b6e9aee\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "40a9922d-3184-4634-a89c-6d61438a7a54", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee\",\"deletedDate\":1678954225,\"scheduledPurgeDate\":1679559025,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee/f9f8ba36da3d4c9684b5604ac7bda7bd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qCtYasFnmg1CL51kmM-Vmq-ypvCkCYh7KRpv1mEyUMRXubq7QNdzw2Ma5OUrFnIq8vXnetkw9vCaPF3siMHbiaH7vkrpsF429_ZDthresa9josEnjQIwaB8ZSQMII5Hzir6VxsLzpvEqxBdbKY_LropO3XSxAnklGnDcKsd32HBDakt2UzTNrYeaf0PA-BbcDpH82YQMvvJLWZTCwc1trIBWBT5M6HYjeLE03i7bh3sEivLLxczLuD04YcORA-rAJSDYdUAc1kxKxNPQfn8Q1m9VT7AG_NSgpuxlOOFoLGXn5FITAT9atou35RDpZfquxhAsV1OSJaY1Fq_QKbVP8Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:57 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5198", - "x-ms-request-id" : "84df3ede-3e97-4f1c-8a42-24682c237160", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/201160f6b72c40d5b546\",\"deletedDate\":1678951027,\"scheduledPurgeDate\":1679555827,\"kid\":\"https://azsdktests.vault.azure.net/keys/201160f6b72c40d5b546\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/21f391b3eb6f422f8947\",\"deletedDate\":1678951047,\"scheduledPurgeDate\":1679555847,\"kid\":\"https://azsdktests.vault.azure.net/keys/21f391b3eb6f422f8947\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951031,\"updated\":1678951031,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/23f72e4689bf4fda9d56\",\"deletedDate\":1678951044,\"scheduledPurgeDate\":1679555844,\"kid\":\"https://azsdktests.vault.azure.net/keys/23f72e4689bf4fda9d56\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951031,\"updated\":1678951031,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/268225d48cb04d85954a\",\"deletedDate\":1678954197,\"scheduledPurgeDate\":1679558997,\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/2d6102c1604b436d9df0\",\"deletedDate\":1678954224,\"scheduledPurgeDate\":1679559024,\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/7873ce34f6e34067b26c\",\"deletedDate\":1678951029,\"scheduledPurgeDate\":1679555829,\"kid\":\"https://azsdktests.vault.azure.net/keys/7873ce34f6e34067b26c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee\",\"deletedDate\":1678954225,\"scheduledPurgeDate\":1679559025,\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/b557161ec2304b958a9f\",\"deletedDate\":1678954194,\"scheduledPurgeDate\":1679558994,\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/bf4fbe64359d4dfd88fe\",\"deletedDate\":1678951030,\"scheduledPurgeDate\":1679555830,\"kid\":\"https://azsdktests.vault.azure.net/keys/bf4fbe64359d4dfd88fe\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951027,\"updated\":1678951027,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/c18cd4b33aac43ef8869\",\"deletedDate\":1678954222,\"scheduledPurgeDate\":1679559022,\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/d4f6d0efa0004798a364\",\"deletedDate\":1678954198,\"scheduledPurgeDate\":1679558998,\"kid\":\"https://azsdktests.vault.azure.net/keys/d4f6d0efa0004798a364\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/e5ec5b7fbe8c445f9a9a\",\"deletedDate\":1678951043,\"scheduledPurgeDate\":1679555843,\"kid\":\"https://azsdktests.vault.azure.net/keys/e5ec5b7fbe8c445f9a9a\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951030,\"updated\":1678951030,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5SlRWQlBVbFJEUlZKVVVFVk5ORFUxT0RaRE16Y3ZPVVkzUlRneU1FTXhRekV6TkRReE5rSkJNa014T1RFeU1FWkNSamN3UVRjaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5SlRWQlBVbFJEUlZKVVVFVk5ORFUxT0RaRE16Y3ZPVVkzUlRneU1FTXhRekV6TkRReE5rSkJNa014T1RFeU1FWkNSamN3UVRjaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:57 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "e953f086-97df-46e4-ba4d-7141dc59ee4e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNd01ETTNORUVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNd01ETTNORUVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:57 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "08094ffd-7d40-4ca2-b67d-f87170a16fde", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVEZ3lOekU0TnpBdk5EZEVPREF5UWtRMU1USkRORUZDT0VFMk5URTVSVVExTnpCQk5FSXdRVEFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVEZ3lOekU0TnpBdk5EZEVPREF5UWtRMU1USkRORUZDT0VFMk5URTVSVVExTnpCQk5FSXdRVEFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "a6917582-fadf-4c07-9cf1-53aa1286149f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9ETTVOemczTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9ETTVOemczTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:57 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "368", - "x-ms-request-id" : "17bc721b-a8e8-4c97-aac5-d0eb8544d292", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWTlVSRVZNUlZSRlJFTkZVbFEwT1RReU16aEZMek00UXpVM1JUSXlNakU0TVRRM01VVTRSamRDT0RORE0wTTJNelkyUVRJNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWTlVSRVZNUlZSRlJFTkZVbFEwT1RReU16aEZMek00UXpVM1JUSXlNakU0TVRRM01VVTRSamRDT0RORE0wTTJNelkyUVRJNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "ad35ec3f-9cb1-4f50-9b49-63bbcaa79c8e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVMwVlpNVEl6TnpNNVJFRXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVMwVlpNVEl6TnpNNVJFRXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "f273981a-ecfe-46d4-af93-01f9c5c72735", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTBJV3RsZVM5U1QxUkJWRVZMUlZrNE1qRTNPVEZCUlM5RFFqQTNNamRET1VJNE1VRTBSak0zUWpFMFJqazFPRGxFUkRZek9EY3lSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTBJV3RsZVM5U1QxUkJWRVZMUlZrNE1qRTNPVEZCUlM5RFFqQTNNamRET1VJNE1VRTBSak0zUWpFMFJqazFPRGxFUkRZek9EY3lSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "0d477de7-6b90-4503-b943-77fe0a4b2227", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV4T1RRM1JESXhNVGMySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV4T1RRM1JESXhNVGMySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "363", - "x-ms-request-id" : "da2bf71d-8fc5-4e6c-91ba-4927f81fbb12", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRJMk1qQXhOell5TWpVNUx6TkRNekF6UmprNE1qSkJSVFF4TURrNU1UVTVNamd3TlRkR056RkJNamt3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRJMk1qQXhOell5TWpVNUx6TkRNekF6UmprNE1qSkJSVFF4TURrNU1UVTVNamd3TlRkR056RkJNamt3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "e7a74fa0-15e7-46d0-9742-d89e6444ddcd", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRFF5TmpFNFFqWkZOa0pGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRFF5TmpFNFFqWkZOa0pGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "363", - "x-ms-request-id" : "bf459de7-5fa3-4554-86d1-051c626e7502", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRZek1ERXdNVVV3UmpWQ0x6YzVOa1l5TnpBeVF6VkRNalJGTjBRNFJEZzBSREU1UmtNMU1UWXlNa1ExSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRZek1ERXdNVVV3UmpWQ0x6YzVOa1l5TnpBeVF6VkRNalJGTjBRNFJEZzBSREU1UmtNMU1UWXlNa1ExSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "107c7a1e-dbc3-4794-8fc5-70bb64fb93da", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGd4TURnM05URTFOVGc0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGd4TURnM05URTFOVGc0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "7bce319b-5046-4f23-979d-45f2b8636e64", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRrNU56RTROek5CTHpCQ1JUbEdOamd5UXpJelFUUTJOVEJCTnpBM09VWkRRVGcyTkRsR1FVSTVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRrNU56RTROek5CTHpCQ1JUbEdOamd5UXpJelFUUTJOVEJCTnpBM09VWkRRVGcyTkRsR1FVSTVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "612f204f-f436-4156-85df-18e5f9093c57", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpORGswTVRjNVJEVXdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpORGswTVRjNVJEVXdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:12:00 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3516", - "x-ms-request-id" : "8694935e-ae0a-418e-8f39-15970c24592f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey506663ec4\",\"deletedDate\":1678951048,\"scheduledPurgeDate\":1679555848,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey506663ec4\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951048,\"updated\":1678951048,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey518870643\",\"deletedDate\":1678954211,\"scheduledPurgeDate\":1679559011,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey518870643\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954210,\"updated\":1678954210,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey534828169\",\"deletedDate\":1678951047,\"scheduledPurgeDate\":1679555847,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey534828169\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951046,\"updated\":1678951046,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey555546c07\",\"deletedDate\":1678954207,\"scheduledPurgeDate\":1679559007,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey555546c07\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey605172463\",\"deletedDate\":1678951014,\"scheduledPurgeDate\":1679555814,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey605172463\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey60701987a\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6635707ed\",\"deletedDate\":1678951014,\"scheduledPurgeDate\":1679555814,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6635707ed\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6956343d5\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTnpJNE56VTBRVE5ETHpZMVFUTXdPRUUyTlRGRU1qUTBNVUk1TlRjNU1qQTBOakV5TWpFd01qWTNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTnpJNE56VTBRVE5ETHpZMVFUTXdPRUUyTlRGRU1qUTBNVUk1TlRjNU1qQTBOakV5TWpFd01qWTNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "308", - "x-ms-request-id" : "7992a115-efcd-4aa2-82f7-0d50ab620797", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPTVRjME56WWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPTVRjME56WWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "28", - "x-ms-request-id" : "5d6d6fbf-732c-4a53-9b03-1b09e526cf59", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "ad7e14042d634b6e9aee", "c18cd4b33aac43ef8869", "2d6102c1604b436d9df0" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/4fa7f90520004bbe875b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d40bd3ac-b0d8-4404-a5c4-a9f6c38ab12c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/keys/4fa7f90520004bbe875b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9c9e0887-1543-4d81-8722-04ffba7b78b6" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b/edfb45073416426298ef2e3b1df5c804", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "03_bsEFlq78Fm5kO8NCjQcHm0jqQKfUXow4momKn9G9QRfGJjrlaZUlKGdbddgn0RD7vrvRn8El3VXVuBaLZzisLH0W1XIOdSRbEB4A-SdgJ0lnCNk3CMOstQajdtH_0lepVKmMcZlHtgIwXFxmAa9-9EgVmt9VJ24D89_bVqCP6ikdgjJzR-9HIRBczSkODmQYwecIptQt2Df8C3KBSySLlQq3DuiIQ-lYR2e5UqK1D_L5UipBa0MDwguDbHO3FtKRFHP_AsR6L2Z26DDHcLQ2afrJocE4-JehRNeA6mBfXL9xzJigwc1p77scEOud4GMIwt5myEzDbz1hfRkWimQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/a874a3dd019c4f0d8fd9/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "99cb18c6-b7b5-432f-8464-826c2d830a2c" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9/5a995099d62e413092820eb54ca84079", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "n7R_DwB093OZ5zeLlrvIyBqjujATWtkET5m3bFtyf0-b-CwkdbdIxEekKwfKVOoRdpNufwWphpqjSkY37V0vufqo6OE7jg3L8PRGBsvjtzN0ZMq2371iUhgvv3yniiY7eFROKuagpIXBFm8yXTxHLsAsfu0li_fU6wVc9xuCUBczPZQlSjDg45jhlv_fg2XoFv2k7I2zTSCtFQLTJ2lbl99FMxN8SiBgzGVm-2Uy1C_TTGUJ_F_ep8yD0rxTXjbRGvCS1atfmSc4zZBiJhYOJYStdR5mwxfPxr9718c9Yz_iZo1LmBIkawNcClizEyTkhALSGG6orn8yqTfP3hgHYQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/864b42db022c44f2a33a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6210950c-2813-4453-a165-b84da0cc22c9" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a/962d8665f37c42828f0e9996da39dbe4", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wdWcLGEhFLcMTJE_3ahdVfqqb9D3wCreGivkKPkXQt8hnNAd5ba8ov7GNkQMiCQ7VtFGKidcrjRSfeQJ51JAnvsZMU8HcInqvWQnghL4aFfpSkV_Lvu7VrDvmGBgvuenU4fo2bjkchSTnTl8yTrtWxUv1P-O0aBiWs4LWy38fyjAu6lbQVhkOWA9q45CVBiCr3bqisvIGX4BNrEzke4PYP4PD_ispjmqehxhnmlnY-zCcjwIqAtH67Vt_4BXEbx2hyL53pveuJfH8m1CkrTaF1MK8Pxtx7y7urwZqy0COQGXyNZy-S6351HtWrZ4fkAtwpxsicgp5DwtUffZ-EcyTQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/4fa7f90520004bbe875b?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e27ec001-211f-46a0-93da-08db6c6ebe05" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/4fa7f90520004bbe875b", + "deletedDate": 1681269688, + "scheduledPurgeDate": 1681874488, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b/edfb45073416426298ef2e3b1df5c804", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "03_bsEFlq78Fm5kO8NCjQcHm0jqQKfUXow4momKn9G9QRfGJjrlaZUlKGdbddgn0RD7vrvRn8El3VXVuBaLZzisLH0W1XIOdSRbEB4A-SdgJ0lnCNk3CMOstQajdtH_0lepVKmMcZlHtgIwXFxmAa9-9EgVmt9VJ24D89_bVqCP6ikdgjJzR-9HIRBczSkODmQYwecIptQt2Df8C3KBSySLlQq3DuiIQ-lYR2e5UqK1D_L5UipBa0MDwguDbHO3FtKRFHP_AsR6L2Z26DDHcLQ2afrJocE4-JehRNeA6mBfXL9xzJigwc1p77scEOud4GMIwt5myEzDbz1hfRkWimQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/4fa7f90520004bbe875b?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2bbe4086-ac34-44cc-ab69-3a921aacc5aa" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/4fa7f90520004bbe875b", + "deletedDate": 1681269688, + "scheduledPurgeDate": 1681874488, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b/edfb45073416426298ef2e3b1df5c804", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "03_bsEFlq78Fm5kO8NCjQcHm0jqQKfUXow4momKn9G9QRfGJjrlaZUlKGdbddgn0RD7vrvRn8El3VXVuBaLZzisLH0W1XIOdSRbEB4A-SdgJ0lnCNk3CMOstQajdtH_0lepVKmMcZlHtgIwXFxmAa9-9EgVmt9VJ24D89_bVqCP6ikdgjJzR-9HIRBczSkODmQYwecIptQt2Df8C3KBSySLlQq3DuiIQ-lYR2e5UqK1D_L5UipBa0MDwguDbHO3FtKRFHP_AsR6L2Z26DDHcLQ2afrJocE4-JehRNeA6mBfXL9xzJigwc1p77scEOud4GMIwt5myEzDbz1hfRkWimQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/a874a3dd019c4f0d8fd9?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "554e26d0-262c-4f36-9c61-f48f4f2053a0" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/a874a3dd019c4f0d8fd9", + "deletedDate": 1681269689, + "scheduledPurgeDate": 1681874489, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9/5a995099d62e413092820eb54ca84079", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "n7R_DwB093OZ5zeLlrvIyBqjujATWtkET5m3bFtyf0-b-CwkdbdIxEekKwfKVOoRdpNufwWphpqjSkY37V0vufqo6OE7jg3L8PRGBsvjtzN0ZMq2371iUhgvv3yniiY7eFROKuagpIXBFm8yXTxHLsAsfu0li_fU6wVc9xuCUBczPZQlSjDg45jhlv_fg2XoFv2k7I2zTSCtFQLTJ2lbl99FMxN8SiBgzGVm-2Uy1C_TTGUJ_F_ep8yD0rxTXjbRGvCS1atfmSc4zZBiJhYOJYStdR5mwxfPxr9718c9Yz_iZo1LmBIkawNcClizEyTkhALSGG6orn8yqTfP3hgHYQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/a874a3dd019c4f0d8fd9?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a533de9a-2881-4bad-93fd-4692fc7e7539" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/a874a3dd019c4f0d8fd9", + "deletedDate": 1681269689, + "scheduledPurgeDate": 1681874489, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9/5a995099d62e413092820eb54ca84079", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "n7R_DwB093OZ5zeLlrvIyBqjujATWtkET5m3bFtyf0-b-CwkdbdIxEekKwfKVOoRdpNufwWphpqjSkY37V0vufqo6OE7jg3L8PRGBsvjtzN0ZMq2371iUhgvv3yniiY7eFROKuagpIXBFm8yXTxHLsAsfu0li_fU6wVc9xuCUBczPZQlSjDg45jhlv_fg2XoFv2k7I2zTSCtFQLTJ2lbl99FMxN8SiBgzGVm-2Uy1C_TTGUJ_F_ep8yD0rxTXjbRGvCS1atfmSc4zZBiJhYOJYStdR5mwxfPxr9718c9Yz_iZo1LmBIkawNcClizEyTkhALSGG6orn8yqTfP3hgHYQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/864b42db022c44f2a33a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6b3f29c7-0cb7-4787-99b0-6edc7ac82271" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/864b42db022c44f2a33a", + "deletedDate": 1681269691, + "scheduledPurgeDate": 1681874491, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a/962d8665f37c42828f0e9996da39dbe4", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wdWcLGEhFLcMTJE_3ahdVfqqb9D3wCreGivkKPkXQt8hnNAd5ba8ov7GNkQMiCQ7VtFGKidcrjRSfeQJ51JAnvsZMU8HcInqvWQnghL4aFfpSkV_Lvu7VrDvmGBgvuenU4fo2bjkchSTnTl8yTrtWxUv1P-O0aBiWs4LWy38fyjAu6lbQVhkOWA9q45CVBiCr3bqisvIGX4BNrEzke4PYP4PD_ispjmqehxhnmlnY-zCcjwIqAtH67Vt_4BXEbx2hyL53pveuJfH8m1CkrTaF1MK8Pxtx7y7urwZqy0COQGXyNZy-S6351HtWrZ4fkAtwpxsicgp5DwtUffZ-EcyTQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/864b42db022c44f2a33a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3446b653-946e-4101-b18c-337f7d2d7613" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/864b42db022c44f2a33a", + "deletedDate": 1681269691, + "scheduledPurgeDate": 1681874491, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a/962d8665f37c42828f0e9996da39dbe4", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wdWcLGEhFLcMTJE_3ahdVfqqb9D3wCreGivkKPkXQt8hnNAd5ba8ov7GNkQMiCQ7VtFGKidcrjRSfeQJ51JAnvsZMU8HcInqvWQnghL4aFfpSkV_Lvu7VrDvmGBgvuenU4fo2bjkchSTnTl8yTrtWxUv1P-O0aBiWs4LWy38fyjAu6lbQVhkOWA9q45CVBiCr3bqisvIGX4BNrEzke4PYP4PD_ispjmqehxhnmlnY-zCcjwIqAtH67Vt_4BXEbx2hyL53pveuJfH8m1CkrTaF1MK8Pxtx7y7urwZqy0COQGXyNZy-S6351HtWrZ4fkAtwpxsicgp5DwtUffZ-EcyTQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "378dc0e5-bf2a-4cff-84ab-46e11fbde9db" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/1fc4269c1a3f44f3843a", + "deletedDate": 1681269681, + "scheduledPurgeDate": 1681874481, + "kid": "https://azkvrecordtests.vault.azure.net/keys/1fc4269c1a3f44f3843a", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/2800fa5c9aeb482586f5", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "kid": "https://azkvrecordtests.vault.azure.net/keys/2800fa5c9aeb482586f5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/4fa7f90520004bbe875b", + "deletedDate": 1681269688, + "scheduledPurgeDate": 1681874488, + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/864b42db022c44f2a33a", + "deletedDate": 1681269691, + "scheduledPurgeDate": 1681874491, + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/a874a3dd019c4f0d8fd9", + "deletedDate": 1681269689, + "scheduledPurgeDate": 1681874489, + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/f25cb70c8f614398a35f", + "deletedDate": 1681269680, + "scheduledPurgeDate": 1681874480, + "kid": "https://azkvrecordtests.vault.azure.net/keys/f25cb70c8f614398a35f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVESTRPVGMwTlRBdk5qZ3pPVUpDUkRZNVFqTTFORGc0UlVFNVFqazVNVVJDUkVNeU5UYzVNamdoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVESTRPVGMwTlRBdk5qZ3pPVUpDUkRZNVFqTTFORGc0UlVFNVFqazVNVVJDUkVNeU5UYzVNamdoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f145ccf1-a6bb-412d-9de2-f65128993a3c" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "28afaa4c-ad7d-470c-b466-bbebf4d4df3b" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVTMFZaTVRVNU1EUTFRalk1THpWQ05qRXpOVFZDUXpaQ1FqUkNNVE01TkVJd05EUXlNRVF4UVVReVJFSkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVTMFZaTVRVNU1EUTFRalk1THpWQ05qRXpOVFZDUXpaQ1FqUkNNVE01TkVJd05EUXlNRVF4UVVReVJFSkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b0db0c2e-fa47-48c6-83bc-ba7e3383b5a9" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREEzTkRjeU1FUkVORVUxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREEzTkRjeU1FUkVORVUxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dcd2e3a4-83f6-430b-b0b1-6acf1d6b94ac" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRVeU9UUXdRMEZFTHpBMU16SkRRMEV4TWtaRFFUUkdORU5DTURNelF6Z3hSVVpHT0RnM09FWXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRVeU9UUXdRMEZFTHpBMU16SkRRMEV4TWtaRFFUUkdORU5DTURNelF6Z3hSVVpHT0RnM09FWXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f03a0ff7-5bdc-4c8f-a030-da3c26789cf8" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt4TlRreE1FVkJSVEF6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt4TlRreE1FVkJSVEF6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "137548ae-9544-4c4d-995c-09e4a5cb108d" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTXprMk5qVXlRVGMyTHpKRFJVVTVRVFpDTWtWRU5UUkdRa1pDTnpWQlF6WkdNekl4T0RSRFEwSkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTXprMk5qVXlRVGMyTHpKRFJVVTVRVFpDTWtWRU5UUkdRa1pDTnpWQlF6WkdNekl4T0RSRFEwSkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "be9a6845-207d-4cbb-aba9-32f1ecc47beb" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey5338851c6", + "deletedDate": 1681269708, + "scheduledPurgeDate": 1681874508, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey5338851c6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269708, + "updated": 1681269708, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey585510f07", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey585510f07", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey665999479", + "deletedDate": 1681269678, + "scheduledPurgeDate": 1681874478, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey665999479", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey675388088", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RrNE5EQWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RrNE5EQWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bf9799c9-f371-448d-b227-a98bfb61748f" + }, + "ResponseBody": { + "value": [], + "nextLink": null + } + } + ], + "Variables": { + "0": "a874a3dd019c4f0d8fd9", + "1": "864b42db022c44f2a33a", + "2": "4fa7f90520004bbe875b" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeyVersions[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeyVersions[1].json index 7e8f5b95e1d34..79e31a429be16 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeyVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeyVersions[1].json @@ -1,254 +1,358 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0b1c6c0c-09ad-4e51-82b0-62d1cb09372e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9dc265d4-a3e5-4b8a-be85-844ab4f64891", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797280000 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c9ef4c1b-8bf1-4b67-8203-8f55b54f758c" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/67b944c400994ff8b2516fcefbead19a", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "3s9jNc6-QLz1Bxz91YHPQR4TFjx52oLSmjnowCZNhNTgcBwz01sFE1RdybbJBTGc1j4JDtaGJl8tXC_ezISQWj0Iyv1pphkVSb_0c6XL4XSQxJt1QzHu4AjX3fGMn2V6cORJuft_yyFibtOFaj7Cwk9WXF9gDhfLy3NJNrZgiNuP1TvszxSUESkgHHCXIIZL2JUz53yKjcKrdqZI_K3Jvat93j8EuE-ssKFFfiv6dJMm2UAMnzQzCdXhNl4A65M3AKD-8Ebl-VwJQd9UKP-1hFlR-DQbmP_a-yOe0MrFkpJE4xhTCvjGlhxy5OttAFxXjVWs2jVpYLg03Vu-kreacQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797366400 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ddb6709b-6f33-41e7-8548-4b8dab995669" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/0212b463f91e49369d1cd301344e9d09", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "trvg1m8ijR_xypfpSqE_1pflGS-1zuAhpWDR-F20qDq3tAeWZiZW6-It3v-fNnZ3c5ProkXCfCA4cJV8VpKRtH7MIdUXGYgDXEw_j3Za-w6JIztqKPi_gw6ek8hiwl0vCf5Gz0rquCI5HnqH9zHI568g_Vxs0aXS372d5ZalLJIpNUDL7KDN0vHsBBcbc1VEnzVFVW5A7PfTid3ArsIwysu6oSHFNR9ZWI0osk4TkJv1pYfdwnxwUi7mgv4O6C-QhHpuuBZdJIbRWyITc74hWukJDeXhaeEH68v6NV7Nj6b950JRqohTOFBcAsVeX2IVXqLjx-_r7TiAo7adcrX6bQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:50 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "62109c07-f34c-4eab-abb5-32291f751321", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797452800 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a081513a-2385-476d-ae2f-5fc1bb19c896" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/0f0ef4c99e074f16b539b3e8c60ec6a2", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "yUu9BlFTRmTJIHV0gNBKLn3i6ky77f26ChQrjSRvUVcYMdUUvxkA0rvx-sOiiONjWeSyJ2BYT9QCwJCp0BX90xS0lRi5eDTA-hhpxR-SwOH5qBJqBlZsOGyrxDk96SBY3ErYELeb6JUfi-DgD7sFNHQJJNqnSmOjIHH79tOS8GhEG3ig-yRbDj4kr43_zwDmBvZR0e9ymHO9nKkK8ow3eBLUFv7pd_ZKdU0EQNCpwRhAdIPfFhl3q82BUX229pgOO62pUc5SeLIr5aAChjtg9J_NWBERzJTxSM9iru5N7Nr16c1WV8aYiObDHHYHgaKQycdmvky-SknwRd4rYY0TJQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797539200 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dce7ae91-fc67-44dc-9ebe-d2c840eb3179" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/fbb04c853f6e4770bfafed548a08f7da", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "3i78FlPzqyp8WrL_gwnj8hm56lnFNlHb3fKsvLrwmj9KyWC2K8FkLVJ3lyjop5uuTQNSNhKl4PSCh9H147ZKSGLszGAUxRtVp6SqSCRU_1Gy6yCWhIKSzZai4fdYlJGV5lqAP5qWhSFVwmytWjNQNTSmzcv89KCbCHUXTvLO6DSnxFFxRURiQD_6ota_rP_Kvq7V2YqdkKUOrbUr7LtsO45t_4vTLbNSSaboi47yK_2jxQFg_tGrFsHiluaXA1TXaGDtFkLM7mjyNCUB45ymyzlQN-UlliNn48cyanIrRH6sW0yUBFOQqbcClDl7glwpZfjntM6w3IZq0rJS-Z89FQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6e4b397b-7331-42c7-ac6a-d0f2e1ec47fa", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/af813dc0ae7f48aa81e8c22cb0b0d68b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tSKWXZUtVwAGpvPtNfJqxLPiq98Cx36Bd_g9OysoXgLYYZm6bdTaSicoUFZonR9aH0zYwVynPJKfVh6PupdAaUibcPHB4CfHYFV5WU6En07D8JlZCERwn6qzsL4zXvuot2L-kVhN88d8H766GjjoAimbeVPanCQr2CD3A-VtoXU81cVodM5ylYQs1DhODHI5vuXbjNpP2lxcuJwc8X5I4Jjt3JiqV8M5hzG5UIj9Vpg3Q2pZnQZDoHGnE9MbP7vQJ7TyziOatbs5yEBhdpU-L4lFTZ5aCFdeibfX7WQK7kVCI23v7VZRZEi3ew9cziv6I88b2I8utIsB-Gycw8wicQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:55 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "85f8fa5d-b026-4cc4-b234-608c7a2bfa43", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/748a6a65185d49f4ac82c58b7f1d24ff\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vbrKGp30eu94FFr7adWYzlr8iwQAE-l536TEj3h3cMgoG1ykAqEcqnwfeOgPHB_GmD0Q0V52eVG4yU-94_j-z2_lRLsUldZimzzMOdn0vap4X3N9nbWR_QKBmUhFFoEt_veZRlDOLOXM_JU4I2FJy1BKBMQGeX6nKjzfCFjT6KKmMaPS5j3kUx5vNQrIrjEWyOx04icCIZoY1O5r44D9zbKPWML0NBuakMCbwrPV0RGOmZQCn9hop1PhabO0tejDBHwM9GOgpO2R0-cryui2fCgNbVUYxVUHyVZoRuPE7eub3-aakrlX_uDAmwdE5jEn0qSSx_c4P0uF5-zYclxnCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954195,\"updated\":1678954195,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c32518e6-3664-4f6e-a2d4-cb5b9a1639b2", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "32f1c653-648f-4cf7-9acb-625f36cb6840", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "60732ac5-8007-4b69-b3ce-dc77ba4f7e98", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e67f85a4-5aca-4606-8ede-1433ccf90e87", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/8146d292849044f8a95692f8626fe65e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qUQ1jnero-KOFDtXYnesQ-fg85mA074aPLoXgiH6EgvQlszmJzFJqfs5jVbBaMZ0sFN_DxRo6m9npZ4NYQeicpxtNwRJukW_zZw2A224kO-X2wnmv33pC3qnTyiMASkKQM1nJ0RVs1ySdljFlZ0zYvtejWi06945M85Fo70kmZLUpmyPs8dgXQfALy48yggUQKng1HWKLSuvAcVUg9KvLHNWHciKxm7x-lNjB3eIf9vGChCEwWwp0HRKtuhz4NYdmx3ERCn5__GTGuVI-_DjVYmqWkOKPxYJZs06x4rb0GBPKdWoRoS9UB6GVbevNL70uRS1_Fp8wYMzY3uNbY1zMQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a20b51d9-f991-4ecb-96eb-10861bdcaca6", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/9f094539837c419eb9e2cd4d6ba194dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xwqKHbMN6VM19lHH_yCqm8JL-Du2gPoZy23tTwE6FBGWHkUeGm7CbVlgo_-V1zPozMfRHjv7o-aITsPx-OJmWLQBpOffAs3p5_R7YypQpNlcndzCV0cupqrrHx_hT1YS44D2G4OmhwDtpUXs9ST1iekUfTgndzdqFsdYmduGnHFOlbYXc8iLa8ik99OI5Wk7MqbQWqSLp2VqoqyDijFrQbJkugKAomCixxCVAsAM87otRhjmTJ1aeBH3tfH0dmSgCd6758YlVtZQyFPq-TWT5l6VlM72Xbtrll0L_6lVQ-oGQ17uhPWWBKvnrDXpBS31lDq-p_Ikz72vosq3unqYOQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954213,\"updated\":1678954213,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion76425/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1179", - "x-ms-request-id" : "8a6cfaa2-7660-4141-863b-1ff90b5f03a7", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/748a6a65185d49f4ac82c58b7f1d24ff\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954195,\"updated\":1678954195,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/8146d292849044f8a95692f8626fe65e\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/9f094539837c419eb9e2cd4d6ba194dc\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954213,\"updated\":1678954213,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425/af813dc0ae7f48aa81e8c22cb0b0d68b\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listkeyversion76425" ] + { + "RequestUri": "https://REDACTED/keys/listkeyversion34156/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1171", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a2d78ebc-a75e-402e-af20-4f2915ae63de" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/0212b463f91e49369d1cd301344e9d09", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/0f0ef4c99e074f16b539b3e8c60ec6a2", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/67b944c400994ff8b2516fcefbead19a", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156/fbb04c853f6e4770bfafed548a08f7da", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listkeyversion34156" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeys[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeys[1].json index 6d799566cc413..dbf091c26ec56 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeys[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.listKeys[1].json @@ -1,304 +1,1368 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey027751642/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/listkey159045b69/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ab3b34dc-949d-489a-a1df-73030872b89d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "73f0333f-f988-41ba-a839-52a19878d4b0", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkey159045b69/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ccd6bc86-2552-4de8-8bbc-5a148d0a47a7" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey159045b69/5b61355bc6bb4b1394b04420d1ad2dbc", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0OsHO9bXf5ViE-fLN8aH71CV1xOdcW9nv1np8hj0tGYo4LAMrDM5a_5UOnvta6nLFbhIOFp6e0yCZbvJG-wpb8V9P4TGVU9tPLsRHj6hU-6daPiANpb_0qOHUOa2rybLcqMVCFPoLVzhi9LArgGTkaDLRXZf0dgajNV_irTYxzdEXEAMZZ5Yn5SMInXFMz5LaApmRASy8Xp6uKEeaB187nTm4kwcE2ZySRiJjZP9S44fFF9Y4MMQa2ZnOKUbIYG51GoxU0_wvBWDwdn16k1e5CMH0ze7cpZOd0wjOSY6eM9UOV39LqWBUxrZs3tzcBP5x7-aHlsUiA072b8xH8smaQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey027751642/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkey08514245e/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "093793c3-434b-4641-add3-98116aa22bf5" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey08514245e/4664282d6b324daeba55c3162ef71311", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "37Qu_qshS-dbBMTsgVRoGuXJlz_0t5pOZ_PYgXWGhObnH8A6NR5JZZ1ByFcso1tXXj58fqY0GUUrsniK1E5YJlnhOP0C38xefIxGR8wdW_DxQA8al98E-4Q4oNAPyyhaROOJSTM5QXQG--SrCLtEMfqoLRahElD9USrSz1K0LjbaiZflb88tFq8oVa61RaM7wtM6mFbD5V5xh9eram7oAVsGFc6Gsz-6bW5qA6m8wCgIgUYsaM7Zd-SorFGrcBWgZgJoki5h-h7Uz5deXDk4pfFACiphAhtxhPa85Fv3CN2Dz6OisONEFquLVYIZDMOm5EsWFnXRp3lzDjIAiFGR7Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:38 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "adfaf8b8-b5dc-4e38-8411-5df7870ad060", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey027751642/7bf3df250da4408c8b8fc015c48c5c2b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1Kh1cVWJI7Ur3SdzYmaWuSwu2AjQMn10NuBhG231G917fXaQYy1SXoH0lFRKlyb_qn5NEYDxRhxiOz6GUqrTRSr8gaCXzZp3641kPUseWj1CI-TAU9woskQXJ73oLhBblV2V-44UuFJ93dOnxP4Y59Y_BjLo7KtCAPH6_ZWCjkLRcxX8gT0VLWQuDlT7Vx1b1gnV_ZKD2oBjlRt4f0DPdITDOW_97bVOg6mUes40CTUKqs7a9uXDOoMs1SReYRInFf9kcTvkoLem8TktgVIbbIi6j3L6GNNEDbhp5yRl2hDqcuIi0ZXmy_dxFWsOI5IJUGFGUaVwX_EEi02x6oJxoQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954178,\"updated\":1678954178,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "6438", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "804fdb7b-4f79-4358-8504-4e6b87d741d8" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem36190600", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem88272c66", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs0802660b", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267922, + "updated": 1681267922, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs72765dc3", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp10580ed", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp19980ab", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp2897450", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp46933d1", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp48817f8", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp55637e7", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp657262d", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp75324e4", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8730681", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8919662", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey019934147", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey14364bdb0", + "attributes": { + "enabled": true, + "nbf": 1681267351, + "exp": 1712890351, + "created": 1681267952, + "updated": 1681267952, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey1765847e0", + "attributes": { + "enabled": true, + "nbf": 1681267331, + "exp": 1712890331, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey28482fa02", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey35523cfe7", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey10026676e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5086", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "699b9729-0bb1-4971-a3fa-7db78b4ae086" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey371743fe3", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey53952219e", + "attributes": { + "enabled": true, + "nbf": 1681267375, + "exp": 1712890375, + "created": 1681267975, + "updated": 1681267975, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey73640952b", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey032723001", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey08514245e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey159045b69", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/myalias", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey111498f7", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey27056f79", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey66098157", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey7308409f", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey8567757a", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey97102ac5", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert01202f7c384", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert04277a19e08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert05792b1d900", + "attributes": { + "enabled": false, + "nbf": 1681267338, + "exp": 1712890338, + "created": 1681267939, + "updated": 1681267939, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert12248a9fc67", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV6TXpVMU56UTJNRVpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:39 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "67bf130d-760d-4a7d-bef8-430332c530af", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV6TXpVMU56UTJNRVpESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "6142", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9c732278-e148-4a6e-849e-bcf4ee0cb554" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert133557460fc", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert15970ce7b3a", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert2087690df30", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert24189bd8691", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert27446e8292d", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert344656cae8e", + "attributes": { + "enabled": true, + "nbf": 1681267778, + "exp": 1712890778, + "created": 1681268379, + "updated": 1681268379, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert424544e9d25", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert4513181b", + "attributes": { + "enabled": true, + "nbf": 1681267357, + "exp": 1712890357, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert52940cad", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert62768ede0a9", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert69778c99", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert72950e838eb", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert809045b9", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267962, + "updated": 1681267962, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert81371983686", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert825805c9c5b", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert85780271", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267922, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert879738c7", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert915910eae03", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92278d8e116", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRGt5TlRjelJqQkdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey10026676e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "45be08e9-69f3-4681-b84c-94d00108d7cb", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey10026676e/c88002a9720b4d4ebb78f5b6532e74c4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ty_gbkVDBr7Y-SHJrDXJl9bk1qBsPPPs1N1TPFI7jEywyUpn7nNqeGURL_ErZornWFiSb0axm_FQoauwdNfLEcfskkL-M3CnsX7N5MY7EnfOf7ocRQPHfBKE9Nfp8Io4YfvgVAaCqzdfIlgit6a8kiZ3y0doxknofIxWwu-TX5IRJeEKP_5f4IIVBPlNkJGpjE8uXivhhGGmZbCKhRJozl2pYpVsFX-k3Ippz8pRt5jflkRyOgEzo_W-CSJL47w16WT9yuCsN0pP3AQSLni0F52v4RaMMCdX3ke26wVJjZu9hEpac5lKzaStIgHzIaIyiHV34pKcKmIixIe3jGZHPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954181,\"updated\":1678954181,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5752", - "x-ms-request-id" : "e43e31e3-0e8d-4551-90ae-35a832246e66", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem45586c37\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem70052b83\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem849004cb\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem92624d14\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs18458ce7\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs27461b85\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs60786327\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs75353a38\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0351650\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0444800\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp12856ff\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp294866d\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp300374a\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp370538b\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp40102fa\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp413848d\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951050,\"updated\":1678951050,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp468463f\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURRMk9UUXhRakFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURRMk9UUXhRakFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "7240", - "x-ms-request-id" : "2d6f4f3d-4c31-4559-a657-a450ad24aac6", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp46941b0\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951023,\"updated\":1678951023,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp4729817\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp49599dd\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp5086828\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp570822c\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp6160387\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951025,\"updated\":1678951025,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp6909297\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp8271870\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp9323148\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp97329b5\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951027,\"updated\":1678951027,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey020515346\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey140384932\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey14728c014\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey18827d6de\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey23688a6ba\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1710576560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey30234f065\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey328368b40\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey3491808e4\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey365168328\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey492960bb6\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey628397873\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey62928cdfc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey683522e3c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey7755247a7\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey83973bcab\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RrMU9EY3lNREkxTkNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RrMU9EY3lNREkxTkNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:51 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4306", - "x-ms-request-id" : "63f6d4ab-7b68-456e-a751-1f892206b660", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey958720254\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert4924651\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey027240329\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951019,\"updated\":1678951019,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey027751642\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954178,\"updated\":1678954178,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey089976781\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951034,\"updated\":1678951034,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey10026676e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954181,\"updated\":1678954181,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey100752670\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951039,\"updated\":1678951039,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey123739da3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951019,\"updated\":1678951019,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954187,\"updated\":1678954187,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion69871\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951033,\"updated\":1678951033,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion75563\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951033,\"updated\":1678951033,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/myalias\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey17739caf\",\"attributes\":{\"enabled\":true,\"created\":1678951024,\"updated\":1678951024,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey37489131\",\"attributes\":{\"enabled\":true,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey47674db8\",\"attributes\":{\"enabled\":true,\"created\":1678951025,\"updated\":1678951025,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey81286079\",\"attributes\":{\"enabled\":true,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlTVDFSQlZFVkxSVms0TWpFM09URkJSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlTVDFSQlZFVkxSVms0TWpFM09URkJSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6289", - "x-ms-request-id" : "dde37518-ebcc-4b69-a626-924a95623c6f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey821791ae\",\"attributes\":{\"enabled\":true,\"created\":1678951049,\"updated\":1678951049,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey94479766\",\"attributes\":{\"enabled\":true,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey95123259\",\"attributes\":{\"enabled\":true,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey96254e75\",\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey97671f81\",\"attributes\":{\"enabled\":true,\"created\":1678951050,\"updated\":1678951050,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey98072eb9\",\"attributes\":{\"enabled\":true,\"created\":1678951022,\"updated\":1678951022,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert0041741853c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert041204c4\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05138d67\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05372a8c3d9\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert056438d4a20\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1092295324b\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert127097d0dc8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert13307850\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert15963b9a102\",\"attributes\":{\"enabled\":false,\"nbf\":1678951061,\"exp\":1710574061,\"created\":1678951661,\"updated\":1678951661,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18236eadc35\",\"attributes\":{\"enabled\":true,\"nbf\":1678953566,\"exp\":1742112566,\"created\":1678954166,\"updated\":1678954166,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert20887903436\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert21172984d93\",\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert217038c9\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954163,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert224271757ba\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert26201762259\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert27558598b2c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert27808513219\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREk0TlRNNE5UWkZPRGszSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREk0TlRNNE5UWkZPRGszSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5655", - "x-ms-request-id" : "bb6e12a1-066c-4511-8e0e-2f06991439d6", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert2853856e897\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert30284660cd8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert324948604ee\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert35510d74ced\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert376955362f1\",\"attributes\":{\"enabled\":true,\"nbf\":1678953562,\"exp\":1742112562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert3990480f79a\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert40147b09c3e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert47882934afa\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert49907fe70ac\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert510992ef0be\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert5677070ba11\",\"attributes\":{\"enabled\":false,\"nbf\":1678951253,\"exp\":1710574253,\"created\":1678951853,\"updated\":1678951853,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert56810496c6b\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert5757831c\",\"attributes\":{\"enabled\":true,\"nbf\":1678953583,\"exp\":1710576583,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert58344de8f9e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert585852f7c70\",\"attributes\":{\"enabled\":false,\"nbf\":1678953564,\"exp\":1710576564,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert6210194afab\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert62702785964\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert6384478e5bf\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert661444e3f00\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert67119c0e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954172,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRGN3T0RZNU9FUXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRGN3T0RZNU9FUXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6877", - "x-ms-request-id" : "7c30dae5-4265-40a3-8014-bf676bd7cc27", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert708698d2\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert721471bd873\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert72180ce45d5\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert724831b1\",\"attributes\":{\"enabled\":true,\"nbf\":1678953579,\"exp\":1710576579,\"created\":1678954179,\"updated\":1678954179,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert72544647\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7280530dd15\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert742555f1\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert748574fa31b\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert81087515588\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert82221cd67f8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert828338a2b01\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert838336ea\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert879909fb\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert88427430\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert92201a19a66\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert92673e6be72\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert937620dadf7\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert98347e92\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert9971873a\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey103475822\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951020,\"updated\":1678951020,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1348238e1\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey13644223c\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpNVFl5T1RrNU4wTTRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpNVFl5T1RrNU4wTTRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5143", - "x-ms-request-id" : "06e8bfd3-161d-4c9e-aa70-01c957f00dec", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1629997c8\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey220412b3b\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678951020,\"updated\":1678951021,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey223192b04\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey298003c34\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678951048,\"updated\":1678951048,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey37216831f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951021,\"updated\":1678951021,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey374388114\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey494179d50\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey4952190f6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey496546b73\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey49769580a\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey766020a1f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951016,\"updated\":1678951016,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey790456c66\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951028,\"updated\":1678951028,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey831527346\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951018,\"updated\":1678951018,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey872586412\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954174,\"updated\":1678954174,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey8893217a7\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951046,\"updated\":1678951046,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpPVEUwTWpneVFqWkZJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpPVEUwTWpneVFqWkZJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3071", - "x-ms-request-id" : "12ac0f8e-2cd4-478f-a9bc-b3c833005fe5", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey9211849f3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951014,\"updated\":1678951014,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey945837201\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951022,\"updated\":1678951022,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion09939\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion17476\",\"attributes\":{\"enabled\":true,\"nbf\":1678953588,\"exp\":1710576588,\"created\":1678954188,\"updated\":1678954188,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion88662\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey35823d3\",\"attributes\":{\"enabled\":true,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f\",\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify26561\",\"attributes\":{\"enabled\":true,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068\",\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap76891\",\"attributes\":{\"enabled\":true,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listkey027751642", "listkey10026676e" ] + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRGt5TlRjelJqQkdJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "4776", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d376c265-c265-49ab-a4e5-909a5bd613cf" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92573f0f", + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert930083972c7", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert992700fd", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert99539ad0580", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey100076e94", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey107013837", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey2793803e0", + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey284288686", + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey416645817", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey437892a1f", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey829743998", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey8688021a6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion89840", + "attributes": { + "enabled": true, + "nbf": 1681267366, + "exp": 1712890366, + "created": 1681267966, + "updated": 1681267966, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listkey08514245e", + "1": "listkey159045b69" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKeyNotFound[1].json index 8aefbdef1f00e..88bedfb308b29 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fcee7c3e-eb5a-400b-8995-b25d064e32a5" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0160d22d-b2a0-42d7-a625-6d2df1ee69a3", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "96482edd-f67d-4e9a-abad-375609168466" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKey[1].json index b5f7bd37a9d96..997babcf53068 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.recoverDeletedKey[1].json @@ -1,129 +1,386 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey728754a3c/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey746197675/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d03cb283-66ac-49ab-a040-d03653218adc" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dc9be2bc-995a-4262-ba31-1b2ac4407591", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c/65a308a651d2441b9579204612210267\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tZl3TSvolot-blWQJjXwKDaf6Qn02l5xdk11yXUFbQ1JPY_-rseTyfbxtnNrSojHAgdD62q-9pWpwbip68LPrG0W0eOFjvugzCM0tik_PeJsLwhFOIMFlU5x84jpf_aXZVH-vm6F8TuWRx5eNnajtIRKq6YjmWCngrziiZQUR_JYRqG61y7l7UuMaC7tLNyv3BHScXX9vi64y04DJhnopZ1W605VUwMwHHYY7U_YLp8YVj1p0Pmp1-SqDpX7Blw4_MYDdeVLr2ktwbTeEAn1Cao9QOTEdBIHOQQDhgQKiOZ_4W84C6Xupv34CzuGe_LvzzXPy2wqc18k5EDa5pjg6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey746197675/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c9a50044-1da6-42ed-89b5-6caa87aa8182" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675/35185bd034ea4a9ea4b06c9ced701520", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "mp5GOL0ytu9xvsaxD2-zxTvNbnPF4ZmlbuqZ7GCzwqHOuaAD4IcSMepax5l38ugNJKoHEx8JtwJEtus7eZr-d-lWtLgqhI05BrsjRUit0wiZwDMqbJxZfFNsgGFaCWxr7_gydAfDF5dCXkisx5v4WGxRC3cT-O_17Pfyiv3EVODNk6o4MQyoCcF1-HT_f26C3Omjl6R_uP32lKODqaE7OEGWuWccUlIvgYeYARWoiDU54KiBZIVsAI07B8TbfDA5-6ffvoyy9CkkuzryywiTF4901rBpZdMpc7FkFaMXk7exN024_H9t8frWA5beHgs0c3gObdtLHs1rAqFIA-kNrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey728754a3c?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey746197675?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b62c6bb7-5498-4a3d-8914-6b4a1d228dc6" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey746197675", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675/35185bd034ea4a9ea4b06c9ced701520", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "mp5GOL0ytu9xvsaxD2-zxTvNbnPF4ZmlbuqZ7GCzwqHOuaAD4IcSMepax5l38ugNJKoHEx8JtwJEtus7eZr-d-lWtLgqhI05BrsjRUit0wiZwDMqbJxZfFNsgGFaCWxr7_gydAfDF5dCXkisx5v4WGxRC3cT-O_17Pfyiv3EVODNk6o4MQyoCcF1-HT_f26C3Omjl6R_uP32lKODqaE7OEGWuWccUlIvgYeYARWoiDU54KiBZIVsAI07B8TbfDA5-6ffvoyy9CkkuzryywiTF4901rBpZdMpc7FkFaMXk7exN024_H9t8frWA5beHgs0c3gObdtLHs1rAqFIA-kNrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a1e0c9c4-da30-40be-b4b7-cd4daac5bed3", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey728754a3c\",\"deletedDate\":1678954183,\"scheduledPurgeDate\":1679558983,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c/65a308a651d2441b9579204612210267\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tZl3TSvolot-blWQJjXwKDaf6Qn02l5xdk11yXUFbQ1JPY_-rseTyfbxtnNrSojHAgdD62q-9pWpwbip68LPrG0W0eOFjvugzCM0tik_PeJsLwhFOIMFlU5x84jpf_aXZVH-vm6F8TuWRx5eNnajtIRKq6YjmWCngrziiZQUR_JYRqG61y7l7UuMaC7tLNyv3BHScXX9vi64y04DJhnopZ1W605VUwMwHHYY7U_YLp8YVj1p0Pmp1-SqDpX7Blw4_MYDdeVLr2ktwbTeEAn1Cao9QOTEdBIHOQQDhgQKiOZ_4W84C6Xupv34CzuGe_LvzzXPy2wqc18k5EDa5pjg6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey746197675?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5990ca50-6bba-41c1-97d5-b6ac255d7058" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey746197675" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey728754a3c?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey746197675?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d7f92b25-7d72-4d92-a15b-ae11ca8afd14" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey746197675", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675/35185bd034ea4a9ea4b06c9ced701520", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "mp5GOL0ytu9xvsaxD2-zxTvNbnPF4ZmlbuqZ7GCzwqHOuaAD4IcSMepax5l38ugNJKoHEx8JtwJEtus7eZr-d-lWtLgqhI05BrsjRUit0wiZwDMqbJxZfFNsgGFaCWxr7_gydAfDF5dCXkisx5v4WGxRC3cT-O_17Pfyiv3EVODNk6o4MQyoCcF1-HT_f26C3Omjl6R_uP32lKODqaE7OEGWuWccUlIvgYeYARWoiDU54KiBZIVsAI07B8TbfDA5-6ffvoyy9CkkuzryywiTF4901rBpZdMpc7FkFaMXk7exN024_H9t8frWA5beHgs0c3gObdtLHs1rAqFIA-kNrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "47a80b03-2c9a-4715-9f08-67d148358c3e", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey728754a3c\",\"deletedDate\":1678954183,\"scheduledPurgeDate\":1679558983,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c/65a308a651d2441b9579204612210267\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tZl3TSvolot-blWQJjXwKDaf6Qn02l5xdk11yXUFbQ1JPY_-rseTyfbxtnNrSojHAgdD62q-9pWpwbip68LPrG0W0eOFjvugzCM0tik_PeJsLwhFOIMFlU5x84jpf_aXZVH-vm6F8TuWRx5eNnajtIRKq6YjmWCngrziiZQUR_JYRqG61y7l7UuMaC7tLNyv3BHScXX9vi64y04DJhnopZ1W605VUwMwHHYY7U_YLp8YVj1p0Pmp1-SqDpX7Blw4_MYDdeVLr2ktwbTeEAn1Cao9QOTEdBIHOQQDhgQKiOZ_4W84C6Xupv34CzuGe_LvzzXPy2wqc18k5EDa5pjg6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey746197675/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d741d3f-fd52-405a-a74b-36061b6c02df" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675/35185bd034ea4a9ea4b06c9ced701520", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "mp5GOL0ytu9xvsaxD2-zxTvNbnPF4ZmlbuqZ7GCzwqHOuaAD4IcSMepax5l38ugNJKoHEx8JtwJEtus7eZr-d-lWtLgqhI05BrsjRUit0wiZwDMqbJxZfFNsgGFaCWxr7_gydAfDF5dCXkisx5v4WGxRC3cT-O_17Pfyiv3EVODNk6o4MQyoCcF1-HT_f26C3Omjl6R_uP32lKODqaE7OEGWuWccUlIvgYeYARWoiDU54KiBZIVsAI07B8TbfDA5-6ffvoyy9CkkuzryywiTF4901rBpZdMpc7FkFaMXk7exN024_H9t8frWA5beHgs0c3gObdtLHs1rAqFIA-kNrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey728754a3c/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey746197675/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a5e51f7f-0d67-4f44-b954-2dad053d42d4" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) testkey746197675 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5fe89aa0-d342-4499-974b-04528d932a9d", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c/65a308a651d2441b9579204612210267\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tZl3TSvolot-blWQJjXwKDaf6Qn02l5xdk11yXUFbQ1JPY_-rseTyfbxtnNrSojHAgdD62q-9pWpwbip68LPrG0W0eOFjvugzCM0tik_PeJsLwhFOIMFlU5x84jpf_aXZVH-vm6F8TuWRx5eNnajtIRKq6YjmWCngrziiZQUR_JYRqG61y7l7UuMaC7tLNyv3BHScXX9vi64y04DJhnopZ1W605VUwMwHHYY7U_YLp8YVj1p0Pmp1-SqDpX7Blw4_MYDdeVLr2ktwbTeEAn1Cao9QOTEdBIHOQQDhgQKiOZ_4W84C6Xupv34CzuGe_LvzzXPy2wqc18k5EDa5pjg6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey728754a3c/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ec0f4682-5a1d-4c7c-9ca6-cb8e2d7a0afb", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c/65a308a651d2441b9579204612210267\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tZl3TSvolot-blWQJjXwKDaf6Qn02l5xdk11yXUFbQ1JPY_-rseTyfbxtnNrSojHAgdD62q-9pWpwbip68LPrG0W0eOFjvugzCM0tik_PeJsLwhFOIMFlU5x84jpf_aXZVH-vm6F8TuWRx5eNnajtIRKq6YjmWCngrziiZQUR_JYRqG61y7l7UuMaC7tLNyv3BHScXX9vi64y04DJhnopZ1W605VUwMwHHYY7U_YLp8YVj1p0Pmp1-SqDpX7Blw4_MYDdeVLr2ktwbTeEAn1Cao9QOTEdBIHOQQDhgQKiOZ_4W84C6Xupv34CzuGe_LvzzXPy2wqc18k5EDa5pjg6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey728754a3c" ] + { + "RequestUri": "https://REDACTED/keys/testkey746197675/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7d95854f-8c10-441f-8a16-4ad3deaedbf6" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675/35185bd034ea4a9ea4b06c9ced701520", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "mp5GOL0ytu9xvsaxD2-zxTvNbnPF4ZmlbuqZ7GCzwqHOuaAD4IcSMepax5l38ugNJKoHEx8JtwJEtus7eZr-d-lWtLgqhI05BrsjRUit0wiZwDMqbJxZfFNsgGFaCWxr7_gydAfDF5dCXkisx5v4WGxRC3cT-O_17Pfyiv3EVODNk6o4MQyoCcF1-HT_f26C3Omjl6R_uP32lKODqaE7OEGWuWccUlIvgYeYARWoiDU54KiBZIVsAI07B8TbfDA5-6ffvoyy9CkkuzryywiTF4901rBpZdMpc7FkFaMXk7exN024_H9t8frWA5beHgs0c3gObdtLHs1rAqFIA-kNrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey746197675" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.releaseKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.releaseKey[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.releaseKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.releaseKey[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKeyFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKeyFromMalformedBackup[1].json index eda104ebe9149..0dc4480d73027 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKeyFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKeyFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8e4a120-1def-4237-8687-d53481b129aa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "11aa84fa-d28e-4715-b0f7-054fa561944f", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2f889471-0ec1-461c-95e6-0181e49f4ede" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKey[1].json index 81b2232e3f6fa..98af4f052b042 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.restoreKey[1].json @@ -1,176 +1,393 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey914282b6e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey9694688f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "536aad87-7ca3-4117-86ba-c911ac1bdbf6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2a20d8c1-4e35-41f6-90c0-187d52764cde", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey914282b6e/f29d5eb7e95644c6a205c8dcbf0a07c7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3Gnh8IVP1gjR1HRNZi5q6SI7sgbstYw5XS2tD5LhyUbQHM0mghp8InnCRxKtJBDN7VfeJyIJI-wuOM80TN0U08g5VcFnPfbzwRLGJ1dr_pqjoTnw9X8asF6FFJmZIPZz6JWMnIvMPQLd28DxvY9_3ts31GLolS2xGNEDwRHRlG2Ww4V3VNMQ2md7TAO3TQOJz8S5dPx4Rf05aSBZPpnwM-yF3e9v0yQ2djGLNJILAYXd9jKSDdidgXtB46Jpl_7eRh9G_beUPchezzp0RtvOuJFdUftl4RC46K-Nju7F2PHMwlcqdpn-FiAPTtPBFVXde_RbSYpWBRESmkMhhcIqFQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey9694688f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6d9396d2-5d95-4046-b577-8e31b8ff3468" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9694688f7/0ce498a0641645aba44873f3315717c1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xJ6QECx4qJx96JxidFcB_fxB7tmWl0a_8dmbJA-wATjZ_pd1fi9BGSYZBJHRohsIHBDLLNJW8eqrZT9WNtdGH7fezmTJssbulYUh1r7Q-c-2kp4xxbgQrRTFE6oTa2ETijyMkdeh11fpV3EDw-jn39u1D_v_HjJmKiOOpTC0jM9I0mx1T9Mm4LuYSzdrVrj0VGAKkk6AVlnjHcaWs9PCQRmT9DDfUWs7P1fFhR8MNsVvakCwiMQalrnOzyt7EojO0id5v78VaX0bXsPtZazl6U-sCVoJNpIa4nbFNFDodz_c8wBgqPjSkJxC2NEEqNmyNHexX0yfGpA_DRTTBAHMWQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey914282b6e/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey9694688f7/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "250168b3-f70c-4120-809e-f45f3a00023e" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAubnB2UnFQQlJYS2lEbk9fc2IxZXNIV1JhOVVKVG9ZdnpzYjV3SmhxT3JqTFhrMnBzd0tUekhlUEt1YzlsbVdPdXUxaUJYUU42ZnJDckppeHdtM0lSZWNaUENCREF1dHcxSmdKWVNrX2VuMGZIUVdQNGEtNjNjaVBFUVBGYzdsLXpGeDNueFNYOHBFOHJDdlZqM3Y2bnM5d2NuUVpKQW83aXI5OUl5WUFBb3lOekNFZXhKb3paWk5SdktXWklkVFVJTFhIWm5EM3oyMnRmUlhDZ3dzQnVLc3VxVVpLb2Fqa0VsWFZxTW1TSkFHTkdSblo0Qng5VTZ1dXBVSV9SM2VyUVBXbllaMktiN19iMlpSRUpKS20xNVNqM0NUNkU3ay1ZeFk0X2dndXpNMmk0cllaWk81V0VQb3lxdTNYQ3BMUnp5aWhTdWZORXowQ3N1aWpjMDdURWZBLm5RbGxEaU5jZnpDc3pYdjRwcWctaWcuM3Q5Skg5MUdZTWctdEdMb2RHQTNNeVZ6a0YzcWZRQTZnazhCR3l6bjduNVNPUUt2cjQxSGtGWUxyako2YXBXLS1mWWx3OUdBakozem1YMVloaEpydkJ1OVBKY1FQbTl4RHBGM0toYXJBMDktMkd6OExNcU1UVDkySnFfaE9lcGwxX2VoSlFfU29HdDNlTWRhNDM4S21QNGJqNTI3Nk1Nb0I0SHFfNVVlOGlaaUpiaVRUOWZWNmlIZHNZRmpfeXI5WENTTFdOaWt6MGkta0E2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Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "12519", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "99314807-3798-4848-9f2b-def9c57d0d44", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuVlpDVXhRWTdHREt0YnEtYzNZX2tsVkp6RkRBZ3dyQkNFODFnNGpOYW5rOTlaUG8wSDRnMzc0WXdBVUhYV2M4dGZtMzBNVko5YUlxck95SFJvV0xkX045UktaSGtaZ2t2RkYtbmwzcndyVUgyUmkyWnBvOUpYczlsVUFzS3VtNkJNRjVjM3h5ZmVsRjRvN0lXa3dBaEVXVFctMWhHY3ZWejRhdTlNMFJmU3B3VTZXcDFCOHMyQ3p5aWRzaTZadWY1dkVnbUJEd3ZVTTJWN2FvNTVtTnE2M3N2Y0daNWktU3Rub0FiajZMMk1pd1JkTHZiVV9wMHVKQ2tuRWh4aWlBR1dERFBXZnZsUjA2M2NMa1VjSXRzYUI2SGlvR29NN2tiSndpN3ctVUplSWtwRkdYRmNJLTZiallHaEhVcWpaSGFGWWFTVUlNZ2N6T3lnbUlZeTlMSVlnLnZPNXhWamVfS2hUZ2M3eVp5Snk2NEEudmNzRFRNOUVNbkVodjItenpOUnRqbHlfTzYwQW1aRlBLbmdEaG1idTRlS1BvSjY2cGtmWGFzQU43eV9UY0c3VFJvaVdOMDJXOWpnZm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kVFUxX3VBbXBKUVpldXl0dXJHVG1WQTBJUnBTbFBsZ2dTWWZ5cDlCVVlkQjJtd2JteGpsWGlfXzZqc0lXbU8wLmxKWWZkbzJGd1liZ0lVTUpfYlotUkluQkR3M1ZjMFAydmNESFNzVXJXNEU\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey9694688f7?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d0ccac3e-6aae-4c07-b315-e82978dead1a" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey9694688f7", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9694688f7/0ce498a0641645aba44873f3315717c1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xJ6QECx4qJx96JxidFcB_fxB7tmWl0a_8dmbJA-wATjZ_pd1fi9BGSYZBJHRohsIHBDLLNJW8eqrZT9WNtdGH7fezmTJssbulYUh1r7Q-c-2kp4xxbgQrRTFE6oTa2ETijyMkdeh11fpV3EDw-jn39u1D_v_HjJmKiOOpTC0jM9I0mx1T9Mm4LuYSzdrVrj0VGAKkk6AVlnjHcaWs9PCQRmT9DDfUWs7P1fFhR8MNsVvakCwiMQalrnOzyt7EojO0id5v78VaX0bXsPtZazl6U-sCVoJNpIa4nbFNFDodz_c8wBgqPjSkJxC2NEEqNmyNHexX0yfGpA_DRTTBAHMWQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey914282b6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9694688f7?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ff8b7fa-3162-4e27-9d8a-31092d928860" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey9694688f7" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "88bd26ba-9ea3-49e2-a018-68e94955ea44", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey914282b6e\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey914282b6e/f29d5eb7e95644c6a205c8dcbf0a07c7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3Gnh8IVP1gjR1HRNZi5q6SI7sgbstYw5XS2tD5LhyUbQHM0mghp8InnCRxKtJBDN7VfeJyIJI-wuOM80TN0U08g5VcFnPfbzwRLGJ1dr_pqjoTnw9X8asF6FFJmZIPZz6JWMnIvMPQLd28DxvY9_3ts31GLolS2xGNEDwRHRlG2Ww4V3VNMQ2md7TAO3TQOJz8S5dPx4Rf05aSBZPpnwM-yF3e9v0yQ2djGLNJILAYXd9jKSDdidgXtB46Jpl_7eRh9G_beUPchezzp0RtvOuJFdUftl4RC46K-Nju7F2PHMwlcqdpn-FiAPTtPBFVXde_RbSYpWBRESmkMhhcIqFQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9694688f7?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "73084684-55ed-484d-9b28-860706441608" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey9694688f7", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9694688f7/0ce498a0641645aba44873f3315717c1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xJ6QECx4qJx96JxidFcB_fxB7tmWl0a_8dmbJA-wATjZ_pd1fi9BGSYZBJHRohsIHBDLLNJW8eqrZT9WNtdGH7fezmTJssbulYUh1r7Q-c-2kp4xxbgQrRTFE6oTa2ETijyMkdeh11fpV3EDw-jn39u1D_v_HjJmKiOOpTC0jM9I0mx1T9Mm4LuYSzdrVrj0VGAKkk6AVlnjHcaWs9PCQRmT9DDfUWs7P1fFhR8MNsVvakCwiMQalrnOzyt7EojO0id5v78VaX0bXsPtZazl6U-sCVoJNpIa4nbFNFDodz_c8wBgqPjSkJxC2NEEqNmyNHexX0yfGpA_DRTTBAHMWQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey914282b6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9694688f7?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bc373a04-c38f-49ef-928c-8ce188a640db" + }, + "ResponseBody": null }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2ce0432a-7d35-44ce-9b42-6bea813b4149", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey914282b6e\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey914282b6e/f29d5eb7e95644c6a205c8dcbf0a07c7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3Gnh8IVP1gjR1HRNZi5q6SI7sgbstYw5XS2tD5LhyUbQHM0mghp8InnCRxKtJBDN7VfeJyIJI-wuOM80TN0U08g5VcFnPfbzwRLGJ1dr_pqjoTnw9X8asF6FFJmZIPZz6JWMnIvMPQLd28DxvY9_3ts31GLolS2xGNEDwRHRlG2Ww4V3VNMQ2md7TAO3TQOJz8S5dPx4Rf05aSBZPpnwM-yF3e9v0yQ2djGLNJILAYXd9jKSDdidgXtB46Jpl_7eRh9G_beUPchezzp0RtvOuJFdUftl4RC46K-Nju7F2PHMwlcqdpn-FiAPTtPBFVXde_RbSYpWBRESmkMhhcIqFQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9694688f7?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "675fde03-9834-4af3-9b3d-1d1c8be34924" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey9694688f7" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey914282b6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "36d4f33c-d467-4f06-90c4-71363017a255", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey914282b6e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d0d57aa2-1b7f-48d7-a527-bc8581f2f101", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey914282b6e\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "45e8e757-2d76-48e6-94ca-625865d6386d", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey914282b6e/f29d5eb7e95644c6a205c8dcbf0a07c7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3Gnh8IVP1gjR1HRNZi5q6SI7sgbstYw5XS2tD5LhyUbQHM0mghp8InnCRxKtJBDN7VfeJyIJI-wuOM80TN0U08g5VcFnPfbzwRLGJ1dr_pqjoTnw9X8asF6FFJmZIPZz6JWMnIvMPQLd28DxvY9_3ts31GLolS2xGNEDwRHRlG2Ww4V3VNMQ2md7TAO3TQOJz8S5dPx4Rf05aSBZPpnwM-yF3e9v0yQ2djGLNJILAYXd9jKSDdidgXtB46Jpl_7eRh9G_beUPchezzp0RtvOuJFdUftl4RC46K-Nju7F2PHMwlcqdpn-FiAPTtPBFVXde_RbSYpWBRESmkMhhcIqFQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey914282b6e" ] + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "12519", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAubnB2UnFQQlJYS2lEbk9fc2IxZXNIV1JhOVVKVG9ZdnpzYjV3SmhxT3JqTFhrMnBzd0tUekhlUEt1YzlsbVdPdXUxaUJYUU42ZnJDckppeHdtM0lSZWNaUENCREF1dHcxSmdKWVNrX2VuMGZIUVdQNGEtNjNjaVBFUVBGYzdsLXpGeDNueFNYOHBFOHJDdlZqM3Y2bnM5d2NuUVpKQW83aXI5OUl5WUFBb3lOekNFZXhKb3paWk5SdktXWklkVFVJTFhIWm5EM3oyMnRmUlhDZ3dzQnVLc3VxVVpLb2Fqa0VsWFZxTW1TSkFHTkdSblo0Qng5VTZ1dXBVSV9SM2VyUVBXbllaMktiN19iMlpSRUpKS20xNVNqM0NUNkU3ay1ZeFk0X2dndXpNMmk0cllaWk81V0VQb3lxdTNYQ3BMUnp5aWhTdWZORXowQ3N1aWpjMDdURW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EN2tTaGprRHc3cVJBVUM3Y0RyU0lqWUs1bE8yQTdJbTJmQXNGdWNUTXpReVJnUEc3OXJYblZySF9pUEpKdktvd3liWlFvNEU5dXZlUmpfVWxPX0dKN28yR0p6SlE1bWRlR05QN0k0cGU5WjRiUXJJYXNJVk5WN1NseXlPc0FBLnQxZm90aUxYQ3hOaHpCRlg0MmdOaUJlZGRNczVxbFJ6cFkzS0JoTEJuRmc" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "af76f779-6a01-4c73-b4c0-62685bb963fe" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9694688f7/0ce498a0641645aba44873f3315717c1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xJ6QECx4qJx96JxidFcB_fxB7tmWl0a_8dmbJA-wATjZ_pd1fi9BGSYZBJHRohsIHBDLLNJW8eqrZT9WNtdGH7fezmTJssbulYUh1r7Q-c-2kp4xxbgQrRTFE6oTa2ETijyMkdeh11fpV3EDw-jn39u1D_v_HjJmKiOOpTC0jM9I0mx1T9Mm4LuYSzdrVrj0VGAKkk6AVlnjHcaWs9PCQRmT9DDfUWs7P1fFhR8MNsVvakCwiMQalrnOzyt7EojO0id5v78VaX0bXsPtZazl6U-sCVoJNpIa4nbFNFDodz_c8wBgqPjSkJxC2NEEqNmyNHexX0yfGpA_DRTTBAHMWQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey9694688f7" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.rotateKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.rotateKey[1].json index 9d1d3be32b057..84a6e5155a3f5 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.rotateKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.rotateKey[1].json @@ -1,53 +1,147 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey94479766/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey111498f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "77cac39e-10ad-4fdb-90c6-b6c941117698" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7d9fe6fa-96db-4bd9-a976-42cf698773b0", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey94479766/5377c45880954889a2498321d38b88a5\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ykMO3_BmRsVH7eUgf2oLwYcxfdx3jyWHlSKtmYZABZR8qgIMsVnJYdXSeRRWu55bi0GN8-MpO0wlHHG8LzQiBLikniA1E-X7FdoHTL-GyL3EI9JnrVQweUVP13U6SB64kMjlaeDm1TZrJ2pm2mP4rhCM6LLWAT0VaWqqZhQWDsQ_-Yc9WoKk2gajf8AHNjzGLNB_lKXYW6cJ8O5tmaxF-eOx3H6BcCg1zM5sVcZ9Swt5JGnr45Q06I4TlQCHurydEM-jdR3608oWrGJvSKYRvc8vPMtu535oH74ilycIZwnkSpYXb-KkFq25JdHeQbcOhUYYRkvkk4_ZBqvG-6-rPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954181,\"updated\":1678954181,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey111498f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3523fffb-8e80-4618-b923-a6852742dc6e" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey111498f7/4c0ccac784e04a34882ccd2f36d061f7", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "p52AFDk7xytEkTdz5tvO2tMrryfCaft5n356PXCHI5BZxvQAiWTWWmgSAOZTxzE3_GJLE84gyXphpMKBTUO8CreK8zsN7h29SjJvJnyj-zd-HmYoe-hBeXpkBSFPpZO5QiVAsZI7Jc9IQeVLbHuvBUQxRDSbj-wUoBz24d2Iz8Fk0lm8WlUGex5K5XrshoaEm-vkbncUALsZm-bMTwwQZiPN0hAT6NCLkwGs-qVG77Le8HtwSsx-j3wXoP861CAABXDvx7FWWWKj76Cru-5aGP_QQ_yZ6YzSOWOVvApXcfEmoduX3gVzymqsVGCxOFvvhHFZVFQxRfca2HNwnav5QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey94479766/rotate?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:41 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "887d2527-2719-4616-860c-47b0383bff81", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey94479766/4e4ce18dc0384c3387d47848304c6ca9\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vXUB6jSK9-7AXEJljkgc5zFW8AaRuHl3StTMAsHbYgwBil0xW5KexMYxrbV2SY6xrvIhaEduZe4uY_VqeJJmaKqlYjckmY29I_5AAEXwwyjzrokPUk1ehLYPXRel415z-nbhbvS1amnAW-gU2W-uSbsvhj04B4XI6eqi8LVV5hbtNAqaVozew166TkuIe6tghcqFAz4RDKIrC_DUBz75h50emwvA1vx-Vv9NU1xFwjFpawbnMeAYZWoCWcM9heLnzN3vbgnwhqNG54NcApwRqfbAfoh725i8igClJrx3OuIxY6R1GKN-qQmsjZ51DjYpVs1bngBvucnnEgrbUQf_0Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey94479766" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey111498f7/rotate?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aee7ed50-1103-4545-b3b3-8c9e8fe6f847" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey111498f7/2e18521f16d548adb1a027765c1f2680", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "5HMKwU4Iu5E4LDSPs6NNtDgsnOtisXqvlDKrkHwa7OP2-ySLX9MItV24mFLjJnuFZVONpcnrSJrGppZpAYIh1EWNzA23na5UkLZ2buwgLHOcpn5r9ErdkmyqtLl9JMUmxAD97VWV9xxZ8e8Y2v_0sAA6gxLqGx6L2qzK7SS91NjdZCsUq7TDbj9KtS93gVz1M8cSTwGfl1e6zisCk3LBlbx-PViMMvEOVVn6Fe6DKpxh3OTDETwDrwOeNFwAdCGKKPniG7t1wuXmaHBm2ZcYarRE763AVAljIZekofPJdvEBFZy6NjvejnCoRGwgcXEd4U1AYiVKcdN1n2Awb8aeOQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "rotatekey111498f7" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateDisabledKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateDisabledKey[1].json index a65eb091d8497..4fd9bffa4cce5 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateDisabledKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateDisabledKey[1].json @@ -1,54 +1,155 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey226420fce/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey284288686/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bf4019ed-a416-4541-b8f7-25c13b14493f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "446", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "68260f52-5841-4461-89b7-bb5a69743aa5", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey226420fce/5a4175db2f934d068e7326f6f153b0f4\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"sIEN6GfCxBTIBLOKb9fqAjQDAfGBwmVRfFla7BdQ7pg\",\"y\":\"MELqHwQZrnppZ6KC5DtnY6zY46PqHr26bzPG1u4gz58\"},\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954213,\"updated\":1678954213,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey284288686/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "EC", + "attributes": { + "enabled": false, + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "444", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6931d6bf-3075-4c1e-b412-998830aca367" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey284288686/ac6916c7a4744fe7adfbda76f1455387", + "kty": "EC", + "key_ops": [ + "sign", + "verify" + ], + "crv": "P-256", + "x": "oPZgMTyGXb1cSvR4n2nTmNBRfd_gVFwtgJJSE95JqeU", + "y": "yxmVpUYn--PIWrOV0YQTswYH3koko7Kpz2hSkS7XoRM" + }, + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey226420fce/5a4175db2f934d068e7326f6f153b0f4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "446", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "753b925d-50bb-46c7-b3e8-923f8d040020", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey226420fce/5a4175db2f934d068e7326f6f153b0f4\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"sIEN6GfCxBTIBLOKb9fqAjQDAfGBwmVRfFla7BdQ7pg\",\"y\":\"MELqHwQZrnppZ6KC5DtnY6zY46PqHr26bzPG1u4gz58\"},\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678954213,\"updated\":1678954214,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey226420fce" ] + { + "RequestUri": "https://REDACTED/keys/testkey284288686/ac6916c7a4744fe7adfbda76f1455387?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "88", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": false, + "exp": 2852668800, + "exportable": false + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "444", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8fa91a0-a6d6-48cb-b005-9c3a95c32993" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey284288686/ac6916c7a4744fe7adfbda76f1455387", + "kty": "EC", + "key_ops": [ + "sign", + "verify" + ], + "crv": "P-256", + "x": "oPZgMTyGXb1cSvR4n2nTmNBRfd_gVFwtgJJSE95JqeU", + "y": "yxmVpUYn--PIWrOV0YQTswYH3koko7Kpz2hSkS7XoRM" + }, + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey284288686" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json index fddf3d48adc50..e7417caa84180 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json @@ -1,78 +1,224 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey467304a1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey8567757a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "efb012ba-c72e-43d4-9af4-83148a1c18aa" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "145a47cf-2de3-413b-bf3f-a7a38d0a04df", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey467304a1/9aa3984b76f84c2caa9446f55e9c6e47\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vMYz8KgIjv-Qc7hqa8IeHWwCRBxXs1WUq7H0LW1FDivOmeaGnfuOv2mYsjjqR-ZukjYy2B4aFpjajdoPShOniG1bzjsD_D5IPJ5jvonYlC25h0xDAQKoi0hOsWPRgDhADmOVR3mEh_BqcrpKpQlKVqJ-FqpPJUzVvDbyR6NKVfVwrS6fyB7FbL4HiELpFYD7JgbxO2J69g7mgQKWY4EUWmMQJvtoWQcTYRBJJg-c-_KS7V2D29kwe5r_t-Zc8nI7nYJPkScNN0VViV4FnlxrE7IGIrS5xOisvYEXF8CMKvIZE9-HK1BrOGUjaGDnZ44wYmOhihx8IBGPUCpGS1WD4Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678957012,\"updated\":1678957012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey8567757a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4e9b7e27-73b2-4d4d-b5ec-399af387c84c" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey8567757a/1767743d857a43ab9ba6c5ca88476c3e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "qhk-sWGWT8-U9vnuLfJXZQDigkOfkkqmLRsGwJyV9kE6pT2RjqmT3GAvAoPyN3tZhEm0skI083hsz2qasOZiWgyENfGF3GQMDR6uRtpkIGDl8KzkYGmU4VdhdfIBXhl4kja1_A7qSpernJNJwppLLLkIT2_4MX4r63QLljwa-Wnfw9VvxzFI_yYQWR6wmdfiMGeU3P9k6DM53l3PIlYcupkDKdYJsTq8P-1wEdJfjqH4W_7gIDvtBUry2qqPpOyh94OZuMSA1UVgNIvO_5d1qwCWaZ_PypdtH-bwOJN6OspvzBOg4ta_slncm479Vxxy7WI6db4MvPDj-2ihVSDL5Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey467304a1/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/rotatekey8567757a/rotationpolicy?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "186", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "notify" + } + } + ], + "attributes": { + "expiryTime": "P6M" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "313", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3f254aba-37d2-430b-80b4-992fd4fb12a4" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/keys/rotatekey8567757a/rotationpolicy", + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "Rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": { + "expiryTime": "P6M", + "created": 1681269677, + "updated": 1681269677 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "315", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e38c8608-ae1d-4df8-b81a-c241f41e6325", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey467304a1/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeAfterCreate\":\"P7D\"},\"action\":{\"type\":\"Rotate\"}},{\"trigger\":{\"timeBeforeExpiry\":\"P7D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"expiryTime\":\"P6M\",\"created\":1678957012,\"updated\":1678957012}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey467304a1/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "315", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8d79d49c-eda5-41d1-8779-e9e27a2df0f4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey467304a1/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeAfterCreate\":\"P7D\"},\"action\":{\"type\":\"Rotate\"}},{\"trigger\":{\"timeBeforeExpiry\":\"P7D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"expiryTime\":\"P6M\",\"created\":1678957012,\"updated\":1678957012}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey467304a1" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey8567757a/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "313", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c1aa98f9-d34d-4a2e-ac03-cacb6e4f65ef" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/keys/rotatekey8567757a/rotationpolicy", + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "Rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": { + "expiryTime": "P6M", + "created": 1681269677, + "updated": 1681269677 + } + } + } + ], + "Variables": { + "0": "rotatekey8567757a" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json deleted file mode 100644 index 32f813705361a..0000000000000 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey81189181/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8d30e300-9b88-4a9f-8b2b-dd2318d1c385", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey81189181/8254f56c5fe14f8bb4444612aa6e8c91\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rlWcTfDL0qTIPub6CKSDfctY2qAKTacR8fabh6SByTxYSk_ZWsD_GwFLtQLjoP5qlIPe5ln2DbLmz-P_ej-hPFJhsmqfe4bMQposEdvmF_P2APUmKLavEktQp7j8lHxL4CScM1296Xdcm8g8uAr5phKIkA4BplyvSZgqMN_Q0l871PqkPjqqMCKoILafvK8bZ-7zM3ddwpNVrocjp9__D4vaeuMY-zn5Q00-qT5e9esFeK94V0LpS0ndz_YwwJxwTPTgsapM8I8uWob4MNzq6Mk1HQ94I5RqOFQcnt_mZEUi-1K79uCHOZksPbeLvLIpA-bFrmIzfCNqhNGkCzfUeQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678957003,\"updated\":1678957003,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey81189181/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "232", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "caafe98a-018b-43ee-8131-a5ef57cfc43e", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey81189181/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"created\":1678957003,\"updated\":1678957003}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey81189181/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "232", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9f8a36ee-8275-400f-8c50-a037e4b480a4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey81189181/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"created\":1678957003,\"updated\":1678957003}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey81189181" ] -} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateKey[1].json index a1db11ffa6d8d..6f9e1eadf7bfa 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyAsyncClientTest.updateKey[1].json @@ -1,54 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey1348238e1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey100076e94/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "10651c7c-c2be-4b17-9037-097955d62b3c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "797", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ca6b20b5-59c9-4785-a0f8-b286aef480e1", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1348238e1/3696b964ce73444886b6ef50f095a255\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uk3YGHF65r19L_5A77cTQVt4JGEw1xRyiZRU418LoQ9G9KaqU10rH3J__lU1dIW-YXoaiC_WigMdV5VgAyG8H6lWVVVZZMMlYJtWLLAUebtNPAAwjOh-f9vWKAtVyICtw3X5Ggn_-XtZFS2tgQa2a48Auy5NJS-_frTZgRqjyC7CH-hbetDg29TQgXdH8MR-jSQVKH7HdBJ_oVynyVZP1DuX_lomAit1WGZ_0KIoDBtEt4viRf9TgEJrbislL7c8qb6Bv1JEB532XJbaDyRXkrjNmbuaFB01qNbVLaTUW109dqUQ1hug7fqWVdz9UC60gw2kAivPFYv_NRAwXz7YBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey100076e94/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "128", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "795", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c79c7e1d-f11a-4122-81ae-97d5f53c1665" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey100076e94/ca420b8318cc4cf4a512b5145246e2ad", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "8aNEB8U81mzy0EByOimEhjiSxKjc0Q_Sdd38hYO-t1rKUXTvtE01SJfMFKGMnJESR6X-tjnm9MJaVtboKrlsQvC_6XZ-FQbI6lJi01bWtni-LRxk9skIuiPt6xCfWRNYpaAabav6zAibaDm0mdo5F1CDkJQbgjr1w_g2svQrDxOTRl-SJlxIcMsee7jmu22PpuYBXg28b2-JtIPuMZOGXW4cyI_Qe7jsSwwIK9e7sRy3rtruJLoRqjOMZsDcOg6kQtmcIBlgBpg8A5TyQuoLb7Au7sZ_MqRatKj-pbNB_ME4a2_v6cAfM1MxAKmr4da51vmu1lTsqJY73f8Pr9vlBQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey1348238e1/3696b964ce73444886b6ef50f095a255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "797", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "53b47233-00ba-4d27-b3c8-0e4c706ec047", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1348238e1/3696b964ce73444886b6ef50f095a255\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uk3YGHF65r19L_5A77cTQVt4JGEw1xRyiZRU418LoQ9G9KaqU10rH3J__lU1dIW-YXoaiC_WigMdV5VgAyG8H6lWVVVZZMMlYJtWLLAUebtNPAAwjOh-f9vWKAtVyICtw3X5Ggn_-XtZFS2tgQa2a48Auy5NJS-_frTZgRqjyC7CH-hbetDg29TQgXdH8MR-jSQVKH7HdBJ_oVynyVZP1DuX_lomAit1WGZ_0KIoDBtEt4viRf9TgEJrbislL7c8qb6Bv1JEB532XJbaDyRXkrjNmbuaFB01qNbVLaTUW109dqUQ1hug7fqWVdz9UC60gw2kAivPFYv_NRAwXz7YBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey1348238e1" ] + { + "RequestUri": "https://REDACTED/keys/testkey100076e94/ca420b8318cc4cf4a512b5145246e2ad?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "150", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": true, + "exp": 2852668800, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "795", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4162f123-02be-41e6-bf70-9e5f14c2a62a" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey100076e94/ca420b8318cc4cf4a512b5145246e2ad", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "8aNEB8U81mzy0EByOimEhjiSxKjc0Q_Sdd38hYO-t1rKUXTvtE01SJfMFKGMnJESR6X-tjnm9MJaVtboKrlsQvC_6XZ-FQbI6lJi01bWtni-LRxk9skIuiPt6xCfWRNYpaAabav6zAibaDm0mdo5F1CDkJQbgjr1w_g2svQrDxOTRl-SJlxIcMsee7jmu22PpuYBXg28b2-JtIPuMZOGXW4cyI_Qe7jsSwwIK9e7sRy3rtruJLoRqjOMZsDcOg6kQtmcIBlgBpg8A5TyQuoLb7Au7sZ_MqRatKj-pbNB_ME4a2_v6cAfM1MxAKmr4da51vmu1lTsqJY73f8Pr9vlBQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } + } + ], + "Variables": { + "0": "testkey100076e94" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithDefaultSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithDefaultSize[1].json index 6ec2330c68b53..77b59237780d6 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithDefaultSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithDefaultSize[1].json @@ -1,28 +1,98 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey777033b/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey575002b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc805722-d8e0-11ed-a717-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "436", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "218", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "341c74f4-c3d4-11ed-ae04-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955169,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955169},\"key\":{\"key_ops\":[\"deriveKey\",\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testoctkey777033b/8be009b6c16f4ae3066819548feb3573\",\"kty\":\"oct-HSM\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey777033b" ] + { + "RequestUri": "https://REDACTED/keys/testoctkey575002b/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "106", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "434", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bcaba878-d8e0-11ed-a717-0022488d0014", + "x-ms-server-latency": "167" + }, + "ResponseBody": { + "attributes": { + "created": 1681269526, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269526 + }, + "key": { + "key_ops": [ + "deriveKey", + "wrapKey", + "verify", + "sign", + "unwrapKey", + "encrypt", + "decrypt" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testoctkey575002b/87093488ea9b080d338ec0f6a29e8092", + "kty": "oct-HSM" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testoctkey575002b" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithInvalidSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithInvalidSize[1].json index 15320108efcaa..eb92efb73df6b 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithInvalidSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithInvalidSize[1].json @@ -1,26 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey774365a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey99092f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc6d7b5c-d8e0-11ed-a30d-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "120", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-frame-options" : "SAMEORIGIN", - "content-type" : "application/json; charset=utf-8", - "retry-after" : "0", - "cache-control" : "no-cache", - "StatusCode" : "400", - "x-ms-request-id" : "3468aaae-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Invalid key size: '64' (Activity ID: 3468aaae-c3d4-11ed-9dfb-000d3a612dea)\"}}", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-server-latency" : "16" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey774365a" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/testoctkey99092f7/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "120", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "key_size": 64, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "120", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc9628c2-d8e0-11ed-a717-0022488d0014", + "x-ms-server-latency": "15" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Invalid key size: \u002764\u0027 (Activity ID: bc9628c2-d8e0-11ed-a717-0022488d0014)" + } + } + } + ], + "Variables": { + "0": "testoctkey99092f7" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithValidSize[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithValidSize[1].json index 92b45f859b3b3..b0273ba8b71cb 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithValidSize[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createOctKeyWithValidSize[1].json @@ -1,28 +1,99 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testoctkey2826415/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testoctkey19160b5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc01873a-d8e0-11ed-812a-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "436", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "207", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3321268a-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"key_ops\":[\"deriveKey\",\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testoctkey2826415/2f36ce077fb84effadf0754f5a753474\",\"kty\":\"oct-HSM\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testoctkey2826415" ] + { + "RequestUri": "https://REDACTED/keys/testoctkey19160b5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "121", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "oct-HSM", + "key_size": 256, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "434", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bc30cb8a-d8e0-11ed-9768-000d3a612dea", + "x-ms-server-latency": "133" + }, + "ResponseBody": { + "attributes": { + "created": 1681269526, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269526 + }, + "key": { + "key_ops": [ + "deriveKey", + "wrapKey", + "verify", + "sign", + "unwrapKey", + "encrypt", + "decrypt" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testoctkey19160b5/cc80410776f309b59d5ad89b760f3f09", + "kty": "oct-HSM" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testoctkey19160b5" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json index d35bf37dbad83..3139d0a42049c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKeyWithPublicExponent[1].json @@ -1,28 +1,100 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/testrsakey908871d/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testrsakey1860684/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "bc5be248-d8e0-11ed-b9d0-0022488d0014", + "x-ms-server-latency": "0" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "782", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "774", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3366a64c-c3d4-11ed-ae04-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955168,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955168},\"key\":{\"e\":\"Aw\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/testrsakey908871d/9145e6bc26824c23a348444e1ded5a06\",\"kty\":\"RSA-HSM\",\"n\":\"qfWoi7IBi_B4ORIYYj5qUHS5TQ-c1nwaCb1rLzQKWb4McKYYjNSJSCjg0bjhy5kyjMZzZw-gzLaFGVauzDRQdOEU0ORkUHdlYAoSbUMVOEf3HP06Pd3coTf5McALfCuJjlkPe13SrGcmyMH6rXdbS15kW6arzzaas7ZRbBrifgfM81t1T3r7FJQbF1FFbfuBSkghxw8-boiFzY91pCtmjMa8_y5jX5dWH4XbgAADzSTTyLpkJ2Lwh-DUO78qrqaELfMs2rO1aYRk1y9uhVQ6fzjRuNM6jsaAJ7yqwPeOco36g85fCjJc4ByL3025xyorwNAw-acSo85HaF7_vuEr2w\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "testrsakey908871d" ] + { + "RequestUri": "https://REDACTED/keys/testrsakey1860684/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "122", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA-HSM", + "key_size": 2048, + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 3 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "780", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bc74ad1e-d8e0-11ed-b9d0-0022488d0014", + "x-ms-server-latency": "2029" + }, + "ResponseBody": { + "attributes": { + "created": 1681269526, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269526 + }, + "key": { + "e": "Aw", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/testrsakey1860684/a707c7695b444277916f509a9ffa806f", + "kty": "RSA-HSM", + "n": "tNmP-_5iaLKo5Au2zlpZxDSNDQkng6PV4ywivh3Za2uiIQzzUROvO7pzj9myRtnkcxYqo7wqufapCo8peiTOk7vFUNGEWt5JPVg5-wCY3UWVeUvbYxHNd8MjXeiUl9T-TxIa3ujFzhOlOFH7MKaxgk6V-Y5KEC01J7b8QLkJiLFjL0yBuaA3FxL0xkK8S26etKo1GullNdNkgm2uFKqsKPwJjpvKNLiTSzNMI1m4I74a_LEww1EUXx4msXlnKfpxvu7MabZ019sIr74kQUFaV8YCTJhUh2OdZogCHu6p3GB3JvrpIfUQAsuzw85F_KZKmqkKbeT8e4e65yBcuc01IQ" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "testrsakey1860684" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKey[1].json index 5d8c0ff8a555f..e0f4e61b53319 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.createRsaKey[1].json @@ -1,28 +1,99 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/javakeytemp12123bc/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp566000f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "ba84dd30-d8e0-11ed-bcea-0022488d0014", + "x-ms-server-latency": "26" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "785", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "304", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "32c7da6c-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exp\":2527113600,\"exportable\":false,\"nbf\":949237199,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/javakeytemp12123bc/9b92ea753a404db004d65d135fe974ca\",\"kty\":\"RSA-HSM\",\"n\":\"j59Yp9hEvuUvZVzXmrTeqJ-A42-5HljJVsl6TnS7DuaS2MNMdlkJR-fPzQ5ZcRMAUpY9oIyVkFI7O6OyOHBJ8hz7EQOUZB4rHuKsPHWZuZGaaJUVj4p-xn7VqhJ0p1naJW4FwtweyLYaAXJGgbOdeHWnkgGyMFd36NXZ5lmxoVl8Z1MSSy3ATuR5T0lxBhcGGIhJuAAcye-nw_Dt9PiHYqw3BQKfolltiNS0GegJ3MEzTQtqTZZfqAk4Itj24q-lWRhpB5b1vqEHo_32100V-5CRiaTKIKyLv3I71vj7M38bigGkspYEGydRFm6XaYqzksrUAHtvLjgaTiG4jiwTWw\"},\"tags\":{\"foo\":\"baz\"}}" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp12123bc" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp566000f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "106", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA-HSM", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "783", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "bb6ee308-d8e0-11ed-812a-0022488d0014", + "x-ms-server-latency": "810" + }, + "ResponseBody": { + "attributes": { + "created": 1681269524, + "enabled": true, + "exp": 2527113600, + "exportable": false, + "nbf": 949237199, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269524 + }, + "key": { + "e": "AQAB", + "key_ops": [ + "wrapKey", + "decrypt", + "encrypt", + "unwrapKey", + "sign", + "verify" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/javakeytemp566000f/9ed230a1d9e743d5012f0074295eb2d9", + "kty": "RSA-HSM", + "n": "-DGqTq-tXknTqXEyMqysDkG2sFSqnhWqVyi4ZxzltBPkk6Vm5wH__3G-yAVrNx0_GR8ojZYbypz5zTyozyam9XIs6LFbX1uBmwT4x3JKPA12bbEDRQblJcGb3a7KOFVNa-orXhbQmRyo6rWyNGpliG71gijY60_1SZcwcQX0PP4pc43dhoxFRK759MWZmQ08W4WjROOoYTpjFjGpZcO_BBuqhc2DpPfLtTLCZqdWsLaqeApLj0g7fgdQ4LfRJQ30tG1ZI7xXmVCtoH3Fq_iFmcH7f-y_AQcCRXbgWlaCjIG_75oPpCKpuLGCGYXP8PRaHRcnZGYGINeQ9GgCRhbKdw" + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp566000f" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.getRandomBytes[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.getRandomBytes[1].json index 4068c4c98c723..85064c0b849e5 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.getRandomBytes[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.getRandomBytes[1].json @@ -1,28 +1,61 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/rng?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/rng?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "b0fb6e52-d8e3-11ed-a717-0022488d0014", + "x-ms-server-latency": "2" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "28", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33f9e0a6-c3d4-11ed-ae04-000d3a612dea", - "Body" : "{\"value\":\"E9xZ7uekwnK95xWL\"}" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/rng?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "12", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "count": 12 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "b1b3f562-d8e3-11ed-a717-0022488d0014", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "value": "qmKqXe0oMmZk7jR_" + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.releaseKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.releaseKey[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.releaseKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientManagedHsmTest.releaseKey[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKeyNotFound[1].json index a1c1911c8e379..995c528d254ac 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "18f79a52-abd8-4532-abb4-41587a57d673" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f4406321-15b5-461b-9ee1-abe890eb866e", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "142ef0b4-61a6-4fa2-9da9-f4b1c0bc08f0" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKey[1].json index 62da9bf8a5835..e79b608817b86 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.backupKey[1].json @@ -1,54 +1,131 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey82814659e/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey8688021a6/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ac1cad43-3333-457d-aa3a-12123734762c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "025b1f13-89fc-4dd7-afd2-8755206ca4ef", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey82814659e/f6a5a9fd3ec340a0ab87b34ed9d93a4d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yReRVk-AR6vCZWYu-gG5D8Pwx2rHTlueIBZiqIUL-ZfaIOBl_jHNNl0d6ohDcIRGSCOJoeOmcF8xsbm6XUquWN1JPVjFm0ksNbRLQrN7KlSC1UhbqhP4kVC-6-8RNeeizfOksVBMrf-q_QztYiNFUUYuIDPyBvpB4zorXvF0gTete1qlyomvW0E83cuZ1bwqwA7eQpZiOnf3iXbkGv1w_ERH2fCdIVfRp8Oi2POhJx-HhY8epIApw4fleSuXqLRqFzRa0aInqRuXRSypAPhni-BCudISs6PyDb4XNRIpIxAIVRdKUD3LDNDXulseGyQzSu51MSBixhNxd5xVMQMYhQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954202,\"updated\":1678954202,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey8688021a6/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6a971d6e-34c3-415f-8d20-be2789b9918f" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey8688021a6/ec55c4ec1acc456293ae4bd1f8f38f4c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "4Df8_hOeYwvQHUWBcRxWvvGibPKBisH4wUPQ4nG4vavU8Swajp8Llv__jGlzfvY1EjEi2DO8tpVaaRlEPja7V6VeIffrlllYB0F7W5dObRCh4Y5ygWgHATlZX0hV71TcdjUN8uip66HamW4MS1N9e147eYPvive23FccHK7og9FeibPhVbsuYXg3ReMPhfJeYqRmZrfh157kXY80DbtjO-uN8-KhnCngS88ucXzcB3uj2eRHhhy5QdH7yMd0ugD_MOcgmvpZQSZ2dysOgGeT8wp3TLUzmOHepGSrNXdOgHuAoZjhxBHFI8YZCOqeYKL_EtFXBqlVxapp51Ve1iU6GQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey82814659e/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:02 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "12519", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "285476c4-955e-4480-970e-b8ac68057b9b", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuRVFXRVpURFEyTVFWODFiUHp5cTVoM2xjM0MzeVNEYU5nTGJDeUluV1cycVp0d1BYOFlESlFmNWJyZ3R5RUFVNDBxVjhSb3BhdUh2UUhDZ0xsNTZsVnFGWWpQZUk3SFVyTEdyLVhtTHdWQ21iNklaR09JcG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HZMQVZfeG1MU01xM0ZleTZ6a3V5UWlaOUE1RC1EYlFDMkMwd3EzcDh4N3RmdWFxWlhoR2ZCWHY1a1VEMVRldHZZNFgzRDVKUzA0VzhHUEpPbl8wTmFuczdOdTZOeWw2LXlGNzZCejJsTHd1c1djT0tOaXlNVlM1b1hQcnJnalZGZ2tJc1haM3FJdXdOakJkZW1HbEIwN1A0NzhhM0lpZ21TcGhSN3JyVWpZaGNZQUU2ZDRTNXVGcjJaQ0tuU2d0RFNsQk5zdjU0VS0zYXN2UHNDaWFzd3BJSDE0cU9FSEtER3hzZHpIOG0yVjBhbkVQVUxUZ09nR0djNkpCVmJ5UG1CNlNuRXQwZEFuWFF5eVhQYmJiNVNkU0VPTGgwR3BnbXVSYnFWd1BGT0ZKZFBGX0ZGOVB6dGlWY1lFMHlvbUpJWHVlSTJ1MmxqcUZadEYyWkxXM2Y2SUFPMlpUQ3l2WExjRGJrckl1MHZhVlN2VHV4V1FxcXZOUHVQNWlqNGpmcE11cmttVDFSYlhJLnVsLUltVF9qN0tmcFl5bDY5QnBuX3lsZnp3RWJ0aTlUUWJ5UDVaSGw3cnM\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey82814659e" ] + { + "RequestUri": "https://REDACTED/keys/testkey8688021a6/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6ba8a7d3-6f1a-413b-bc7d-77958c1d9759" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuWi1VSnBKcF9rQkw0Q1JOSDVpVWpycWRtRmxwR0Fmcl8zd1JXQzRvUjg2dy1GazRaQjJvTW16cTh4ZHRRTlVOM203cTVHdmszU2dseUV2enBwR0dBSEVMN0tNZ3JIREdPczJfQ01iUnpzSlZTcUxDRjZ1QUdmOVVaRE9OU3JZSUhBYXNhOHBKY0E0Yk5nLUVza2pRTHNhLUNFcklaQklsWVZESmJiRVZ6T0cwNGZxaGJ2MnktZmw2OThzbnlYcnRYWWpjc01kQUlsYldRWmQwQ3AzSVNPWWRqOVJXWTg0T21xYmUydlNNc1VwMHVISl9LRmI0M3NOdlRfM3NqLVVzNXhNZ2tyMldEQnI0QUc5TUZ4Ny1NNGo0NldOblhVMUFxZFAwOG1Hb3llVnh0eElMX0FybVFEWFhGakk4UWJSQ0Q0VlpZbUhDNHVyU1o4Z0daOTRSR2d3LmF3MTZHRkdyZEZVMENTMEl3SE5fQ3cuWmFEUHc4cVNwOE5QbElIWUk4TnpzWGItTVBaeXNTSkJHZldEWDU4Q1VfZTA2dFM3a2l2T1hGZzc1WDZlN2hrQkFQZkNKTlRya2w4ekNyNTEtaHJqek1JejdzdWdrRkRJODNyelBhZmtmQWs3cjd4Ym1wY19WV2RPSlhRZk9RQWZtQUdpa3p0N1RINkVGYzJmd1BKd055RXp3VjlWbXNKUkQ4WUZ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VjNra0VCdHptN28" + } + } + ], + "Variables": { + "0": "testkey8688021a6" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyEmptyName[1].json index 0c385905469bd..82359a931c57b 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyEmptyName[1].json @@ -1,29 +1,77 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys//create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "940471f6-fdfa-422d-af84-8aad8f65c00c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "69", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0224a09a-1dc7-4e1c-ba77-4b7ab1ebfa4f", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Operation not specified\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys//create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "69", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ef467556-85bf-47bb-a370-fc666fe8349b" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Operation not specified" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNullType[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNullType[1].json index 40961a29e899a..463cc7aac9783 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNullType[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNullType[1].json @@ -1,29 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javaKeyTemp/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javaKeyTemp/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f7eedacb-f0b5-42c3-bc65-164e42ae3b17" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "108", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c9ee7484-b45e-472d-ba4c-36e3c1520e11", - "Body" : "{\"error\":{\"code\":\"BadParameter\",\"message\":\"Property has invalid value\\r\\nProperty has invalid value\\r\\n\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/javaKeyTemp/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "37", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "108", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "703421a1-bb79-4c43-9c35-786fd270e00e" + }, + "ResponseBody": { + "error": { + "code": "BadParameter", + "message": "Property has invalid value\r\nProperty has invalid value\r\n" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNull[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyWithMultipleTenants[1].json index 6fce85ee17c88..d7191755bbf05 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKeyWithMultipleTenants[1].json @@ -1,54 +1,177 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp8271870/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp657262d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "320d55dd-88f3-4e9f-88ca-ff650383a08d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6b364e19-2f16-4b99-97e1-90afe802217f", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp8271870/47d802bd512c4ab8a6519ed570a4b0a0\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"96tDHEO3X7qwdmg954GtPImzHFMhqwZBK59CGw6FjuKgyIHTd_AMFB0NSJ3ORu2ScsMxsMtzMHpXssyW-y4wjpao8o3BvlmZppyGtGToy1I0_GvbBBlFYsLQdz-lGwTskCYP-OrsCX8K4mxva-cO0m38HwQy8qnzp-yTxuSTtkG6GN996d2kKWQ29T55MEJJan3SN3eiaOneDc5QIoD2iJ9I6V_yYBfABwlq8EVNgf_1eCvsFtwX-lm9Qfr4oa-roD3VPnX9HFGjGsNU39ls4O4d_xtmq26XFvfCZwRWsTfvLmOudXY504-_2D72TcbY0PU-uLHpD_clJeRdAI0fQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/javakeytemp657262d/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cc704e9e-f9ad-437f-aefc-f13f9967ca96" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp657262d/d6e06708a27940418ed1aa8f6aea719c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xkgj76G2LvihYimv68e_b6jx0VLYrVZ70AiLj3R90FuIUvK655awRZYGpAAj7wmRMI7q1MyuXvoYSkf5CgyADqG5Dzzg40oMTslLrGX1vijOfNoZ0Y9r8ihNUMoDFnrN-RUYtHBnROScClcfUeF_aZcmNkx-jeP0zMUAmfDOlJ_WFWturNZBGjiNr94S5Acziz7OJJtvVT3z_Co4wcc1ojYeWBt8YnxeR0cwclZVlSfUPuuBxMCn0BQQaSgZZJrsRmHCM9qmnOiNvXTcWVyGWr5_Lg9ZYgIvlBxTMX4UuEs6m_PhvObkI5tZ-WOJovWR00tm97_9Id03kowwcj8ZwQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp0351650/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b838c40e-8469-4d67-9f15-3cf44abf19e3", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0351650/7f2ca3bf567b44f4815cb5cd7e7916cd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-e97_Gc6xIN8kwrLfeazbAaWRw4zIox2Mb3eBGg8bK1f-2xQJq_-pMnxNbvhiWWkJhjGfUSrPkBjO2ZAwbGfdrKjHm9t1_SAhmlv2SYyct2wm2qGyQTV3krAvZxALAdTnQZzKO1OANhbHNJvEB_tM5TY_PNz4zA8rPf3WhhtqbWyNKteejhcYCtEnKC7_giq6Y5AKi8SEDDmXmKwMiUMJL6aVID486JQmIhoziq1hei7ADPYpUlvD9Jpm1dy9zfXsJrfIg6IxF0YDOC1nBxKmMEAp0BFCR4Yl2YPpo18drTa_8xfFyrrM9i6PEDygFL9JV-U4Ej9Iip8AgL1vFgbaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "3c7e2a81-e354-4151-a6d8-54f46134dbca", "javakeytemp8271870", "javakeytemp0351650" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp19980ab/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "17636a6a-3cbc-4a93-b33e-367eb09dcd2c" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp19980ab/735f33fe6918486fa788936cc427720e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xo61fs69b5F-LLxVt7oGmqzpPPoK9U42_uAeg8cmUG1juJHDLuql8wo3KMqNZIm_YzA2hYSCrkQ8ppak9DYJPTHUDEZisCFCHzS3egeSV-bnZuMlY0Uxregazz8SrCjLrBrdvSTPX-wXCCQdWmumExE3H6_Y_lEz8Vrlk0yU9WjKDlYD0kaHmVWxN_gvv9hlO0zmKoacM0f9aiV11ZbqLTUVVRLZlNgV5jjweNIHvfZhcLP_cR36Tq-MjSYjKefG4w7bM8dPHhUhsR2xFDSjwze1diywVUNaEBmeXWgOb9UwVaFJ-BgP3HDh25XI4zCVHnUwvCBi23d8uy8wU7VttQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "bf530acb-3a13-4c8d-b830-866e49d46908", + "1": "javakeytemp657262d", + "2": "javakeytemp19980ab" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKey[1].json index 39971cbd3649a..523c8cc9a3b75 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createKey[1].json @@ -1,29 +1,108 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp0444800/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp46933d1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "768dd169-16e4-4066-904f-880e054b0809" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "89041032-0d4a-4008-a79e-5c536518e67b", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0444800/c66668274d8d48f3a9066cfba71eebfe\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"umsdr0HhHw9HyoQRMK-Vgn6GtfH7a7fVL_1ek5WOhG4D2BXAyXgNhpt3s1JAnXShv806Ws_nD1bHisPO9XG1T58wJ-lnKKyAWcebSGOPrqK5SNlnV_vagIjnGW9N3aDm9PuvR_QzahI1mO4U5XHu2VS-6Yr-ZFKL0uY6DX0jx4YOK5ViJL7hw1OiVRySeZv8aX74HjU8M1kK-aeA_4zaeRufB9l4d-UWS1OT8z2dmUndmq0qR940VUe6OAC1pYRYwurIoQgNnNRJiHQa31zOn6tSNNsswVoDkkraY_xOU9QQCouUKLOY5tkOUXTNXXIlouBWB4TLvFlBNlFrc6c0hQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp0444800" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp46933d1/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3865bff8-2e11-4660-b29a-2bfba100ee7d" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp46933d1/ee6b034c8c874215a50f8f7d07423221", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "yR4TWsXYz-GQvR4bJPyd4Xsydj6Hs1Eug-dWdIZ7ZMGF543riTOIgjkhoRAI02ArLG34pdjRcm6p906n8AcLWLp-D98Mcy0wsJQ2yKsgDHIA4WGg8sQTsRvQXpMdVJ2GWNWc0_S3EiBkoExM0GWhgfRiMfXGu8M-o048HN1vrzA4dSziHuK75tB_LjImSSZcogXw5Kc_zjtEivl3LrUeNqaf7iRRnlUQb7FeesKS9lSUfQwKfX7j-vGwKE9TYHqo_q1XHvpBd-BVBQqyqov30iVP-ulcUsDeqPw2zox4TmzSnhqJ21hmAFxJH5g2Wwqv6eWfeBgHJGaYjcnIl_2myQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp46933d1" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createRsaKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createRsaKey[1].json index c900963a4c139..d497ac0592742 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createRsaKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.createRsaKey[1].json @@ -1,29 +1,108 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp40102fa/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp2897450/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0e9ae02-ec2c-4f94-883e-4f916a8356d8" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e92bd887-4bc6-475d-8ba2-0c7816192e12", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp40102fa/f7f93621fc8348d99f6b12c7a41d593b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"u-iVvFYezezgH-hzGcLF9Aq4JRl04JmE7KdihdtxNGzjnnhE9OdrPFvhiRGHS7E6869bUXLF0GCPAz11Gs8NZsVfYWCoFl8UOdh7K8EdL28TKNucwA3gVTeilMoFTGtOg4GbNYm-v6mrer33Tb-2OTytaXqANG-mCuna-r6yfh4X5zICzFM3VZG_7KYWaQfRhroXD46aOP2MrStng4G_Rl2PXPe2IXxfQIxXcHYWgCYdxODPDn4oEcFjKmHpeVj8QANdhI1tgIvvfgWjroNQR5JAfeEOZtnbctUU5WCQN6LpT00h6KEyq-lrTntSnEJig5yEJreIcEGcNovgHV9yjQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp40102fa" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp2897450/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9ed449ec-cfed-4250-b788-12f286614ec7" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp2897450/6839bbd69b35488ea9b991dbdc257928", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uhyxjyib-xmr22PJDo5PuE1aJvV-fVBlCQx9wsTvFXCedPRBcnip_3Vg05eWVHTQoB6Yb_IVTunPeXpbn9xu8xlMUQ6D1Hcet4336H0yfP29lsjVHw5n74Rw_uJAFXqFZsumlqwPixkRNelGgkLi-ffn1Pfh4Gh6fWQ8RU2FKPahKCRaInYUKO-1ezIOqrmUG2Mn3s9jnRWRMTBJiO49XoJQTRRe2u5OCfZit_aVnuv0S4zZDw5zeYZAtSCBCV-lFbcreVLyi8Ta5U0jPyQOi1x1O-xmjaAjFI8RVwIMROXjk01SjZxc7HRzeHcBAPTRfkNktc0ddUF4_B8QZveNMQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javakeytemp2897450" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKeyNotFound[1].json index a80fd7d878560..681e7793bd02a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fed74a88-0e68-442d-9443-506b212913c9" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8cf59dc5-73c2-43c8-87dd-26e0a50c76d3", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f9dfb46f-1bf0-4578-9430-7d045c79f348" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKey[1].json index e011225532c06..ac139e3cf9f9c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.deleteKey[1].json @@ -1,129 +1,246 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey555546c07/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey518769b82/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:42:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "37c6cf60-488d-4662-a325-853c7b337e47" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:10:04 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6988961c-25fd-4bcc-9b9a-21350b51fa02", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey518769b82/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:42:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d77b95e-3641-42f9-ad02-3edb0c7c1f4a" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey518769b82/b0b6ee2495304a43bf11b34a6ec82150", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uRu03RzMRjSzaqB56xJxW3qUk1GYUDWh_iUEbZDox7BMEBtVH3t6sCq3YciaNSJDNzi5dQFXZtnYg9O_i0tK_5oQlQRv0z-kz-yO9Ln_-1Q7kowHHF7I6mdoOomvF5CooyyHaacdifAdfUHwvMHgwz62fBT2CTJ7WKgjBqk8Ox-DbUsKiizGoRJKWj7EnhzCteW440Z8E_b48Q3Huo_KjtGWhBQMukAYxNp-4b5Mkl9VD_uZ4M9rlQ54-qfaCUXlibdPbczVDMVFed2HAisGl0b22kTq_YjB3Ey2Bum3-rKplDMBScHo0wBPfLfK4Y7lxjJ5PS-rzslqpFDGzc7oyQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270935, + "updated": 1681270935, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey555546c07/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey518769b82?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:42:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b4a7439b-cd3b-4f42-9ae3-a44f20107eb1" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey518769b82", + "deletedDate": 1681270935, + "scheduledPurgeDate": 1681875735, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey518769b82/b0b6ee2495304a43bf11b34a6ec82150", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uRu03RzMRjSzaqB56xJxW3qUk1GYUDWh_iUEbZDox7BMEBtVH3t6sCq3YciaNSJDNzi5dQFXZtnYg9O_i0tK_5oQlQRv0z-kz-yO9Ln_-1Q7kowHHF7I6mdoOomvF5CooyyHaacdifAdfUHwvMHgwz62fBT2CTJ7WKgjBqk8Ox-DbUsKiizGoRJKWj7EnhzCteW440Z8E_b48Q3Huo_KjtGWhBQMukAYxNp-4b5Mkl9VD_uZ4M9rlQ54-qfaCUXlibdPbczVDMVFed2HAisGl0b22kTq_YjB3Ey2Bum3-rKplDMBScHo0wBPfLfK4Y7lxjJ5PS-rzslqpFDGzc7oyQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270935, + "updated": 1681270935, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "33e9494c-1a97-4c71-9259-0959f01b0e24", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey555546c07/3e4589f71f6841c883a7bbdba2b2217f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oK2aC3PIX8f_Tgc6c97ExiQD1fKvfgJlnWQjjCZ6z8hJu7WOHYNHnkt1njUy9yN8Xh1kNnDog9CRVx3ndmHRRyOd40VHv-igFIju0IeiXqpqx_pIF3lYdn-xOCbBstoTSz6JE7Y8zvJSBEkiWWUkPvMCzOWdWwNQgrNPwCMBSnR1v8VIBu77veeXcfau-jxCAaNMng4X1glckNCXd7Tby5uGz8bJ22NXZVEs3RzMvTOvaV2Tv1FnBrhhMySKavR-95rKQjcIQvapjmxzD731lByxjnH-u59EY1nwOsimCpz3ffeQX8e7pyW-G2AOnix6boPbkWaNdSU3hw_4LEih4Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey518769b82?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:42:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8eec8f2f-e323-4bce-a71f-82b237a7bef9" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey518769b82" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey555546c07?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "99854e74-dd03-4f4a-ada6-a28ccfaaf38f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey555546c07\",\"deletedDate\":1678954207,\"scheduledPurgeDate\":1679559007,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey555546c07/3e4589f71f6841c883a7bbdba2b2217f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oK2aC3PIX8f_Tgc6c97ExiQD1fKvfgJlnWQjjCZ6z8hJu7WOHYNHnkt1njUy9yN8Xh1kNnDog9CRVx3ndmHRRyOd40VHv-igFIju0IeiXqpqx_pIF3lYdn-xOCbBstoTSz6JE7Y8zvJSBEkiWWUkPvMCzOWdWwNQgrNPwCMBSnR1v8VIBu77veeXcfau-jxCAaNMng4X1glckNCXd7Tby5uGz8bJ22NXZVEs3RzMvTOvaV2Tv1FnBrhhMySKavR-95rKQjcIQvapjmxzD731lByxjnH-u59EY1nwOsimCpz3ffeQX8e7pyW-G2AOnix6boPbkWaNdSU3hw_4LEih4Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey555546c07?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "22e19dab-5d98-43d4-946c-6354c83dbd0a", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey555546c07\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey555546c07?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "07a5f02d-6543-4b1d-82ac-2c5d11467820", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey555546c07\",\"deletedDate\":1678954207,\"scheduledPurgeDate\":1679559007,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey555546c07/3e4589f71f6841c883a7bbdba2b2217f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oK2aC3PIX8f_Tgc6c97ExiQD1fKvfgJlnWQjjCZ6z8hJu7WOHYNHnkt1njUy9yN8Xh1kNnDog9CRVx3ndmHRRyOd40VHv-igFIju0IeiXqpqx_pIF3lYdn-xOCbBstoTSz6JE7Y8zvJSBEkiWWUkPvMCzOWdWwNQgrNPwCMBSnR1v8VIBu77veeXcfau-jxCAaNMng4X1glckNCXd7Tby5uGz8bJ22NXZVEs3RzMvTOvaV2Tv1FnBrhhMySKavR-95rKQjcIQvapjmxzD731lByxjnH-u59EY1nwOsimCpz3ffeQX8e7pyW-G2AOnix6boPbkWaNdSU3hw_4LEih4Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey555546c07" ] + { + "RequestUri": "https://REDACTED/deletedkeys/testkey518769b82?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:42:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5935f6ad-8448-4a37-852a-42a3138d245d" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey518769b82", + "deletedDate": 1681270935, + "scheduledPurgeDate": 1681875735, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey518769b82/b0b6ee2495304a43bf11b34a6ec82150", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uRu03RzMRjSzaqB56xJxW3qUk1GYUDWh_iUEbZDox7BMEBtVH3t6sCq3YciaNSJDNzi5dQFXZtnYg9O_i0tK_5oQlQRv0z-kz-yO9Ln_-1Q7kowHHF7I6mdoOomvF5CooyyHaacdifAdfUHwvMHgwz62fBT2CTJ7WKgjBqk8Ox-DbUsKiizGoRJKWj7EnhzCteW440Z8E_b48Q3Huo_KjtGWhBQMukAYxNp-4b5Mkl9VD_uZ4M9rlQ54-qfaCUXlibdPbczVDMVFed2HAisGl0b22kTq_YjB3Ey2Bum3-rKplDMBScHo0wBPfLfK4Y7lxjJ5PS-rzslqpFDGzc7oyQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681270935, + "updated": 1681270935, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey518769b82" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientAndEncryptDecrypt[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientAndEncryptDecrypt[1].json index a60c677264d93..1b09794d7d9d3 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientAndEncryptDecrypt[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientAndEncryptDecrypt[1].json @@ -1,79 +1,200 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp294866d/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/javakeytemp8919662/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a445618f-5819-42db-9d65-fae744eccb44" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "244e5b6f-070d-459e-bca9-5363887e5df4", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp294866d/1016b549f53642349d5ca46f2f03dd3d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vUHTMvlLPny_yFIVl7OvTMfdPbGT-kDoemLNn1j0LC1S0E_1hZiYK2EOVj7LnRxgXwIT7tcVfWeiT7hSna5X3XH-Em7Nd2ojqF9rd0uKggC_syyAOSu0xTnDENXdjnxP9IPluC7ZxbVZ0qBN5_c0zyZdAQkYSzDAaCpej8O3yue3ZBsmZG9oo1a3m3BlC454nUn67wylxOA4edB7aIgIKyH93EyzA7hrRnW-PhkPtqHSJ7f_YmZ-UpYQTXg-ailt7fZ6dYFIl_FBCGuR7EdJG_AvwPBf_p9m2vmyFj_4r3LRjJ28p7Ei9G_hWMwdGpPvsVXSvxpMGusOKCwdkPqAtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/javakeytemp8919662/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + }, + "tags": { + "foo": "baz" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6cb29a47-0a0a-44f8-881f-64c16575b2f8" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8919662/372bba7106d34ff1a765de0f98424678", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "u6DZNYbkoV_dxAyeW633RPlaLvierqz5BhuD0e9U0q5maFqZ04r9tfLLPwxr9my_FNvHVNtQirJFkd3X2bw3Y_-8Y_UErKFUb1P3Hrv8qctrzD87c-A7Z3sRhVfNh25FpuELe7mZKD7uX6SxSQjq9bBdSVdA3Yhl-HgOU5jvJACWWbCE5hlobOVruOW0YhEa2-hoIi-8Gp_0S38lt5N9Y7cRsACtlSeKpVxu8UJi5AsJOe9o5XH161fMxtHXIE2mmiEO4CGlAKq1D0x3jxFEYLhMBZ7qRKNDbfGkVPvcVJ6eI9QnoQzImqPToW2mUTj4K4Ivf3nOTtED_0OZ0Ig6pQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp294866d/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/javakeytemp8919662/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "771", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cf2cb048-9003-40bf-98dc-89b7927e7ea1" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8919662/372bba7106d34ff1a765de0f98424678", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "u6DZNYbkoV_dxAyeW633RPlaLvierqz5BhuD0e9U0q5maFqZ04r9tfLLPwxr9my_FNvHVNtQirJFkd3X2bw3Y_-8Y_UErKFUb1P3Hrv8qctrzD87c-A7Z3sRhVfNh25FpuELe7mZKD7uX6SxSQjq9bBdSVdA3Yhl-HgOU5jvJACWWbCE5hlobOVruOW0YhEa2-hoIi-8Gp_0S38lt5N9Y7cRsACtlSeKpVxu8UJi5AsJOe9o5XH161fMxtHXIE2mmiEO4CGlAKq1D0x3jxFEYLhMBZ7qRKNDbfGkVPvcVJ6eI9QnoQzImqPToW2mUTj4K4Ivf3nOTtED_0OZ0Ig6pQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "773", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "404df282-2698-45bb-9d47-2d3f6258e152", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp294866d/1016b549f53642349d5ca46f2f03dd3d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vUHTMvlLPny_yFIVl7OvTMfdPbGT-kDoemLNn1j0LC1S0E_1hZiYK2EOVj7LnRxgXwIT7tcVfWeiT7hSna5X3XH-Em7Nd2ojqF9rd0uKggC_syyAOSu0xTnDENXdjnxP9IPluC7ZxbVZ0qBN5_c0zyZdAQkYSzDAaCpej8O3yue3ZBsmZG9oo1a3m3BlC454nUn67wylxOA4edB7aIgIKyH93EyzA7hrRnW-PhkPtqHSJ7f_YmZ-UpYQTXg-ailt7fZ6dYFIl_FBCGuR7EdJG_AvwPBf_p9m2vmyFj_4r3LRjJ28p7Ei9G_hWMwdGpPvsVXSvxpMGusOKCwdkPqAtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/javakeytemp294866d//decrypt?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "134", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8e7ff464-a1a6-4c81-bf0c-c1450a67ae58", - "Body" : "{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp294866d/1016b549f53642349d5ca46f2f03dd3d\",\"value\":\"bXlQbGFpbnRleHQ\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javakeytemp294866d" ] + { + "RequestUri": "https://REDACTED/keys/javakeytemp8919662//decrypt?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "371", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "RSA-OAEP", + "value": "QA3m1tvnZNKYcjxNN_UmkjWXiFlBN2LZfjd4FbEoDEzy4dZiqaO7C5mb5N2ELiWRfe7wN4f_4N1alVTZ5BBx00O_gRpbylk-iDQKqM3d7gVEojAAANIKLs8TBhY3NHgU-HxJFFMBQlZddYcOe6tfiT9FCBtW9AxpRs17TGxwpaHWN9arlpB3P7ms6-v0gm0YR9z8Ue2PhCQ8_JzSifxSC1IHY02guDfSmtsqWlFeoNQMXkD9ap_eKmlNYKjJGGzxaytpFTw2JbSYa9TASVttanSIIsGK-aaYYRy8rAvG3vbagAZo5Ad_ygq9motiPAB7KTMAvVGAc6yynhkPXMLW5A" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "027d0f0e-e6b3-41cc-9940-9a01fa1d4006" + }, + "ResponseBody": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8919662/372bba7106d34ff1a765de0f98424678", + "value": "bXlQbGFpbnRleHQ" + } + } + ], + "Variables": { + "0": "javakeytemp8919662" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithEmptyKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithEmptyKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithEmptyKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithEmptyKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithNullKeyVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithNullKeyVersion[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithNullKeyVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClientWithNullKeyVersion[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClient[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClient[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClient[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getCryptographyClient[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKeyNotFound[1].json index 4a741cc2270e3..31a0eaa0d0779 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "62de3d2b-94bc-4e78-bed6-c541f35ed654" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "27ec0bce-e48f-41aa-bf98-8d5503092c55", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "32e50223-055f-48a2-96cf-e98c0c181d6d" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKey[1].json index 7203a35fecfb3..b272b7b886a1c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getDeletedKey[1].json @@ -1,154 +1,302 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey60701987a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey675388088/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b61168df-0d49-4274-a14d-5f32b926c1f5" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a7ee13e1-2f4a-4797-888f-80238e4fcade", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a/c752223ca2394231b4c131ef6c7cfa96\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7yToyW4Ruct576cjTSVCQjVsAu1hiRgrKZ9aC6h10q3s4NdfawPgW4ydIyEJYDzpWx5OmaPUVkNWYyfFsLUu7N4nkM1PvgZlYBCOgEGvPfPKDwBqsfmcQAYl6_JN5l1J1Xd0xb8XJ2t_XmSN3t4faIWxbXM25nGbVR4Yx3P-jqy1kFRzZU5xZTAd_AP5R21hVJhh99lnxNUDIojoQDb06zPJTtys3lFOxFnyRPJh5O21iiYGKA_ivRaUTJO5zAqsrwQGRr33DvqlH2dkgr1QGON1pamvcxmbt_lXoPfaUuSZyXf-H9OPt9QvqWVBYjNj2p1fNz4TZwXEbTGIhLMcNQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey675388088/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "16f5cf75-9528-42cf-a3de-f20587add3f1" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088/36efcacfab1c475297d245b8375595ae", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0X7-UdZDv6kptRQfSTrYI1m-Hbz2Jy3uh9oGevy0gW99kDZcWsS0qhJeG6gFEuwkrci-C0gyvLyIDJXRrMqIehNE2FVWo7ShP-ldwcVSPeui_1VoS3lkR54IwlWmyGrgja4DchNmjVZ691BffcJULYlvJiCsOiFwly4YhsuJHl20R3BeEhnmuXYWUtfzhjOIhVvlzhLNXKp7hkTt2uGShLEnrzDtdR7fexpeJyJTWbX0cBKH_MigZW-ennrnVQjZln8nAaJKaSz1Hd2T2m-2CMMPCnjIdVY9w6kV1UrOITCsQqXV8_xL6MLvL0IASrKNNY75v1OIzTBG4hohFpPfJQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey60701987a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey675388088?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "96f50010-af74-42b3-aa01-e2a69306266c" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey675388088", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088/36efcacfab1c475297d245b8375595ae", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0X7-UdZDv6kptRQfSTrYI1m-Hbz2Jy3uh9oGevy0gW99kDZcWsS0qhJeG6gFEuwkrci-C0gyvLyIDJXRrMqIehNE2FVWo7ShP-ldwcVSPeui_1VoS3lkR54IwlWmyGrgja4DchNmjVZ691BffcJULYlvJiCsOiFwly4YhsuJHl20R3BeEhnmuXYWUtfzhjOIhVvlzhLNXKp7hkTt2uGShLEnrzDtdR7fexpeJyJTWbX0cBKH_MigZW-ennrnVQjZln8nAaJKaSz1Hd2T2m-2CMMPCnjIdVY9w6kV1UrOITCsQqXV8_xL6MLvL0IASrKNNY75v1OIzTBG4hohFpPfJQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "007f5d66-7431-4f26-a265-b8d6974e4209", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey60701987a\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a/c752223ca2394231b4c131ef6c7cfa96\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7yToyW4Ruct576cjTSVCQjVsAu1hiRgrKZ9aC6h10q3s4NdfawPgW4ydIyEJYDzpWx5OmaPUVkNWYyfFsLUu7N4nkM1PvgZlYBCOgEGvPfPKDwBqsfmcQAYl6_JN5l1J1Xd0xb8XJ2t_XmSN3t4faIWxbXM25nGbVR4Yx3P-jqy1kFRzZU5xZTAd_AP5R21hVJhh99lnxNUDIojoQDb06zPJTtys3lFOxFnyRPJh5O21iiYGKA_ivRaUTJO5zAqsrwQGRr33DvqlH2dkgr1QGON1pamvcxmbt_lXoPfaUuSZyXf-H9OPt9QvqWVBYjNj2p1fNz4TZwXEbTGIhLMcNQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey675388088?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "704484e3-94bd-4cf5-8f59-e7295be1a2cf" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey675388088" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey60701987a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey675388088?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8a91efec-5044-4f5f-b286-9c4dffcf04d0" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey675388088", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088/36efcacfab1c475297d245b8375595ae", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0X7-UdZDv6kptRQfSTrYI1m-Hbz2Jy3uh9oGevy0gW99kDZcWsS0qhJeG6gFEuwkrci-C0gyvLyIDJXRrMqIehNE2FVWo7ShP-ldwcVSPeui_1VoS3lkR54IwlWmyGrgja4DchNmjVZ691BffcJULYlvJiCsOiFwly4YhsuJHl20R3BeEhnmuXYWUtfzhjOIhVvlzhLNXKp7hkTt2uGShLEnrzDtdR7fexpeJyJTWbX0cBKH_MigZW-ennrnVQjZln8nAaJKaSz1Hd2T2m-2CMMPCnjIdVY9w6kV1UrOITCsQqXV8_xL6MLvL0IASrKNNY75v1OIzTBG4hohFpPfJQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "517ff51e-cb3b-4b0b-9e92-b90657e8a6cd", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey60701987a\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey60701987a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6d7f525d-eb53-4544-a4f8-b1ce5e6e59e0", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey60701987a\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey60701987a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "980bf3e6-608a-4be9-8fc6-f9baa75a4a56", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey60701987a\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a/c752223ca2394231b4c131ef6c7cfa96\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7yToyW4Ruct576cjTSVCQjVsAu1hiRgrKZ9aC6h10q3s4NdfawPgW4ydIyEJYDzpWx5OmaPUVkNWYyfFsLUu7N4nkM1PvgZlYBCOgEGvPfPKDwBqsfmcQAYl6_JN5l1J1Xd0xb8XJ2t_XmSN3t4faIWxbXM25nGbVR4Yx3P-jqy1kFRzZU5xZTAd_AP5R21hVJhh99lnxNUDIojoQDb06zPJTtys3lFOxFnyRPJh5O21iiYGKA_ivRaUTJO5zAqsrwQGRr33DvqlH2dkgr1QGON1pamvcxmbt_lXoPfaUuSZyXf-H9OPt9QvqWVBYjNj2p1fNz4TZwXEbTGIhLMcNQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey60701987a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9a2bc6a1-442f-4a2e-9ab6-a8f26f289581", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey60701987a\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a/c752223ca2394231b4c131ef6c7cfa96\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7yToyW4Ruct576cjTSVCQjVsAu1hiRgrKZ9aC6h10q3s4NdfawPgW4ydIyEJYDzpWx5OmaPUVkNWYyfFsLUu7N4nkM1PvgZlYBCOgEGvPfPKDwBqsfmcQAYl6_JN5l1J1Xd0xb8XJ2t_XmSN3t4faIWxbXM25nGbVR4Yx3P-jqy1kFRzZU5xZTAd_AP5R21hVJhh99lnxNUDIojoQDb06zPJTtys3lFOxFnyRPJh5O21iiYGKA_ivRaUTJO5zAqsrwQGRr33DvqlH2dkgr1QGON1pamvcxmbt_lXoPfaUuSZyXf-H9OPt9QvqWVBYjNj2p1fNz4TZwXEbTGIhLMcNQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey60701987a" ] + { + "RequestUri": "https://REDACTED/deletedkeys/testkey675388088?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "be221046-cc0c-404b-a701-66a45fde9365" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey675388088", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088/36efcacfab1c475297d245b8375595ae", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "0X7-UdZDv6kptRQfSTrYI1m-Hbz2Jy3uh9oGevy0gW99kDZcWsS0qhJeG6gFEuwkrci-C0gyvLyIDJXRrMqIehNE2FVWo7ShP-ldwcVSPeui_1VoS3lkR54IwlWmyGrgja4DchNmjVZ691BffcJULYlvJiCsOiFwly4YhsuJHl20R3BeEhnmuXYWUtfzhjOIhVvlzhLNXKp7hkTt2uGShLEnrzDtdR7fexpeJyJTWbX0cBKH_MigZW-ennrnVQjZln8nAaJKaSz1Hd2T2m-2CMMPCnjIdVY9w6kV1UrOITCsQqXV8_xL6MLvL0IASrKNNY75v1OIzTBG4hohFpPfJQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey675388088" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyNotFound[1].json index ef42e7461cd01..e41b5642b6fd0 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6d28139d-96fa-4259-8633-e8e4523fd0dc" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "997b4c04-441a-46b1-8630-9c5895a05cf7", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b28d6911-ad72-485b-8e56-d50fb526930a" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyOfNonExistentKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyOfNonExistentKey[1].json index bffcaf417d89c..fa12f94191bb4 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyOfNonExistentKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyOfNonExistentKey[1].json @@ -1,28 +1,71 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/nonexistentkey41610/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/nonexistentkey15690/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9969f18f-7a7d-457c-9e5b-b614a070a946" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "307", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "619dd1e5-c4ca-4f08-8c84-1b3f9262b913", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) nonexistentkey41610 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "nonexistentkey41610" ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/nonexistentkey15690/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "307", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5dfb2654-9ce0-482e-8f30-30c65e0c8800" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) nonexistentkey15690 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": { + "0": "nonexistentkey15690" + } +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyWithNoPolicySet[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyWithNoPolicySet[1].json index 15cbecf3106ab..6250595685a0c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyWithNoPolicySet[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeyRotationPolicyWithNoPolicySet[1].json @@ -1,53 +1,136 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey95123259/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey7308409f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bcff51b5-3e1d-4356-bd78-274c9df46f0b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "79e0da0c-2fda-4b0c-8684-4003c4defa3b", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey95123259/a79be85fcdb54be590071ad3472a5c54\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6U3LaBYnAlkNFaG0fyGT3JyBvV4vblozXgrOoNmAcVx5zmVYL9lNqw5nWrO_KxMVAfq8dUi9QYck61KTscfGyxjpePq3sdwwjvPaqXmGzFUtL0fFnZD6ZZyCikZMetbd21eOu7SDIqCZ9_UpvTe5ydz1GISSir9thlYmMTg5ldap8Lnh5fhqfj0NspzbyMzwk6g_XshdbeDoVuRs0581gpuW_B8A0KN2gXEfdztqF8KddZ6l7It7KfVqrG0SpIqrl6nkM-LXtkBf65R95_uSWEGsSkkLLvtq5hZMLS12Htjf9tPby1MP-MW3kZqVRQFOn6GiAXOAfzTUMaN8jLOc2Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey7308409f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "564e6664-5bd4-4d46-a745-365a6601d617" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey7308409f/eac8b298af41468583c906f48ab489c5", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xebDlncUID3iTTXoEiNMZFhTgxZepTke8vdcG1RKnn7k2BuUi7dutK9D-eNZpqqmVFHy4NpkOzcPVav7o90nW04Wcb9HlRxZlAf2wB8ae8hu-PSDGzNRK2JPlcR2f524vdbdvcSRS1BiImN0ChUDdLASgEPQmbSjEbeB_VuVRj4NVC4Jl_jFpG8An3x5cn0hMdAJdd8avlJrUdteUrBLnMRtNV-sZASX2Vrx6bA6Uf6mWpxKpTBlI4Uo3mm2Ua5iRLp4wdAhiiIKVZdD4pLSDrqwtqpinzOF14zPfGoD_VOTmqLkBISm7rmgoCezDUzvWkxHkcexXKk_njYuYn_QAQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey95123259/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "106", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e259a2bb-10c3-4c6b-80da-32475b969b6d", - "Body" : "{\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey95123259" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey7308409f/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "106", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d62cb53-f2d9-4c2b-a81f-05e9e8cdff58" + }, + "ResponseBody": { + "lifetimeActions": [ + { + "trigger": { + "timeBeforeExpiry": "P30D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": null + } + } + ], + "Variables": { + "0": "rotatekey7308409f" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeySpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeySpecificVersion[1].json index 6122474ec08ab..5316851a95690 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeySpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKeySpecificVersion[1].json @@ -1,104 +1,265 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey365262e0f/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey386340660/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8d987995-87b4-451c-90e1-599925339f2d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5315c440-289a-4c43-a657-7808147417b2", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f/80d1dc92076f41419304b4cba7241034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uB9_yujkPd9i6cb1TuYza9agbgM68OW9PFIrkOF9VerjI-jbw5rzgqDVQ-nWJ7nkFtNcW8kB4YKY-OrrtwfHNrX5l6CSk8LsaMgt8MEywIRqu44NzqqXWaxfjs_EQhdlix-mR3RUgPTMo0BmYUn6BG7iwxSGcpqEi2QhZWtrcpLwzgPWlSG--a8XUkh7PswQ81kdRTSBbSwJ6txSouqD4RezEVn83etG0Dmvzz8nl10z48EJuGv_1wKzJfCWtqjRitNem1lfMY-4NI_OFHwyYgO6gXDLw6N8Ma53E3VgiaynHPdac3-W9QNOXfPfTiUZjm31f99UX-zm6AqN4VJPBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey386340660/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8b97d816-1e6b-4b13-b2b8-6a7faff2faca" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660/2aa893a6b0024f93888a3e1725b8662e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "3SGzvLritghrjSKEvooCRUpM_y5FbdlJr2M8RU70Rc-o3F5gyuse6YMybL0VufghQCrhXEWsocAtTHVpblpmaPFwStT-IMjFSpWGTyuKqYk0ZZtJSS6BqJ8mB7kEs5yl60iUz-E9wgF6UUk1Z_ix42J47ri7a4F_0P7_xUbDCEsf1K_d3cX-Kzf2FHGawg5QpIF-lR4rYWf7Z1PE94EOqnqI-vr-89TYmSO93ajYKOz-EOZtfZ6uJ9Jv_Kg_FpnNeIdS8aREYh87j4Z7Jl7C-HLxf4uf2P4gJgfSvWbSX_gVCFGHSosdgaPWr_dVThX7ateNYSFb850XPUelPtl95Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey365262e0f/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey386340660/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "01431ebf-564b-43c2-adf4-1ab8fc88ab35" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660/da536c0229504716870c57ccbb655bb8", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "6A3f7psgtX_RsbDKoE6VqAW7EMBbAO2qJMK_dexuqzDbq1kOI2yLgmTmUy7-SKjuO06HEf_YFJWL2rVsfl0cBkSsjibJiPsg9a40BrSx-8jqg0fwZF_eHQ6u5tgRVtBmdNrcNyJTiCTudYeXbOcSIxFcN5LysZBPKdOy5Wx-xzaMNhA947ZTEU7LB2I0Fs9AxopXAz7a87xvYebzmD1xpNWxod3OeRekvxR-xoGyO0acdXM8n1tKAeftcV1WrBtw3A10-4WCAIOBlxh1MDKdDnRjMfU43CvvacoRfr5Ec9FJci63PWiDrRcNwxgz0S4UOyDrltkQKB57ejESkjr_8Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7e47f634-fccc-428e-8a94-ebc00e8a85df", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f/4eeaf40a420545efaa6ec157f51df361\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2ETwRcNmEaTn1icIH7ST6AYeOqSHeXTu_ldlyVEX7TV-YR1o4rrKTc0q3r1T8qB4o7AAxUT-jgMPKJMwqnJPRaN5Zv_jxR29aGD9-_n6WP3EkHMG2iWqle4rogpXzVbRbnaWoQm8pLwdDY6Rf7TTHcfZq39udGwbUPlFz_VP5AzE6wUApBJNDNZQ2jRh5vfLBAZM9zHu9uLvA9i79YfbmjA58fn8_VxrZftXDk46nBZ36oZ3nVkzaDgd98Mm--V0V58yNvz1Y-3_BRL5RSzIceGg9-dH_iBLeW7qPuqDxrE1FG2MQ4aj3KlrHwCWeaedzyfN26ZHIt4vxc6j6icvMQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey386340660/2aa893a6b0024f93888a3e1725b8662e?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3c76fd31-449a-4ee4-8f1b-968952d0dd65" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660/2aa893a6b0024f93888a3e1725b8662e", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "3SGzvLritghrjSKEvooCRUpM_y5FbdlJr2M8RU70Rc-o3F5gyuse6YMybL0VufghQCrhXEWsocAtTHVpblpmaPFwStT-IMjFSpWGTyuKqYk0ZZtJSS6BqJ8mB7kEs5yl60iUz-E9wgF6UUk1Z_ix42J47ri7a4F_0P7_xUbDCEsf1K_d3cX-Kzf2FHGawg5QpIF-lR4rYWf7Z1PE94EOqnqI-vr-89TYmSO93ajYKOz-EOZtfZ6uJ9Jv_Kg_FpnNeIdS8aREYh87j4Z7Jl7C-HLxf4uf2P4gJgfSvWbSX_gVCFGHSosdgaPWr_dVThX7ateNYSFb850XPUelPtl95Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey365262e0f/80d1dc92076f41419304b4cba7241034?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b3385d3b-0ef8-4790-be79-4ae20b9878a6", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f/80d1dc92076f41419304b4cba7241034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uB9_yujkPd9i6cb1TuYza9agbgM68OW9PFIrkOF9VerjI-jbw5rzgqDVQ-nWJ7nkFtNcW8kB4YKY-OrrtwfHNrX5l6CSk8LsaMgt8MEywIRqu44NzqqXWaxfjs_EQhdlix-mR3RUgPTMo0BmYUn6BG7iwxSGcpqEi2QhZWtrcpLwzgPWlSG--a8XUkh7PswQ81kdRTSBbSwJ6txSouqD4RezEVn83etG0Dmvzz8nl10z48EJuGv_1wKzJfCWtqjRitNem1lfMY-4NI_OFHwyYgO6gXDLw6N8Ma53E3VgiaynHPdac3-W9QNOXfPfTiUZjm31f99UX-zm6AqN4VJPBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey365262e0f/4eeaf40a420545efaa6ec157f51df361?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "137a4ef4-c0bc-4707-8ad0-20e38944e02d", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f/4eeaf40a420545efaa6ec157f51df361\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2ETwRcNmEaTn1icIH7ST6AYeOqSHeXTu_ldlyVEX7TV-YR1o4rrKTc0q3r1T8qB4o7AAxUT-jgMPKJMwqnJPRaN5Zv_jxR29aGD9-_n6WP3EkHMG2iWqle4rogpXzVbRbnaWoQm8pLwdDY6Rf7TTHcfZq39udGwbUPlFz_VP5AzE6wUApBJNDNZQ2jRh5vfLBAZM9zHu9uLvA9i79YfbmjA58fn8_VxrZftXDk46nBZ36oZ3nVkzaDgd98Mm--V0V58yNvz1Y-3_BRL5RSzIceGg9-dH_iBLeW7qPuqDxrE1FG2MQ4aj3KlrHwCWeaedzyfN26ZHIt4vxc6j6icvMQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey365262e0f" ] + { + "RequestUri": "https://REDACTED/keys/testkey386340660/da536c0229504716870c57ccbb655bb8?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6f2dd7eb-db38-4b20-bb3f-25aa09ec938d" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660/da536c0229504716870c57ccbb655bb8", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "6A3f7psgtX_RsbDKoE6VqAW7EMBbAO2qJMK_dexuqzDbq1kOI2yLgmTmUy7-SKjuO06HEf_YFJWL2rVsfl0cBkSsjibJiPsg9a40BrSx-8jqg0fwZF_eHQ6u5tgRVtBmdNrcNyJTiCTudYeXbOcSIxFcN5LysZBPKdOy5Wx-xzaMNhA947ZTEU7LB2I0Fs9AxopXAz7a87xvYebzmD1xpNWxod3OeRekvxR-xoGyO0acdXM8n1tKAeftcV1WrBtw3A10-4WCAIOBlxh1MDKdDnRjMfU43CvvacoRfr5Ec9FJci63PWiDrRcNwxgz0S4UOyDrltkQKB57ejESkjr_8Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey386340660" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKey[1].json index 7757bc0f3849d..d1000e28aaf0f 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.getKey[1].json @@ -1,54 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey49769580a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey437892a1f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ca3fd4aa-f0a8-49ff-8c7d-54bf13bf83f6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bbf62c0f-35e0-42e7-94ca-6b95dd8d9652", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey49769580a/34d35e11f3f34e668fb2efcff3702aec\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3nG_t3G19BItUgAigFXWIBlErH9Fwi7SrFledpMYWTDzpPZa46vXqo30TbujrBiqKRPjiXeq6c21oQ0QhyxERDHgUjgwMyO0w4B40AvYg-Yu1UgCNZVBcAvwTEEfTaIZDKUbrmrkhHBiPlunxAUWrVgjqZ3xdGVHT3PMZtZNDDeqjmhEUfSh96cdBn5tACgouTXQKxOCR1Z0rvsMACZEZDBU1ap_No6Op0rD92iQ34liMyXH0NRc5UUY_1H9WdnQfzhEgWuuKTfa-FO83jwyi2yUdUpBxVh5AJ3UOQOATyAzeMJbxHY-0Q2KWsSNn8e6nb00via_TJzkdjbPAw3STQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey437892a1f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0f5eb8d-770b-4546-be1e-cf3b3dcd2aaa" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey437892a1f/56566ae4ad97459b903efc7d92bdf2aa", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "7Ss51_OKrQH3AjVEhqrU8oRPnB7ZbjXz9V1HokmDMCSynz_oPkQ0NrY2Bqkr_Hvbs8tRRWDIqhftkfeGkga8Yi8uF_NgsKCDLj-ZIp0NfjHfKV5DoJCxiVreKbdbrSeCQADgf6acvT6j2ushxcj0d65u_OE9VtBChAKH2rAEzQ_6fDW85hpc1GN8dHBI_X78sJkSehmm3x5ZXE46OEMt9pLjS8TB5T8lMl_lI_kqsZr0TOr2_Zz_ShPmhHjBcAenYJZCdgYl2gd60MuqqFnZNe6YLTCZLt3F60zDDZH6IxWz1ON_6qfZ-5xQZeta7wP8rObsR6LFwL5yzLO0vvGVFQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey49769580a/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dbdd4533-d4ee-4b7f-bc53-e2e26adcb116", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey49769580a/34d35e11f3f34e668fb2efcff3702aec\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3nG_t3G19BItUgAigFXWIBlErH9Fwi7SrFledpMYWTDzpPZa46vXqo30TbujrBiqKRPjiXeq6c21oQ0QhyxERDHgUjgwMyO0w4B40AvYg-Yu1UgCNZVBcAvwTEEfTaIZDKUbrmrkhHBiPlunxAUWrVgjqZ3xdGVHT3PMZtZNDDeqjmhEUfSh96cdBn5tACgouTXQKxOCR1Z0rvsMACZEZDBU1ap_No6Op0rD92iQ34liMyXH0NRc5UUY_1H9WdnQfzhEgWuuKTfa-FO83jwyi2yUdUpBxVh5AJ3UOQOATyAzeMJbxHY-0Q2KWsSNn8e6nb00via_TJzkdjbPAw3STQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey49769580a" ] + { + "RequestUri": "https://REDACTED/keys/testkey437892a1f/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8bff8082-3ecc-473d-af00-fa91c7deb0fc" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey437892a1f/56566ae4ad97459b903efc7d92bdf2aa", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "7Ss51_OKrQH3AjVEhqrU8oRPnB7ZbjXz9V1HokmDMCSynz_oPkQ0NrY2Bqkr_Hvbs8tRRWDIqhftkfeGkga8Yi8uF_NgsKCDLj-ZIp0NfjHfKV5DoJCxiVreKbdbrSeCQADgf6acvT6j2ushxcj0d65u_OE9VtBChAKH2rAEzQ_6fDW85hpc1GN8dHBI_X78sJkSehmm3x5ZXE46OEMt9pLjS8TB5T8lMl_lI_kqsZr0TOr2_Zz_ShPmhHjBcAenYJZCdgYl2gd60MuqqFnZNe6YLTCZLt3F60zDDZH6IxWz1ON_6qfZ-5xQZeta7wP8rObsR6LFwL5yzLO0vvGVFQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey437892a1f" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listDeletedKeys[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listDeletedKeys[1].json index 19cfd7cde845e..9f33aceaa6169 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listDeletedKeys[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listDeletedKeys[1].json @@ -1,804 +1,1132 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/b557161ec2304b958a9f/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4fcd40a4-5148-441c-bdb8-0450e2258134", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f/540d60622f0a44698fbc3235e28c27e2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7sOxUxBYLLxZo0b427U2k8G73ic9lPrt3o04UF19x-j3A30aMHO3EyhLTqZUXBE21gBWtHwaLfafvZ85sNRuknmkrW9jH5XeBjYMoS6RvwdixPw-z_kEhXAAkzYCXO_zShP9-EAeibyLXG0NseCiEDNq8qHgpIxniQxN5F1t9eSbFvOUn8W2S859mjuYHKwyhCjkVRWMeiCWL27kW2VqLGg01jwLq3MpEMpPIuWG3Gif9mV53skfJM8KNF8aeqceF7rI9lpFwFpDtzJw5fA_pumep9QJkujk9uS9X6VaLEGQsSgLr2YDbryozLTEipLuiivFzKhiugo-A-98LmGiYQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/268225d48cb04d85954a/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:45 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "826b431e-6d17-4691-b41a-63c5914caa75", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a/aebd1530c0624014a7c61a165da3438d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0_1tj5xuNAqGNCBIwVrwe8eFc1bUPI1KukNjnC--9FY7h2cViBrAOSQo7A8kZJtk7juKNzJDj-mxuG2ld6LEVPucS_48fuv_jLoyAnxHSwQcgxKS4PD9a9wGs6Joi2VqjPN1ZRIYCXRHbnWF5HggY-EXq2R-dC_YoRNvS0BHM4GPwfeoeSOo2ayB7HOFmfCCDHYGDlmMVU2YJOsQ8u61I26kc5GD5_KPHA8GCQRVUvqfUSrIJP0Zl9mdPBO7DVM0ny29L2W-5n17_bdo5ON3cTZ32jgcGVXjpxI3hKOgo970CuRiRDZX_jWitzuJCD8PMynsSiROCVUW1d9zC0obwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/d4f6d0efa0004798a364/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:46 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5fbe1991-8a09-49b4-9bf8-e031232862dd", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/d4f6d0efa0004798a364/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:50 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "13a3a5be-81b7-46e2-b0d3-a0ab023de60c", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/d4f6d0efa0004798a364/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:54 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "738", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5dba1185-c6b8-47ac-9fc1-2c9a79c2272a", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/d4f6d0efa0004798a364/f11c83e18c044f1bae32d91daca0ee0f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zR8NbSjPBVwAuLgSX8M1TNE3P2TrMsXpVXJpbDxZ6uC4kqhdSIk9z_9ogKSla6sn_s-g_Cbhbw1VxqHofe9S43KrliIY19dECCb0YpkrKWtAPNOtRIdYHk1Z_tXGi1hg4tDVtpF-M-xKUirSetUZyfd3uWCVIFxR9by69avuE28OrrHbnsUDm024hq0wKkw4iUIrQu5VgDsXHyPkTxNsYF01ngLv9inRMf0QKGTWT3c07e8Piqxu2F0V5e6AMIRVCseRHsNkr3-kZfqhTccblxEudCxh9JMsT_r95YvLd6_v69ozFGe-bM62GitPBtuCHIPPG-_iMff3kJ8k3HEiQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/b557161ec2304b958a9f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:54 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bb1a7419-892f-40cc-a369-04086daefa92", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/b557161ec2304b958a9f\",\"deletedDate\":1678954194,\"scheduledPurgeDate\":1679558994,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f/540d60622f0a44698fbc3235e28c27e2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7sOxUxBYLLxZo0b427U2k8G73ic9lPrt3o04UF19x-j3A30aMHO3EyhLTqZUXBE21gBWtHwaLfafvZ85sNRuknmkrW9jH5XeBjYMoS6RvwdixPw-z_kEhXAAkzYCXO_zShP9-EAeibyLXG0NseCiEDNq8qHgpIxniQxN5F1t9eSbFvOUn8W2S859mjuYHKwyhCjkVRWMeiCWL27kW2VqLGg01jwLq3MpEMpPIuWG3Gif9mV53skfJM8KNF8aeqceF7rI9lpFwFpDtzJw5fA_pumep9QJkujk9uS9X6VaLEGQsSgLr2YDbryozLTEipLuiivFzKhiugo-A-98LmGiYQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/b557161ec2304b958a9f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:53 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "88", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bb6e3542-77dd-4253-8935-5d11ef17dcc9", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: b557161ec2304b958a9f\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/b557161ec2304b958a9f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:55 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "88", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "87df7c5b-a97e-49b7-8f5a-4322ba3732d5", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: b557161ec2304b958a9f\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/b557161ec2304b958a9f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "23b6b298-6649-4699-b60e-d097eaeb8cbd", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/b557161ec2304b958a9f\",\"deletedDate\":1678954194,\"scheduledPurgeDate\":1679558994,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f/540d60622f0a44698fbc3235e28c27e2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"7sOxUxBYLLxZo0b427U2k8G73ic9lPrt3o04UF19x-j3A30aMHO3EyhLTqZUXBE21gBWtHwaLfafvZ85sNRuknmkrW9jH5XeBjYMoS6RvwdixPw-z_kEhXAAkzYCXO_zShP9-EAeibyLXG0NseCiEDNq8qHgpIxniQxN5F1t9eSbFvOUn8W2S859mjuYHKwyhCjkVRWMeiCWL27kW2VqLGg01jwLq3MpEMpPIuWG3Gif9mV53skfJM8KNF8aeqceF7rI9lpFwFpDtzJw5fA_pumep9QJkujk9uS9X6VaLEGQsSgLr2YDbryozLTEipLuiivFzKhiugo-A-98LmGiYQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/268225d48cb04d85954a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "05d81b7b-9a23-43fc-aba7-212c5ce63d36", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/268225d48cb04d85954a\",\"deletedDate\":1678954197,\"scheduledPurgeDate\":1679558997,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a/aebd1530c0624014a7c61a165da3438d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0_1tj5xuNAqGNCBIwVrwe8eFc1bUPI1KukNjnC--9FY7h2cViBrAOSQo7A8kZJtk7juKNzJDj-mxuG2ld6LEVPucS_48fuv_jLoyAnxHSwQcgxKS4PD9a9wGs6Joi2VqjPN1ZRIYCXRHbnWF5HggY-EXq2R-dC_YoRNvS0BHM4GPwfeoeSOo2ayB7HOFmfCCDHYGDlmMVU2YJOsQ8u61I26kc5GD5_KPHA8GCQRVUvqfUSrIJP0Zl9mdPBO7DVM0ny29L2W-5n17_bdo5ON3cTZ32jgcGVXjpxI3hKOgo970CuRiRDZX_jWitzuJCD8PMynsSiROCVUW1d9zC0obwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/268225d48cb04d85954a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:56 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "88", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e0a3fe48-e9e4-4995-ba6b-3b355251e1e9", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: 268225d48cb04d85954a\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/268225d48cb04d85954a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a38fd281-e0a9-4ac2-beb2-bf6ff6612ae5", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/268225d48cb04d85954a\",\"deletedDate\":1678954197,\"scheduledPurgeDate\":1679558997,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a/aebd1530c0624014a7c61a165da3438d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0_1tj5xuNAqGNCBIwVrwe8eFc1bUPI1KukNjnC--9FY7h2cViBrAOSQo7A8kZJtk7juKNzJDj-mxuG2ld6LEVPucS_48fuv_jLoyAnxHSwQcgxKS4PD9a9wGs6Joi2VqjPN1ZRIYCXRHbnWF5HggY-EXq2R-dC_YoRNvS0BHM4GPwfeoeSOo2ayB7HOFmfCCDHYGDlmMVU2YJOsQ8u61I26kc5GD5_KPHA8GCQRVUvqfUSrIJP0Zl9mdPBO7DVM0ny29L2W-5n17_bdo5ON3cTZ32jgcGVXjpxI3hKOgo970CuRiRDZX_jWitzuJCD8PMynsSiROCVUW1d9zC0obwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/d4f6d0efa0004798a364?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e0516a4d-d7b5-4528-84de-1d59d179e7a4", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/d4f6d0efa0004798a364\",\"deletedDate\":1678954198,\"scheduledPurgeDate\":1679558998,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/d4f6d0efa0004798a364/f11c83e18c044f1bae32d91daca0ee0f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zR8NbSjPBVwAuLgSX8M1TNE3P2TrMsXpVXJpbDxZ6uC4kqhdSIk9z_9ogKSla6sn_s-g_Cbhbw1VxqHofe9S43KrliIY19dECCb0YpkrKWtAPNOtRIdYHk1Z_tXGi1hg4tDVtpF-M-xKUirSetUZyfd3uWCVIFxR9by69avuE28OrrHbnsUDm024hq0wKkw4iUIrQu5VgDsXHyPkTxNsYF01ngLv9inRMf0QKGTWT3c07e8Piqxu2F0V5e6AMIRVCseRHsNkr3-kZfqhTccblxEudCxh9JMsT_r95YvLd6_v69ozFGe-bM62GitPBtuCHIPPG-_iMff3kJ8k3HEiQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/d4f6d0efa0004798a364?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "88", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4d999e31-6ccf-4d53-aa8e-0c0492f1280c", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: d4f6d0efa0004798a364\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/d4f6d0efa0004798a364?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:59 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "885", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3b07ed0b-4487-4a51-93b0-55f4a00c26ff", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/d4f6d0efa0004798a364\",\"deletedDate\":1678954198,\"scheduledPurgeDate\":1679558998,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/d4f6d0efa0004798a364/f11c83e18c044f1bae32d91daca0ee0f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zR8NbSjPBVwAuLgSX8M1TNE3P2TrMsXpVXJpbDxZ6uC4kqhdSIk9z_9ogKSla6sn_s-g_Cbhbw1VxqHofe9S43KrliIY19dECCb0YpkrKWtAPNOtRIdYHk1Z_tXGi1hg4tDVtpF-M-xKUirSetUZyfd3uWCVIFxR9by69avuE28OrrHbnsUDm024hq0wKkw4iUIrQu5VgDsXHyPkTxNsYF01ngLv9inRMf0QKGTWT3c07e8Piqxu2F0V5e6AMIRVCseRHsNkr3-kZfqhTccblxEudCxh9JMsT_r95YvLd6_v69ozFGe-bM62GitPBtuCHIPPG-_iMff3kJ8k3HEiQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5198", - "x-ms-request-id" : "529ecc77-eee7-421b-86e8-9106001ca34c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/201160f6b72c40d5b546\",\"deletedDate\":1678951027,\"scheduledPurgeDate\":1679555827,\"kid\":\"https://azsdktests.vault.azure.net/keys/201160f6b72c40d5b546\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/21f391b3eb6f422f8947\",\"deletedDate\":1678951047,\"scheduledPurgeDate\":1679555847,\"kid\":\"https://azsdktests.vault.azure.net/keys/21f391b3eb6f422f8947\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951031,\"updated\":1678951031,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/23f72e4689bf4fda9d56\",\"deletedDate\":1678951044,\"scheduledPurgeDate\":1679555844,\"kid\":\"https://azsdktests.vault.azure.net/keys/23f72e4689bf4fda9d56\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951031,\"updated\":1678951031,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/268225d48cb04d85954a\",\"deletedDate\":1678954197,\"scheduledPurgeDate\":1679558997,\"kid\":\"https://azsdktests.vault.azure.net/keys/268225d48cb04d85954a\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/2d6102c1604b436d9df0\",\"deletedDate\":1678954224,\"scheduledPurgeDate\":1679559024,\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/7873ce34f6e34067b26c\",\"deletedDate\":1678951029,\"scheduledPurgeDate\":1679555829,\"kid\":\"https://azsdktests.vault.azure.net/keys/7873ce34f6e34067b26c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/ad7e14042d634b6e9aee\",\"deletedDate\":1678954225,\"scheduledPurgeDate\":1679559025,\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/b557161ec2304b958a9f\",\"deletedDate\":1678954194,\"scheduledPurgeDate\":1679558994,\"kid\":\"https://azsdktests.vault.azure.net/keys/b557161ec2304b958a9f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/bf4fbe64359d4dfd88fe\",\"deletedDate\":1678951030,\"scheduledPurgeDate\":1679555830,\"kid\":\"https://azsdktests.vault.azure.net/keys/bf4fbe64359d4dfd88fe\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951027,\"updated\":1678951027,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/c18cd4b33aac43ef8869\",\"deletedDate\":1678954222,\"scheduledPurgeDate\":1679559022,\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/d4f6d0efa0004798a364\",\"deletedDate\":1678954198,\"scheduledPurgeDate\":1679558998,\"kid\":\"https://azsdktests.vault.azure.net/keys/d4f6d0efa0004798a364\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/e5ec5b7fbe8c445f9a9a\",\"deletedDate\":1678951043,\"scheduledPurgeDate\":1679555843,\"kid\":\"https://azsdktests.vault.azure.net/keys/e5ec5b7fbe8c445f9a9a\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951030,\"updated\":1678951030,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5SlRWQlBVbFJEUlZKVVVFVk5ORFUxT0RaRE16Y3ZPVVkzUlRneU1FTXhRekV6TkRReE5rSkJNa014T1RFeU1FWkNSamN3UVRjaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJV3RsZVM5SlRWQlBVbFJEUlZKVVVFVk5ORFUxT0RaRE16Y3ZPVVkzUlRneU1FTXhRekV6TkRReE5rSkJNa014T1RFeU1FWkNSamN3UVRjaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "5941d971-3be0-4695-8c41-247d0ae5e2a5", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNd01ETTNORUVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNd01ETTNORUVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "5d79a090-481b-44ea-a0bf-6b11b638425f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVEZ3lOekU0TnpBdk5EZEVPREF5UWtRMU1USkRORUZDT0VFMk5URTVSVVExTnpCQk5FSXdRVEFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVEZ3lOekU0TnpBdk5EZEVPREF5UWtRMU1USkRORUZDT0VFMk5URTVSVVExTnpCQk5FSXdRVEFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "370c457c-bd38-4864-a784-6d98f88793a7", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9ETTVOemczTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9ETTVOemczTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "368", - "x-ms-request-id" : "fba9146f-1308-4242-8a7d-7aba94cc2dd3", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWTlVSRVZNUlZSRlJFTkZVbFEwT1RReU16aEZMek00UXpVM1JUSXlNakU0TVRRM01VVTRSamRDT0RORE0wTTJNelkyUVRJNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJV3RsZVM5TVNWTlVSRVZNUlZSRlJFTkZVbFEwT1RReU16aEZMek00UXpVM1JUSXlNakU0TVRRM01VVTRSamRDT0RORE0wTTJNelkyUVRJNElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "8c611d40-75a1-4d9e-9e3c-73b06df7e00f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVMwVlpNVEl6TnpNNVJFRXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVMwVlpNVEl6TnpNNVJFRXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "21fea11d-7e29-4003-ae14-135b6541c39d", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTBJV3RsZVM5U1QxUkJWRVZMUlZrNE1qRTNPVEZCUlM5RFFqQTNNamRET1VJNE1VRTBSak0zUWpFMFJqazFPRGxFUkRZek9EY3lSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTBJV3RsZVM5U1QxUkJWRVZMUlZrNE1qRTNPVEZCUlM5RFFqQTNNamRET1VJNE1VRTBSak0zUWpFMFJqazFPRGxFUkRZek9EY3lSU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "16601f62-12b6-49d6-9541-ee6f22854a28", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV4T1RRM1JESXhNVGMySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV4T1RRM1JESXhNVGMySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "363", - "x-ms-request-id" : "0ce2e7ca-7d6e-42b5-a4de-7991c5a37873", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRJMk1qQXhOell5TWpVNUx6TkRNekF6UmprNE1qSkJSVFF4TURrNU1UVTVNamd3TlRkR056RkJNamt3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRJMk1qQXhOell5TWpVNUx6TkRNekF6UmprNE1qSkJSVFF4TURrNU1UVTVNamd3TlRkR056RkJNamt3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "3ea42c10-e319-427f-9310-555adaa85352", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRFF5TmpFNFFqWkZOa0pGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRFF5TmpFNFFqWkZOa0pGSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "363", - "x-ms-request-id" : "2c247adc-fcd8-41e0-aef7-aed2e520e440", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRZek9EUTBOemhGTlVKR0x6SXlPRGxGTUVKRFJEZzNOVFF6UkVaQk56VTRPRE0zTVVZNVJqaEZPRE5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTJJV3RsZVM5VVJWTlVRMFZTVkRZek9EUTBOemhGTlVKR0x6SXlPRGxGTUVKRFJEZzNOVFF6UkVaQk56VTRPRE0zTVVZNVJqaEZPRE5ESVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-request-id" : "84b7feff-23a9-46ef-be16-d0b69d0b0a04", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGd5TWpJeFEwUTJOMFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGd5TWpJeFEwUTJOMFk0SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "357", - "x-ms-request-id" : "a027349c-4b79-446a-8d03-d99b7f6142bc", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTVRBek5EYzFPREl5THpWR1FVRXpRVU5DTlRBNFJEUkRPVUZDT0RjM09VTXpNek01TTBWR1FVUXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTVRBek5EYzFPREl5THpWR1FVRXpRVU5DTlRBNFJEUkRPVUZDT0RjM09VTXpNek01TTBWR1FVUXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-request-id" : "9473722a-e77c-4e11-abc3-464655b7cb41", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpORGsxTWpFNU1FWTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpORGsxTWpFNU1FWTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3516", - "x-ms-request-id" : "b335175d-bd97-41ca-8cbc-e42c596c6f2c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey506663ec4\",\"deletedDate\":1678951048,\"scheduledPurgeDate\":1679555848,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey506663ec4\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951048,\"updated\":1678951048,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey518870643\",\"deletedDate\":1678954211,\"scheduledPurgeDate\":1679559011,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey518870643\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954210,\"updated\":1678954210,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey534828169\",\"deletedDate\":1678951047,\"scheduledPurgeDate\":1679555847,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey534828169\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951046,\"updated\":1678951046,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey555546c07\",\"deletedDate\":1678954207,\"scheduledPurgeDate\":1679559007,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey555546c07\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey605172463\",\"deletedDate\":1678951014,\"scheduledPurgeDate\":1679555814,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey605172463\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey60701987a\",\"deletedDate\":1678954169,\"scheduledPurgeDate\":1679558969,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey60701987a\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6635707ed\",\"deletedDate\":1678951014,\"scheduledPurgeDate\":1679555814,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6635707ed\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey6956343d5\",\"deletedDate\":1678954168,\"scheduledPurgeDate\":1679558968,\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey6956343d5\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTnpVeU16RXdPRVV5THpoRFJERXdNelEwTVVRd1F6UkZPVUZCUkRRNE1qaEdSVE00UkRBd1JVTTBJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTnpVeU16RXdPRVV5THpoRFJERXdNelEwTVVRd1F6UkZPVUZCUkRRNE1qaEdSVE00UkRBd1JVTTBJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "308", - "x-ms-request-id" : "2fce827c-ea0c-4095-9ad1-d1751724144f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RjM01EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedkeys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RjM01EUWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "28", - "x-ms-request-id" : "ec4cc965-1553-42b2-8248-9d119e29cf06", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "268225d48cb04d85954a", "d4f6d0efa0004798a364", "b557161ec2304b958a9f" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/2800fa5c9aeb482586f5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ed6aed7c-a21c-4aa3-90c6-9dc243fd0882" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/keys/2800fa5c9aeb482586f5/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8d645f3f-ae81-4725-af18-ce86a11811b7" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/2800fa5c9aeb482586f5/4edf819c15b9449ba46892a340d84c55", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wZnhLNhjPWhTsovOAjID_z1R5EPWTZFEF1Q16Jn_W72mQxeBa13iK9f9erWR6hggKb7HPmnCMFJsikIP-TF9HMyPzJB4Tlyz7kr9nSqciO9a8vRDWIldMMKFroZHVkJr4l0A3pdsOr_b6yEK_N7kLuC4NNdfgIbWQ-QRbJoBjgtW8nax-BNNAEDh9riw1Nw1JZ_no5HzNZcPZ9F1iBZrc1rXCv5rquGT-w9n_YkFvzrGg77whAi9_2DkzIEcDOZomDqAKQJgeY-atOIMf7ldOjyn2TUrfGquFdBUxG2sgct2XnqPHMRnNJ8_YSBwSv1SfnB4nE8fQmTwyILXuOZtUQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/f25cb70c8f614398a35f/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ef569c02-7780-4a6a-ae5e-5ca915555c53" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/f25cb70c8f614398a35f/591239e8ae5a4b5684ecf11def9ede0a", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "zvtovjgd0qf-wWW2Hat-kouxD8Tx-1IZBM8ogqqn9ytr7GUc0RstV3pLYMATFiP5iiqi-FV3CPVK17S77CW9gDOQIyVCLkvZ8oAQjOSMsUSkPPoYZmrdq6NinpvDYUrJT7T5MbW3XfYGacsiLKv4pVQPtn-bFz5LJk6lnd1MhS96edAhQZ5x48u8DJIsomxpcf7xugR681oZobHmT60dQWwudD3McXIUjWgKZNFXIoo3z3xGwITs3PpLdMbG2vwwyJ6txklfPf0Bv5op1RHq3TxP4-WUY94sFFeJ5fc7crG_qkukveuEqWs10VFXddfDimKfmIi7iVby1pJw96EX_Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/1fc4269c1a3f44f3843a/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3799353600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "736", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f68d5679-8b1e-4398-95a2-11ec7fb45981" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/1fc4269c1a3f44f3843a/47e3fbd8864f424bae4c62ddb847674c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uYFXVifL0AyNW7FyKoSBTkWEc-jtWYvrnPBzySlP5RuNZ-ELJaI-fHTv707-TvlK273dGxZrxMUoyd5-86Fut8pZ6uAeCfiIFkhD1p7ispRJRlLHlzB2ct7hooqj715cFppmZ6aWHthBklSpIJ1yxfXBEID-gdsU-iWrti3zMDjZllU7lBwQq5p1uUn2FiUtESL3D_etkhfPnCCMv9ZUmL3yA-2ZpdDgGzpItkpAPj8XsqyS3dGYiX3NI2OJgF0sw6_9BIQXUTTHehZiVd_LPusRXSb91g9Km7W49CnQKdzvQaQSUbvgnFWY7ACD_1TVfxvskXO-YuJl96LM93IYoQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/2800fa5c9aeb482586f5?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "505eb531-1e54-4532-9e9e-e61e97d6270a" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/2800fa5c9aeb482586f5", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/2800fa5c9aeb482586f5/4edf819c15b9449ba46892a340d84c55", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wZnhLNhjPWhTsovOAjID_z1R5EPWTZFEF1Q16Jn_W72mQxeBa13iK9f9erWR6hggKb7HPmnCMFJsikIP-TF9HMyPzJB4Tlyz7kr9nSqciO9a8vRDWIldMMKFroZHVkJr4l0A3pdsOr_b6yEK_N7kLuC4NNdfgIbWQ-QRbJoBjgtW8nax-BNNAEDh9riw1Nw1JZ_no5HzNZcPZ9F1iBZrc1rXCv5rquGT-w9n_YkFvzrGg77whAi9_2DkzIEcDOZomDqAKQJgeY-atOIMf7ldOjyn2TUrfGquFdBUxG2sgct2XnqPHMRnNJ8_YSBwSv1SfnB4nE8fQmTwyILXuOZtUQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/2800fa5c9aeb482586f5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "88", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "27289ad0-5805-41ed-aa6c-3224a66d7a60" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: 2800fa5c9aeb482586f5" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/2800fa5c9aeb482586f5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "41d410ac-08d1-4d6d-af4a-f7d4a972c884" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/2800fa5c9aeb482586f5", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/2800fa5c9aeb482586f5/4edf819c15b9449ba46892a340d84c55", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wZnhLNhjPWhTsovOAjID_z1R5EPWTZFEF1Q16Jn_W72mQxeBa13iK9f9erWR6hggKb7HPmnCMFJsikIP-TF9HMyPzJB4Tlyz7kr9nSqciO9a8vRDWIldMMKFroZHVkJr4l0A3pdsOr_b6yEK_N7kLuC4NNdfgIbWQ-QRbJoBjgtW8nax-BNNAEDh9riw1Nw1JZ_no5HzNZcPZ9F1iBZrc1rXCv5rquGT-w9n_YkFvzrGg77whAi9_2DkzIEcDOZomDqAKQJgeY-atOIMf7ldOjyn2TUrfGquFdBUxG2sgct2XnqPHMRnNJ8_YSBwSv1SfnB4nE8fQmTwyILXuOZtUQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/f25cb70c8f614398a35f?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c01bdbcb-e965-475c-89b8-0770412be50a" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/f25cb70c8f614398a35f", + "deletedDate": 1681269680, + "scheduledPurgeDate": 1681874480, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/f25cb70c8f614398a35f/591239e8ae5a4b5684ecf11def9ede0a", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "zvtovjgd0qf-wWW2Hat-kouxD8Tx-1IZBM8ogqqn9ytr7GUc0RstV3pLYMATFiP5iiqi-FV3CPVK17S77CW9gDOQIyVCLkvZ8oAQjOSMsUSkPPoYZmrdq6NinpvDYUrJT7T5MbW3XfYGacsiLKv4pVQPtn-bFz5LJk6lnd1MhS96edAhQZ5x48u8DJIsomxpcf7xugR681oZobHmT60dQWwudD3McXIUjWgKZNFXIoo3z3xGwITs3PpLdMbG2vwwyJ6txklfPf0Bv5op1RHq3TxP4-WUY94sFFeJ5fc7crG_qkukveuEqWs10VFXddfDimKfmIi7iVby1pJw96EX_Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/f25cb70c8f614398a35f?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "88", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ace6b37a-36b0-4baf-b548-396fd26f9f82" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: f25cb70c8f614398a35f" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/f25cb70c8f614398a35f?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9b7b4b0c-e322-4786-be8b-6e60f43d1969" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/f25cb70c8f614398a35f", + "deletedDate": 1681269680, + "scheduledPurgeDate": 1681874480, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/f25cb70c8f614398a35f/591239e8ae5a4b5684ecf11def9ede0a", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "zvtovjgd0qf-wWW2Hat-kouxD8Tx-1IZBM8ogqqn9ytr7GUc0RstV3pLYMATFiP5iiqi-FV3CPVK17S77CW9gDOQIyVCLkvZ8oAQjOSMsUSkPPoYZmrdq6NinpvDYUrJT7T5MbW3XfYGacsiLKv4pVQPtn-bFz5LJk6lnd1MhS96edAhQZ5x48u8DJIsomxpcf7xugR681oZobHmT60dQWwudD3McXIUjWgKZNFXIoo3z3xGwITs3PpLdMbG2vwwyJ6txklfPf0Bv5op1RHq3TxP4-WUY94sFFeJ5fc7crG_qkukveuEqWs10VFXddfDimKfmIi7iVby1pJw96EX_Q", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/keys/1fc4269c1a3f44f3843a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5e3cbe01-505d-4bdd-a989-7a069bd89239" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/1fc4269c1a3f44f3843a", + "deletedDate": 1681269681, + "scheduledPurgeDate": 1681874481, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/1fc4269c1a3f44f3843a/47e3fbd8864f424bae4c62ddb847674c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uYFXVifL0AyNW7FyKoSBTkWEc-jtWYvrnPBzySlP5RuNZ-ELJaI-fHTv707-TvlK273dGxZrxMUoyd5-86Fut8pZ6uAeCfiIFkhD1p7ispRJRlLHlzB2ct7hooqj715cFppmZ6aWHthBklSpIJ1yxfXBEID-gdsU-iWrti3zMDjZllU7lBwQq5p1uUn2FiUtESL3D_etkhfPnCCMv9ZUmL3yA-2ZpdDgGzpItkpAPj8XsqyS3dGYiX3NI2OJgF0sw6_9BIQXUTTHehZiVd_LPusRXSb91g9Km7W49CnQKdzvQaQSUbvgnFWY7ACD_1TVfxvskXO-YuJl96LM93IYoQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/1fc4269c1a3f44f3843a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "88", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2c3c7a46-cefd-4135-9e2d-80777c8f6bb8" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: 1fc4269c1a3f44f3843a" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/1fc4269c1a3f44f3843a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "88", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d0bc0e21-4264-4679-9639-1972743210e8" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: 1fc4269c1a3f44f3843a" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys/1fc4269c1a3f44f3843a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "881", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "130037c4-f3a6-4f66-a8b3-955d4e3a30f6" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/1fc4269c1a3f44f3843a", + "deletedDate": 1681269681, + "scheduledPurgeDate": 1681874481, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/1fc4269c1a3f44f3843a/47e3fbd8864f424bae4c62ddb847674c", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "uYFXVifL0AyNW7FyKoSBTkWEc-jtWYvrnPBzySlP5RuNZ-ELJaI-fHTv707-TvlK273dGxZrxMUoyd5-86Fut8pZ6uAeCfiIFkhD1p7ispRJRlLHlzB2ct7hooqj715cFppmZ6aWHthBklSpIJ1yxfXBEID-gdsU-iWrti3zMDjZllU7lBwQq5p1uUn2FiUtESL3D_etkhfPnCCMv9ZUmL3yA-2ZpdDgGzpItkpAPj8XsqyS3dGYiX3NI2OJgF0sw6_9BIQXUTTHehZiVd_LPusRXSb91g9Km7W49CnQKdzvQaQSUbvgnFWY7ACD_1TVfxvskXO-YuJl96LM93IYoQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d4e52c9d-8ebd-45d4-8b7f-a22f67afb4da" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/1fc4269c1a3f44f3843a", + "deletedDate": 1681269681, + "scheduledPurgeDate": 1681874481, + "kid": "https://azkvrecordtests.vault.azure.net/keys/1fc4269c1a3f44f3843a", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/2800fa5c9aeb482586f5", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "kid": "https://azkvrecordtests.vault.azure.net/keys/2800fa5c9aeb482586f5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/4fa7f90520004bbe875b", + "deletedDate": 1681269688, + "scheduledPurgeDate": 1681874488, + "kid": "https://azkvrecordtests.vault.azure.net/keys/4fa7f90520004bbe875b", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/864b42db022c44f2a33a", + "deletedDate": 1681269691, + "scheduledPurgeDate": 1681874491, + "kid": "https://azkvrecordtests.vault.azure.net/keys/864b42db022c44f2a33a", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/a874a3dd019c4f0d8fd9", + "deletedDate": 1681269689, + "scheduledPurgeDate": 1681874489, + "kid": "https://azkvrecordtests.vault.azure.net/keys/a874a3dd019c4f0d8fd9", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/f25cb70c8f614398a35f", + "deletedDate": 1681269680, + "scheduledPurgeDate": 1681874480, + "kid": "https://azkvrecordtests.vault.azure.net/keys/f25cb70c8f614398a35f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVESTRPVGMwTlRBdk5qZ3pPVUpDUkRZNVFqTTFORGc0UlVFNVFqazVNVVJDUkVNeU5UYzVNamdoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVTFJV3RsZVM5S1FWWkJTMFZaVkVWTlVESTRPVGMwTlRBdk5qZ3pPVUpDUkRZNVFqTTFORGc0UlVFNVFqazVNVVJDUkVNeU5UYzVNamdoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1cd90342-3c9c-422c-901d-ac2cf57353d6" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "28330d0e-ca5a-4e43-805d-0e89e33aea92" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVTMFZaTVRVNU1EUTFRalk1THpWQ05qRXpOVFZDUXpaQ1FqUkNNVE01TkVJd05EUXlNRVF4UVVReVJFSkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVTMFZaTVRVNU1EUTFRalk1THpWQ05qRXpOVFZDUXpaQ1FqUkNNVE01TkVJd05EUXlNRVF4UVVReVJFSkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4a4c5547-5578-49fa-9b59-25a38da8cf6c" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREEzTkRjeU1FUkVORVUxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREEzTkRjeU1FUkVORVUxSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b6d0e5d5-cc26-4787-accc-00ddc35b722e" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRVeU9UUXdRMEZFTHpBMU16SkRRMEV4TWtaRFFUUkdORU5DTURNelF6Z3hSVVpHT0RnM09FWXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVRMFZTVkRVeU9UUXdRMEZFTHpBMU16SkRRMEV4TWtaRFFUUkdORU5DTURNelF6Z3hSVVpHT0RnM09FWXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "07a93b06-8651-43c0-911e-036bc88152f6" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt4TlRreE1FVkJSVEF6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt4TlRreE1FVkJSVEF6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9d8d01b7-a4a2-4cd9-82d4-9fa963a68dcd" + }, + "ResponseBody": { + "value": [], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTXprMk5qVXlRVGMyTHpKRFJVVTVRVFpDTWtWRU5UUkdRa1pDTnpWQlF6WkdNekl4T0RSRFEwSkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5VVJWTlVTMFZaTXprMk5qVXlRVGMyTHpKRFJVVTVRVFpDTWtWRU5UUkdRa1pDTnpWQlF6WkdNekl4T0RSRFEwSkNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "804f22e4-e061-46d4-8073-8b4401e13fbb" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey5338851c6", + "deletedDate": 1681269708, + "scheduledPurgeDate": 1681874508, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey5338851c6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269708, + "updated": 1681269708, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey585510f07", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey585510f07", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey665999479", + "deletedDate": 1681269678, + "scheduledPurgeDate": 1681874478, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey665999479", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey675388088", + "deletedDate": 1681269679, + "scheduledPurgeDate": 1681874479, + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey675388088", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269679, + "updated": 1681269679, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RrNE5EQWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedkeys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJNElXdGxlUzlVUlZOVVRFbFRWRU5GVWxSV1JWSlRTVTlPT0RrNE5EQWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3eeb0d8e-e9fb-40d6-bbd8-258966cb9a07" + }, + "ResponseBody": { + "value": [], + "nextLink": null + } + } + ], + "Variables": { + "0": "2800fa5c9aeb482586f5", + "1": "f25cb70c8f614398a35f", + "2": "1fc4269c1a3f44f3843a" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeyVersions[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeyVersions[1].json index e4b2ed1e7bcc9..c4172933cf939 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeyVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeyVersions[1].json @@ -1,229 +1,358 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fba320f8-c191-4511-a7e2-eb1321e4272b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:35 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2620320f-cebf-400e-b9f7-451abcbcade6", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797280000 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cc513e19-f446-477f-ab09-47183dbab1d6" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/e57bef0a99ef4b3bbaf28271c35f9f65", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "051HS3OEkgl7iPl7K_2oqJcGS8iN6Ad90SBGItlgrPpgFbSwvFaJ-SAvIT8HdWU93Tf4Aq64XEj55kXRfQ-dymK1OKc2KpYFYAocszQ2BxrMevMcCybqASTd_Gzuy7rsvtkd1GVyvnE6512SMwsy8VcdIALpSdKm1s3B12QmyX_DsreJvsaJYfWvCbFOa9nbvZVTo33cPSjB2zuKlD79IRimW_Ynadb7mA8EkvYHeuPjT7VRZa30ExRQ1RGkZAVsICQ5OtiBtq-bjJkWZqhELnf-eHm7chpyVqFfkoAicamwkl6-koIdYzHaGtZ2fo1bNrKENtAbTPK_dXkaJgYEzQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681271005, + "updated": 1681271005, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797366400 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1f10fc29-a85b-46fc-8923-a97eddec36ca" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/a27e40fea0664eb8a50bb876e4eeeb8a", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "zyG1kSvdmEmw-wJdKr15fzyHFT91JzhlwDb533V9EoVcRd4R4WWhoqiSs5_r7WD4CuCfdUMratf-EdpAAsRRIAhzjUOQUkGqT8CsXQABGSjAa4kyYqJY8JphL-NVlq_GPaa6ndbOWitViRy07UXCXHhSg2zHq4RIjdTc_O74c3jEtnW1HIAYx4Pa-m8xMyH6n547ExKrL95VYCXuxxaxyqRJE7BpTMt-MukdB5pMCdPXzzHvQcbG93_-Ab0WOjWc55Z9BdX7YEcE2RulxesKKfGuDgCm-3Q9xEZjD5-1NQy6-1QyUOQqrrflxGRgXFW4TpUlu2gOQTbMckxY0X2rMQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681271009, + "updated": 1681271009, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:38 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "248d864b-b4c1-4622-843e-59fbdb6d7495", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797452800 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f0db623-4226-47fd-9841-79b8edc3f971" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/92114311a9594ae683cecd9f33ce5c73", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oT-9Fvn-vM6bup6Q1ejTF1rFabgQTcsZSEx4XbeAtg8jKbV9M1xUbWptvfyAJxe7_-Pr31jNBQyPYGmnyOaBcOdVb7uoXF2TJpNWeyUfOu0fKLTffsxQHpdvGJnXWDs0m1N3SqVlJdzPxf2uyeJHS1UI7SRAkPlHp1CHub8Rkhc-JjXF4ZZ8Lj0qiih6VDsmrwUmQakQkLl5gqKNR-06SVuZ0DnUb-Me1ZE_N5HeHLCA0fmd5Q_wr75B7jF888l6SAsRleP_nT89M8kXjCQdmRCfBgx7Jp5dHYDQilxa5LD3ItBJtAVBStRuzn3p8v3rZcVGbg4vtwSQH02RWfjcfQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681271013, + "updated": 1681271013, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 3797539200 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "735", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a9c2da4b-8be1-4d22-8ced-86d11e26c44e" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/a27a50935af9424badb61617ab9119ba", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "wEs7ixp96PsYaydFyYKZbPFkv5YhmJcTb2vGWAcKabfiuReniDYsqhOIiIbyMeaUA2e0RfKpr-8OD2fHA_0jX3y7K3R5W8m6Rfufgw58sifMZ9ghVDvRlP89rpgGkoOr1C-dS2reh21YJKKlFJ-CEIXRklEtm3ORxRDvL3Vc8uFF4239AzAResanVjUcyu6HpHtimK_1dOfuBKAGbm-zVXbUIt7oevAsymGavzo1bfTeII0YW_2Opp3ixqiI6xFbYi8vqWmmesd3ScEIn_FHNgypQihrgwtIBZ1KpCOrcOSQhzA9CLvuNWEcDucbKpn91Nc_Orc02FcRrJuvtD4NlQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681271017, + "updated": 1681271017, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c660b4da-70cb-432a-86da-fb596e2ff2ca", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/323905053d444b998d4faf8dd3ccb362\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s_5ifhkKZgBVjqTT9sLUOa6TsLlQpROjUmqYnKWbx6KYncRaC4G7ikscIIqPpX9Jac_I1TFMIGCMM8Y9QhNXfpTldwQQ7VpPUDVbPGyscLjwDOblDiReCLP8LhFId6gQa34jLhdaY9AZxyZ5AW8W8VbmPx5QhtpRujgSNCw6doK4rBRSWjoU4QciebpofmtZ_fSRKpgC0NzNRqSxn_yk4ZMkCGqX6WZR2EBs0AhvKQC9zFmGAabVI7nD5pJGJTujECKcyvJIUrfdb-nP-_LoOqCCboZdvM0DJr6Um44A3YfaLc4QNIX05L9qErpGM-awQ-NwExUTd1tc_XqF1XxfHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:47 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "700d34d8-dbaf-4624-9a61-0a1ac76bf124", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/90f9a87062a64fe4ba52bf59e1362999\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2aIuhEHELWUaHtoiKMwl2t0AbsxvczVnIMlnwPCvRA_7qvasDbprotKuSgkmi_pVy2LyR2fIqgJoCEoKDTM-Yc0aZxUARVRXRocqvXY2_rPGVmp2wzSao9hBWAWraL_q6PjoC1M2Tvn3ODqI5X1cswxUHWi88JjKAafusvdSv286PXnNNjxraA5EHWY4apR-Nlz-53DXkvm-CMhFVCKLJaTIUsAW_VyF_S9jH55f0gON0_9fqLN7Zn6mwHkI1ovWse7N2vYVJmVo_YiEWFVbhjG8k2gkgeQXoYphyEwO3LB1VGwqkQJDw7PbjUCvLjGoJMMeiV3m8keCR1aw62c7YQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954187,\"updated\":1678954187,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:52 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "7ed6436c-99ee-465e-bfe0-73cc68b61545", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:54 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a31ba2f5-9bd6-438e-97cb-c2b52b5b2a32", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/b22ae7a61ea84262945e9ff0ed7c038f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ziTLWzBB26e90sLj6BcjfOSkgusvnQCxZiekkuKA51as2hTmAdD7eyYH2IrNf7yUN-N_uuBdBvmkDJ2rDiiFY_CIJRwmwx4RljprfqKr_CjDKmldoY54uU6eoW0jmgP5hPIvK39YHtoUbiVCm-YuSLliAtzWomup_qX1au5qZLFvZHSjYPRxyMHjLE4Dh-Jc7vx5crAJeHlxdhGMPulOr0hejzXiRkHGj2TPfq6ppNYq7V7BemErQgHQK7V68VcFBtvsoygWeRGg2CloFZvZ3zny6gsZfXNHIrzNP4bXVtgapBEFdrp74UIJTJfWJMgc8Xbh1Pys2YzxeGK2jTG37Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "429", - "Date" : "Thu, 16 Mar 2023 08:09:58 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "146", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d0f791bb-c0ff-4bd0-b8ad-24b22effa530", - "Body" : "{\"error\":{\"code\":\"Throttled\",\"message\":\"Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "737", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fea40983-a328-45b6-aaa0-cc5ab54010f3", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/8d9f519d0f5e45d2998062122a7ff947\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"pNvDM3xnBPEkCHaOKmpXnhgMSVaBji4s2crqSm9s4yEQM7jpNnpBPsb2m9G0MoYgcv2ddvC1A9-_g5Y3rLLHaaoQJ2baaZzMSLh12lZYwgI28senKMEYbb7Ah5q5tmQbdib5EfgPf8qf8fJ5t3q50KX-IJW3BLYylFvPUZyXAYFnPRxj5yDWrWdQWEqyUYqgKKp3njKMRA77BiT63CC810jDSW1LMN8cLQ6dC3o0s_PFMNDoIcZDRNW6ayK9lco7CKI4xOcds7y5rRSqWFGD_FhhV7jKNEIXrot63f5zm4mQJQ5ap5v8pqYJzD-HovAdF6_sAg-E722KJPl8PIc_rQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954201,\"updated\":1678954201,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkeyversion32340/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1179", - "x-ms-request-id" : "5467986c-aa64-4267-86ac-7a9332c7e102", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/323905053d444b998d4faf8dd3ccb362\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/8d9f519d0f5e45d2998062122a7ff947\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954201,\"updated\":1678954201,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/90f9a87062a64fe4ba52bf59e1362999\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954187,\"updated\":1678954187,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340/b22ae7a61ea84262945e9ff0ed7c038f\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listkeyversion32340" ] + { + "RequestUri": "https://REDACTED/keys/listkeyversion13418/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1171", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:43:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6e61cf8f-e467-404f-a87b-197b2822ff88" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/92114311a9594ae683cecd9f33ce5c73", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681271013, + "updated": 1681271013, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/a27a50935af9424badb61617ab9119ba", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681271017, + "updated": 1681271017, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/a27e40fea0664eb8a50bb876e4eeeb8a", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681271009, + "updated": 1681271009, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion13418/e57bef0a99ef4b3bbaf28271c35f9f65", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681271005, + "updated": 1681271005, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listkeyversion13418" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeys[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeys[1].json index b15128512cab5..6d1379a26c2ae 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeys[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.listKeys[1].json @@ -1,254 +1,1424 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey065534755/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/listkey032723001/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a833f8fe-8070-4dca-9b61-1909b480bf0c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:02 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "94f9358d-98dd-47d8-b5b8-1bd9dfc5cb6b", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey065534755/8cdaf2afa28d4bf180756681f0f3c2e5\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0i3EvgDxk0NBcE6IjUe7J4Ctk0ajRUfJCnMrAWog3yiU4k3yX3ZKrTk5-hjtJ0I-Gy0eUgJt3v_ixtKEM3f5zNLnqnRPtnIavV_51uJekwEE08M2oF5LYESfx4FbZrox6b0Rzhl2eH7W_-T38ccQoQKUEqjoP40Xl_jstSQEOuYAgFVAzxIOcAfTkatbCNylFKw_CFywL_j4hlcSD_mQJuAA1s8dATdhlbasuQltNVXT7UsvDhvqTrkBP72ZcfZwya9ser96_9vam0R-GYDQcjh-pwdPqdK7gl4BrlYrMCg44GRLW_3JLFN4FsRrOFE2fWKlAP6sztdX_4m3xslRwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954202,\"updated\":1678954202,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkey032723001/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "49c7541a-a3e5-4df2-bdd4-5aee10987fd3" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey032723001/b51f207c98e24726bec61d641d118542", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "nxMJUtzB7Ya7dJo1XflDI4GcsYMwHFWbKvJ8SHm5JJYLnbrsoK8OW8sLlAWlR3Uwyuggl5AGG4aWc1U-30zQ1QQtVFWTB-9PGTjupw66SwYsd0vATyJdp7bWp93CLbEJm-07ZUi3j-WNDgfy1ML5YEuJ7Linl7Pg1nRwEz3LDYS_H62m0m9puFaDWCWpKk8Xj_n6g2ywC7G4CAo15rEzOQJnBSu9CqkWLv0WQZNg6fcSh1FChIrCOJ1npV-T3OKrySBfic-sBI6JWSCMpIFq5rmTKUXU-TSEIIYsQAhnjaRkbR7QRui0ClUy80q4Y5aaaZGnPwAsEmmWfot9L9tmrQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/listkey1023948c1/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkey127903b45/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c9d8701f-b1df-4159-a305-c319ea251aec" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:07 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "85c4c9b9-e802-4ca6-abc9-08b103dcf326", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey1023948c1/2d0d01b1aa3c4b73a1d3e54a9e25a1a6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0JQ5PhLFs-JRRGpb5W0Fd1EW_GP-4dO4506Kov4CsHevTvyEtBH1TFfsmrPEeMaQfz3z3zX9GHBJbWSGkuuSv-1Mh1zwlR5kgvCZgfjmB4cbivkBPbDsPeHeAjQZRHb258KhFPlreh2Yz8GL1JxFtAOkt9vopEiXp6zTw3KDgmtAAYWllF-r0dDNcDKpXcz0_tgb72nnGTQ9qL4BdkonUkJvMYMjYAzx3AKzBVyR7Kbe3sjTb5eYy6oBAhSwSAX7ok1qN5Oraz7VJ8-zq8CY52uwa36wwaaIoJlJWbFwMh00QUnzU7RY19dXR9IrTTPx2deEiJv1eH10jviYTyfReQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/listkey127903b45/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 429, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "146", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "31fd7e40-f93c-4882-8943-f1bb037ceeba" + }, + "ResponseBody": { + "error": { + "code": "Throttled", + "message": "Request was not processed because too many requests were received. Reason: VaultRequestTypeLimitReached" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/listkey127903b45/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d1342b2b-9b6f-478f-ad2a-1371a267356a" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey127903b45/bb5a4d68b17c449fbded02f19cef7cc5", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "u8m5SFfjofCn6Z0BW5SRnRGAT8j4mS0wc3EpCfCC4o4NYhmdMU3o_rs69cMOtgw28N6REkeMP-x4hkMLdxfQ4-8owvoA6JPWWq8NdNp-bmlWfp-I8Rbw4Xu9Z_kBnwv_Xt-EuE_J7Zf9c8jLMV4OG0OyhKNVI7yMqdTqUMDHlLSgCzIM3DhOpdYAgsngtXLwfL9-9jzCj1LuFM_7T5Gd9HN9KweeK6JvflqGpkVXIvFkJoPuH4Y04_XfbsS1eZ552HrpAbgSStFHAK9LFkZGUO5ApNa5YskRQwW0uFCsnQXVWJ4mAQRZqF74AX2PVAcsF1MUHGGk39fkBfG43ASsaQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269692, + "updated": 1681269692, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4844", - "x-ms-request-id" : "cf716358-d6c7-4a59-a63c-fbabe9504e20", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/2d6102c1604b436d9df0\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/ad7e14042d634b6e9aee\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954212,\"updated\":1678954212,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/c18cd4b33aac43ef8869\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954194,\"updated\":1678954194,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem45586c37\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem70052b83\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem849004cb\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpem92624d14\",\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs18458ce7\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs27461b85\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs60786327\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/importcertpkcs75353a38\",\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0351650\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp0444800\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp12856ff\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp294866d\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954185,\"updated\":1678954185,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp300374a\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNM01EVXpPRUloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5676", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "beaa1f72-692b-42d6-b368-2619e1f80131" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem36190600", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpem88272c66", + "attributes": { + "enabled": true, + "nbf": 1581722236, + "exp": 1739402236, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs0802660b", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267922, + "updated": 1681267922, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/importcertpkcs72765dc3", + "attributes": { + "enabled": true, + "nbf": 1677892443, + "exp": 1709428443, + "created": 1681267917, + "updated": 1681267917, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "key": "val" + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp10580ed", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp19980ab", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp2897450", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp46933d1", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp48817f8", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp55637e7", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp657262d", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp75324e4", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8730681", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/javakeytemp8919662", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "foo": "baz" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey019934147", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey14364bdb0", + "attributes": { + "enabled": true, + "nbf": 1681267351, + "exp": 1712890351, + "created": 1681267952, + "updated": 1681267952, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey1765847e0", + "attributes": { + "enabled": true, + "nbf": 1681267331, + "exp": 1712890331, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey28482fa02", + "attributes": { + "enabled": true, + "nbf": 1681267320, + "exp": 1712890320, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey35523cfe7", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlLUVZaQlMwVlpWRVZOVURNM01EVXpPRUloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RNM01UYzBNMFpGTXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5070", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "91ce7de7-4b49-44cd-9f33-ced843552131" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey371743fe3", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey53952219e", + "attributes": { + "enabled": true, + "nbf": 1681267375, + "exp": 1712890375, + "created": 1681267975, + "updated": 1681267975, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listcertkey73640952b", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1712890317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey032723001", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey08514245e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey127903b45", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269692, + "updated": 1681269692, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkey159045b69", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/listkeyversion34156", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/myalias", + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey111498f7", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey27056f79", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey66098157", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey7308409f", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey8567757a", + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey97102ac5", + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert01202f7c384", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert04277a19e08", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert05792b1d900", + "attributes": { + "enabled": false, + "nbf": 1681267338, + "exp": 1712890338, + "created": 1681267939, + "updated": 1681267939, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert074720dd4e5", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV5TWpRNFFUbEdRelkzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "7328", - "x-ms-request-id" : "b150f213-05ee-45dc-b3a2-9c0cebb9b43a", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp370538b\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp40102fa\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp413848d\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951050,\"updated\":1678951050,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp468463f\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp46941b0\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951023,\"updated\":1678951023,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp4729817\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp49599dd\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp5086828\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp570822c\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp6160387\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951025,\"updated\":1678951025,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp6909297\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp8271870\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp9323148\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/javakeytemp97329b5\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951027,\"updated\":1678951027,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"foo\":\"baz\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey020515346\",\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey140384932\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey14728c014\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey18827d6de\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey23688a6ba\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1710576560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey30234f065\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey328368b40\",\"attributes\":{\"enabled\":true,\"nbf\":1678953565,\"exp\":1710576565,\"created\":1678954165,\"updated\":1678954165,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey3491808e4\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey365168328\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey492960bb6\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey628397873\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9USTRRMFJHUXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREV5TWpRNFFUbEdRelkzSVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "6148", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "86dc18ca-46b2-4a6e-b1c5-e89b11eeb977" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert12248a9fc67", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert133557460fc", + "attributes": { + "enabled": true, + "nbf": 1681267317, + "exp": 1744426317, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert15970ce7b3a", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert2087690df30", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert231873819ea", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert24189bd8691", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert27446e8292d", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1744426332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert344656cae8e", + "attributes": { + "enabled": true, + "nbf": 1681267778, + "exp": 1712890778, + "created": 1681268379, + "updated": 1681268379, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert424544e9d25", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert4513181b", + "attributes": { + "enabled": true, + "nbf": 1681267357, + "exp": 1712890357, + "created": 1681267958, + "updated": 1681267958, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert52940cad", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert62768ede0a9", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert69778c99", + "attributes": { + "enabled": true, + "nbf": 1681267341, + "exp": 1712890341, + "created": 1681267941, + "updated": 1681267941, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert72950e838eb", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1712890327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert809045b9", + "attributes": { + "enabled": true, + "nbf": 1681267362, + "exp": 1712890362, + "created": 1681267962, + "updated": 1681267962, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert81371983686", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1744426318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert825805c9c5b", + "attributes": { + "enabled": true, + "nbf": 1681267327, + "exp": 1744426327, + "created": 1681267927, + "updated": 1681267927, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert838769e3829", + "attributes": { + "enabled": true, + "nbf": 1681267333, + "exp": 1744426333, + "created": 1681267933, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert8525661cae9", + "attributes": { + "enabled": true, + "nbf": 1681267326, + "exp": 1744426326, + "created": 1681267926, + "updated": 1681267926, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert85780271", + "attributes": { + "enabled": false, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267922, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert879738c7", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1712890321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert915910eae03", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt5TWpjNFJEaEZNVEUySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlNU1ZOVVEwVlNWRXRGV1RZeU9USTRRMFJHUXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "4437", - "x-ms-request-id" : "eb47dbb2-a4d6-4343-a26e-9860fc14b064", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey62928cdfc\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey683522e3c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey7755247a7\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey83973bcab\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listcertkey958720254\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listdeletedcert4924651\",\"attributes\":{\"enabled\":true,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey027240329\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951019,\"updated\":1678951019,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey027751642\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954178,\"updated\":1678954178,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey065534755\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954202,\"updated\":1678954202,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey089976781\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951034,\"updated\":1678951034,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey10026676e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954181,\"updated\":1678954181,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey100752670\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951039,\"updated\":1678951039,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey1023948c1\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkey123739da3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951019,\"updated\":1678951019,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion32340\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954201,\"updated\":1678954201,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion69871\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951033,\"updated\":1678951033,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlNU1ZOVVMwVlpWa1ZTVTBsUFRqYzFOVFl6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlNU1ZOVVMwVlpWa1ZTVTBsUFRqYzFOVFl6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6383", - "x-ms-request-id" : "f523ecb9-c1ef-4fa0-8968-90967ee216b2", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion75563\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951033,\"updated\":1678951033,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/listkeyversion76425\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954213,\"updated\":1678954213,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/myalias\",\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey17739caf\",\"attributes\":{\"enabled\":true,\"created\":1678951024,\"updated\":1678951024,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey37489131\",\"attributes\":{\"enabled\":true,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey47674db8\",\"attributes\":{\"enabled\":true,\"created\":1678951025,\"updated\":1678951025,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey81286079\",\"attributes\":{\"enabled\":true,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey821791ae\",\"attributes\":{\"enabled\":true,\"created\":1678951049,\"updated\":1678951049,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey94479766\",\"attributes\":{\"enabled\":true,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey95123259\",\"attributes\":{\"enabled\":true,\"created\":1678954184,\"updated\":1678954184,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey96254e75\",\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey97671f81\",\"attributes\":{\"enabled\":true,\"created\":1678951050,\"updated\":1678951050,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey98072eb9\",\"attributes\":{\"enabled\":true,\"created\":1678951022,\"updated\":1678951022,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert0041741853c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert041204c4\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05138d67\",\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert05372a8c3d9\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert056438d4a20\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1092295324b\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert11947d21176\",\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1742112555,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert127097d0dc8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert13307850\",\"attributes\":{\"enabled\":false,\"nbf\":1678953585,\"exp\":1710576585,\"created\":1678954186,\"updated\":1678954186,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert15963b9a102\",\"attributes\":{\"enabled\":false,\"nbf\":1678951061,\"exp\":1710574061,\"created\":1678951661,\"updated\":1678951661,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert18236eadc35\",\"attributes\":{\"enabled\":true,\"nbf\":1678953566,\"exp\":1742112566,\"created\":1678954166,\"updated\":1678954166,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREU0T1RZelJqWkdRakl3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWREU0T1RZelJqWkdRakl3SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5658", - "x-ms-request-id" : "f039e7a5-bbb0-4f0e-b5c4-886909d037c8", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert1898604e3d4\",\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1742112554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert20887903436\",\"attributes\":{\"enabled\":true,\"nbf\":1678953561,\"exp\":1742112561,\"created\":1678954161,\"updated\":1678954161,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert21172984d93\",\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert217038c9\",\"attributes\":{\"enabled\":false,\"nbf\":1678953562,\"exp\":1710576562,\"created\":1678954162,\"updated\":1678954163,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert224271757ba\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert26201762259\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert27558598b2c\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert27808513219\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert2853856e897\",\"attributes\":{\"enabled\":true,\"nbf\":1678953581,\"exp\":1742112581,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert30284660cd8\",\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert324948604ee\",\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert35510d74ced\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert376955362f1\",\"attributes\":{\"enabled\":true,\"nbf\":1678953562,\"exp\":1742112562,\"created\":1678954162,\"updated\":1678954162,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert3990480f79a\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert40147b09c3e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert47882934afa\",\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert49907fe70ac\",\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert510992ef0be\",\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert5677070ba11\",\"attributes\":{\"enabled\":false,\"nbf\":1678951253,\"exp\":1710574253,\"created\":1678951853,\"updated\":1678951853,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert56810496c6b\",\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRFUzTlRjNE16RkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVEwVlNWRFUzTlRjNE16RkRJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6743", - "x-ms-request-id" : "38da2865-40a1-4359-95e0-4c2a3a37f590", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert5757831c\",\"attributes\":{\"enabled\":true,\"nbf\":1678953583,\"exp\":1710576583,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert58344de8f9e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert585852f7c70\",\"attributes\":{\"enabled\":false,\"nbf\":1678953564,\"exp\":1710576564,\"created\":1678954164,\"updated\":1678954164,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert6210194afab\",\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert62702785964\",\"attributes\":{\"enabled\":true,\"nbf\":1678953573,\"exp\":1742112573,\"created\":1678954173,\"updated\":1678954173,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert6384478e5bf\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert661444e3f00\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert67119c0e\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954172,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert708698d2\",\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert721471bd873\",\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert72180ce45d5\",\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert724831b1\",\"attributes\":{\"enabled\":true,\"nbf\":1678953579,\"exp\":1710576579,\"created\":1678954179,\"updated\":1678954179,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert72544647\",\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7280530dd15\",\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert742555f1\",\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert748574fa31b\",\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert7566770b7bb\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1742112557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert81087515588\",\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert82221cd67f8\",\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert828338a2b01\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1710576567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert838336ea\",\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert879909fb\",\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert88427430\",\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert92201a19a66\",\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt5TmpjelJUWkNSVGN5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt5TmpjelJUWkNSVGN5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5921", - "x-ms-request-id" : "80c3aef1-d1ec-42c5-a9b1-518f8564c55e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert92673e6be72\",\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert937620dadf7\",\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert978060ab9ce\",\"attributes\":{\"enabled\":true,\"nbf\":1678953567,\"exp\":1742112567,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert98347e92\",\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testcert9971873a\",\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey103475822\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951020,\"updated\":1678951020,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1348238e1\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey13644223c\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey1629997c8\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey220412b3b\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678951020,\"updated\":1678951021,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey223192b04\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey226420fce\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678954213,\"updated\":1678954214,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey298003c34\",\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678951048,\"updated\":1678951048,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey365262e0f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey37216831f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951021,\"updated\":1678951021,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey374388114\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey393766461\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey494179d50\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey4952190f6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954182,\"updated\":1678954182,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey496546b73\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951026,\"updated\":1678951026,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey49769580a\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpOVFUxTlRRMlF6QTNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/keys?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlVUlZOVVMwVlpOVFUxTlRRMlF6QTNJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5087", - "x-ms-request-id" : "11d394f0-763f-467c-9972-0865d9e7734d", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey728754a3c\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey766020a1f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951016,\"updated\":1678951016,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey790456c66\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951028,\"updated\":1678951028,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey82814659e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954202,\"updated\":1678954202,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey831527346\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951018,\"updated\":1678951018,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey872586412\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954174,\"updated\":1678954174,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey8893217a7\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951046,\"updated\":1678951046,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey9211849f3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951014,\"updated\":1678951014,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey945837201\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951022,\"updated\":1678951022,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion09939\",\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion17476\",\"attributes\":{\"enabled\":true,\"nbf\":1678953607,\"exp\":1710576607,\"created\":1678954207,\"updated\":1678954207,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion87704\",\"attributes\":{\"enabled\":true,\"nbf\":1678953571,\"exp\":1710576571,\"created\":1678954171,\"updated\":1678954171,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testlistcertversion88662\",\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"managed\":true},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey35823d3\",\"attributes\":{\"enabled\":true,\"created\":1678951013,\"updated\":1678951013,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakey406176f\",\"attributes\":{\"enabled\":true,\"created\":1678954168,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify26561\",\"attributes\":{\"enabled\":true,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeysignverify72682\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap51068\",\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}},{\"kid\":\"https://azsdktests.vault.azure.net/keys/testrsakeywrapunwrap76891\",\"attributes\":{\"enabled\":true,\"created\":1678951015,\"updated\":1678951015,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listkey065534755", "listkey1023948c1" ] + { + "RequestUri": "https://REDACTED/keys?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklXdGxlUzlVUlZOVVEwVlNWRGt5TWpjNFJEaEZNVEUySVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "58ce0e46-a241-4d40-9341-bfe21921c2a1" + }, + "ResponseBody": { + "value": [ + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92278d8e116", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert92573f0f", + "attributes": { + "enabled": false, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267932, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert930083972c7", + "attributes": { + "enabled": true, + "nbf": 1681267318, + "exp": 1712890318, + "created": 1681267918, + "updated": 1681267918, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert992700fd", + "attributes": { + "enabled": true, + "nbf": 1681267332, + "exp": 1712890332, + "created": 1681267932, + "updated": 1681267933, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": {}, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testcert99539ad0580", + "attributes": { + "enabled": true, + "nbf": 1681267321, + "exp": 1744426321, + "created": 1681267921, + "updated": 1681267921, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey100076e94", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey107013837", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey2793803e0", + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey284288686", + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey386340660", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey396652a76", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey416645817", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey437892a1f", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey746197675", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey829743998", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey8688021a6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion89840", + "attributes": { + "enabled": true, + "nbf": 1681267366, + "exp": 1712890366, + "created": 1681267966, + "updated": 1681267966, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + }, + { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testlistcertversion90972", + "attributes": { + "enabled": true, + "nbf": 1681267380, + "exp": 1712890380, + "created": 1681267980, + "updated": 1681267980, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "managed": true + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listkey032723001", + "1": "listkey127903b45" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKeyNotFound[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKeyNotFound[1].json index 71175ec63b936..98c9355487281 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKeyNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKeyNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7ba21c40-4f37-4d98-abe1-18cd63288855" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "300", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "10b70c46-b4d6-491a-8a42-7c491f398342", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedkeys/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "481505d7-bad0-498e-a659-b2fc65e5b21c" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) non-existing was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKey[1].json index fd6c07a3621f0..5bb71750d0470 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.recoverDeletedKey[1].json @@ -1,229 +1,454 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey7523108e2/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey795798c96/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7c93c5f6-4f15-42d6-8b84-3c8f17c02c41" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "37819a8b-2261-44bc-bef4-f2ca5e4e2ebb", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2/8cd103441d0c4e9aad4828fe38d00ec4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0qkyvZXw1AmIZSJtNES9dW2teV_ptGojRQeQvz95AAw23rXZlIYbpEuPjfE06Pkb7cMsSNGdNm5ALsRMFNKOTLxqU4tnJYtxDZgJ8pAQI7gO7wh3TzaOejR0KKNij5kueWC8SsSZjyEFNpaJW-3g_aysIoY_yiJ3KB5QpnfsqAYKr9FN4O44RtvpibFgLWwBAnbfY7YnkkSVOCBZyiVI8VyxNO9je0YXLzG0f2JSX2c6qk7ShaYJ4TFTtZCfHkAGfS4Wcg0-Xjfm904GdpbjTBYkZrHjRJcP5wiITrgXML0VRk-5q3HogwwQKmYnKO3MgqjGCHi0imfH44-9R5F93Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey795798c96/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d879ceb0-65d5-403b-80cd-5098d7c20bb3" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96/f10173f9474a4b40895894c5a37a7ad0", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oJb2bqyXD4UYmXSdA0MfPkCUaCRk7mx7ppfDXhITjsJrATHB9OEqThMlZq9NDhLskTq9ilxKKHADNefAQxtRc5QAQWmOQ-oVcMnUIR9oqQevsuwqj23_CwxuzAbjmDGf0w42BgZlrzwklS-CvOVpidjwry7dv5zWoJRElBVYTEpDbvrKwhycHXP0rzyfagFeTU-vHdU0j-8QjhnOV_4xGkemDNosU6Urez7e2zEFZWBBuQC3qnl9-2S4s8TPBh8lZ9pGebQZPQmMHYyW90h5ciJIsG_kRbZD0UBVueh93HSfw21hXhYhKEbHWGH8onxAc4dSF-SGTNgQGYAyanI4QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey7523108e2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey795798c96?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7b4f7db6-8513-4732-8f2e-10be8849a612" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey795798c96", + "deletedDate": 1681269678, + "scheduledPurgeDate": 1681874478, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96/f10173f9474a4b40895894c5a37a7ad0", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oJb2bqyXD4UYmXSdA0MfPkCUaCRk7mx7ppfDXhITjsJrATHB9OEqThMlZq9NDhLskTq9ilxKKHADNefAQxtRc5QAQWmOQ-oVcMnUIR9oqQevsuwqj23_CwxuzAbjmDGf0w42BgZlrzwklS-CvOVpidjwry7dv5zWoJRElBVYTEpDbvrKwhycHXP0rzyfagFeTU-vHdU0j-8QjhnOV_4xGkemDNosU6Urez7e2zEFZWBBuQC3qnl9-2S4s8TPBh8lZ9pGebQZPQmMHYyW90h5ciJIsG_kRbZD0UBVueh93HSfw21hXhYhKEbHWGH8onxAc4dSF-SGTNgQGYAyanI4QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "53828a40-b745-40cd-b559-e51c8666f379", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey7523108e2\",\"deletedDate\":1678954170,\"scheduledPurgeDate\":1679558970,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2/8cd103441d0c4e9aad4828fe38d00ec4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0qkyvZXw1AmIZSJtNES9dW2teV_ptGojRQeQvz95AAw23rXZlIYbpEuPjfE06Pkb7cMsSNGdNm5ALsRMFNKOTLxqU4tnJYtxDZgJ8pAQI7gO7wh3TzaOejR0KKNij5kueWC8SsSZjyEFNpaJW-3g_aysIoY_yiJ3KB5QpnfsqAYKr9FN4O44RtvpibFgLWwBAnbfY7YnkkSVOCBZyiVI8VyxNO9je0YXLzG0f2JSX2c6qk7ShaYJ4TFTtZCfHkAGfS4Wcg0-Xjfm904GdpbjTBYkZrHjRJcP5wiITrgXML0VRk-5q3HogwwQKmYnKO3MgqjGCHi0imfH44-9R5F93Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey795798c96?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8bf8365-aab9-4917-bbdd-c3168a0ff774" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey795798c96" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey7523108e2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey795798c96?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c0e84e37-58e4-4fdd-a0f3-f9cf0f5c8550" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey795798c96" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "76480885-2eaa-4ddb-9307-ca2a959dcdaa", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey7523108e2\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey795798c96?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a8e486a7-89bf-4ead-bece-9d9c83fcb2ac" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey795798c96", + "deletedDate": 1681269678, + "scheduledPurgeDate": 1681874478, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96/f10173f9474a4b40895894c5a37a7ad0", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oJb2bqyXD4UYmXSdA0MfPkCUaCRk7mx7ppfDXhITjsJrATHB9OEqThMlZq9NDhLskTq9ilxKKHADNefAQxtRc5QAQWmOQ-oVcMnUIR9oqQevsuwqj23_CwxuzAbjmDGf0w42BgZlrzwklS-CvOVpidjwry7dv5zWoJRElBVYTEpDbvrKwhycHXP0rzyfagFeTU-vHdU0j-8QjhnOV_4xGkemDNosU6Urez7e2zEFZWBBuQC3qnl9-2S4s8TPBh8lZ9pGebQZPQmMHYyW90h5ciJIsG_kRbZD0UBVueh93HSfw21hXhYhKEbHWGH8onxAc4dSF-SGTNgQGYAyanI4QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey7523108e2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey795798c96/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ea9f4d82-88ff-4e28-8cb5-5c6e1ad5f5f5" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96/f10173f9474a4b40895894c5a37a7ad0", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oJb2bqyXD4UYmXSdA0MfPkCUaCRk7mx7ppfDXhITjsJrATHB9OEqThMlZq9NDhLskTq9ilxKKHADNefAQxtRc5QAQWmOQ-oVcMnUIR9oqQevsuwqj23_CwxuzAbjmDGf0w42BgZlrzwklS-CvOVpidjwry7dv5zWoJRElBVYTEpDbvrKwhycHXP0rzyfagFeTU-vHdU0j-8QjhnOV_4xGkemDNosU6Urez7e2zEFZWBBuQC3qnl9-2S4s8TPBh8lZ9pGebQZPQmMHYyW90h5ciJIsG_kRbZD0UBVueh93HSfw21hXhYhKEbHWGH8onxAc4dSF-SGTNgQGYAyanI4QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fc92363c-a934-45e6-b6a7-b625c2e738bd", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey7523108e2\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey795798c96/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4da9009e-5fd1-4787-a603-0bcf3d3daa24" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) testkey795798c96 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey7523108e2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey795798c96/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "304", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1a20e1d8-f272-43ae-b2c6-41d55ed33573" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "A key with (name/id) testkey795798c96 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "133ad0bb-d42e-4c58-a2b4-2cd01d16a0c1", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey7523108e2\",\"deletedDate\":1678954170,\"scheduledPurgeDate\":1679558970,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2/8cd103441d0c4e9aad4828fe38d00ec4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0qkyvZXw1AmIZSJtNES9dW2teV_ptGojRQeQvz95AAw23rXZlIYbpEuPjfE06Pkb7cMsSNGdNm5ALsRMFNKOTLxqU4tnJYtxDZgJ8pAQI7gO7wh3TzaOejR0KKNij5kueWC8SsSZjyEFNpaJW-3g_aysIoY_yiJ3KB5QpnfsqAYKr9FN4O44RtvpibFgLWwBAnbfY7YnkkSVOCBZyiVI8VyxNO9je0YXLzG0f2JSX2c6qk7ShaYJ4TFTtZCfHkAGfS4Wcg0-Xjfm904GdpbjTBYkZrHjRJcP5wiITrgXML0VRk-5q3HogwwQKmYnKO3MgqjGCHi0imfH44-9R5F93Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey7523108e2/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "05400e17-3fe0-4264-860e-58c0756dc5f4", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2/8cd103441d0c4e9aad4828fe38d00ec4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0qkyvZXw1AmIZSJtNES9dW2teV_ptGojRQeQvz95AAw23rXZlIYbpEuPjfE06Pkb7cMsSNGdNm5ALsRMFNKOTLxqU4tnJYtxDZgJ8pAQI7gO7wh3TzaOejR0KKNij5kueWC8SsSZjyEFNpaJW-3g_aysIoY_yiJ3KB5QpnfsqAYKr9FN4O44RtvpibFgLWwBAnbfY7YnkkSVOCBZyiVI8VyxNO9je0YXLzG0f2JSX2c6qk7ShaYJ4TFTtZCfHkAGfS4Wcg0-Xjfm904GdpbjTBYkZrHjRJcP5wiITrgXML0VRk-5q3HogwwQKmYnKO3MgqjGCHi0imfH44-9R5F93Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey7523108e2/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "304", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cbdef001-d857-4e98-8881-389a4fbb167d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) testkey7523108e2 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey7523108e2/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:32 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "304", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c7102ca8-043c-4451-b36f-d9d5f05dd505", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) testkey7523108e2 was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey7523108e2/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:33 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "df7f38b1-2863-4a53-97d6-90d785543edf", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey7523108e2/8cd103441d0c4e9aad4828fe38d00ec4\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0qkyvZXw1AmIZSJtNES9dW2teV_ptGojRQeQvz95AAw23rXZlIYbpEuPjfE06Pkb7cMsSNGdNm5ALsRMFNKOTLxqU4tnJYtxDZgJ8pAQI7gO7wh3TzaOejR0KKNij5kueWC8SsSZjyEFNpaJW-3g_aysIoY_yiJ3KB5QpnfsqAYKr9FN4O44RtvpibFgLWwBAnbfY7YnkkSVOCBZyiVI8VyxNO9je0YXLzG0f2JSX2c6qk7ShaYJ4TFTtZCfHkAGfS4Wcg0-Xjfm904GdpbjTBYkZrHjRJcP5wiITrgXML0VRk-5q3HogwwQKmYnKO3MgqjGCHi0imfH44-9R5F93Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954170,\"updated\":1678954170,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey7523108e2" ] + { + "RequestUri": "https://REDACTED/keys/testkey795798c96/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0b43381d-b6ce-493e-a984-ec42b38275df" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey795798c96/f10173f9474a4b40895894c5a37a7ad0", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "oJb2bqyXD4UYmXSdA0MfPkCUaCRk7mx7ppfDXhITjsJrATHB9OEqThMlZq9NDhLskTq9ilxKKHADNefAQxtRc5QAQWmOQ-oVcMnUIR9oqQevsuwqj23_CwxuzAbjmDGf0w42BgZlrzwklS-CvOVpidjwry7dv5zWoJRElBVYTEpDbvrKwhycHXP0rzyfagFeTU-vHdU0j-8QjhnOV_4xGkemDNosU6Urez7e2zEFZWBBuQC3qnl9-2S4s8TPBh8lZ9pGebQZPQmMHYyW90h5ciJIsG_kRbZD0UBVueh93HSfw21hXhYhKEbHWGH8onxAc4dSF-SGTNgQGYAyanI4QQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey795798c96" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.releaseKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.releaseKey[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.releaseKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.releaseKey[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKeyFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKeyFromMalformedBackup[1].json index 2af8db91fb2b2..4dc40731cc7cc 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKeyFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKeyFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "50708df0-80e0-4b49-93c0-e17ec415d851" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:10:01 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ea5f320a-c251-4cd8-a1fd-37cf29d8a4df", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "580130ff-fd33-444c-882f-58053df59cd7" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKey[1].json index 4d287121ac856..f98101291baa7 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.restoreKey[1].json @@ -1,201 +1,427 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey99685768d/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey9919737c3/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f995ad84-8a28-4f22-a9d9-cbe32247b3d6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ea05f330-c4ae-4715-85f4-f84cbb50f18f", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey99685768d/4f3ccd11943d491d8315f79da4793441\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yFq5Lz7R_xFwqhu6yBU8EndTzjsUNa8DlZUxMZ5KX4SSrK72ZDOuW-OPY5KAf5EUxi2SUuG6xmRMvyfn0-MDfUToVwnrKU-NQYuTl1v41nIZOG1AHJw4b7G8hlzxS5kQNF1R-1c391sGWKpSgFa5cZ6kUeeK1xAQ5fRsytsVaLt1WXLdeW3MWjSPAgpQZJchJzh5QDdm67KEVWctJECPAZhYaSsox_XF0eYkctrCtQtvaKfauLtVaSOhyi_2MHeHmQenlZSYn4h_GrSqXCCYhktF46T6nygXqlHoF7oZtONDsbjk7xZCOjewTuFcnFFKY_IUZmRFPgFotPMfYmqB_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey9919737c3/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dfd29464-2998-47d3-9333-8b58427b8cd9" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9919737c3/5212a407cb9045bb8f4c65f8a1698ef1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "w3hq9ZPo917cgmAeEseWVVuBNotoRKS3VU3SuIdJ8C43JNFBZFsd8Pi0agIRm7NiLrXLui3BcZx1IGddl_DulWJCFu7l5SxP6CByMMA19LLjuj5ekU2hNn2vv6Wgy2PAaUcdCcdLgfV7k6cwlRGI32cW8k9Lfl7QBzTtE9tqbtFBUC57rn_7p_EfParJz6BeVmHQy1tr7abwDW3hkubk3RQvIT2TbB-GBjovZNc60UN_85XPfugPNK3RpimS6VeKCz49HqbHCLYFI2X32Rp1FGmH2WpxUZrsd3FcA_jyoNkR2c8ah32VulEKfGY6DIay1RYXafarNts3hcnWgeWLtQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey99685768d/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/testkey9919737c3/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12519", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fdcedc23-aeeb-48ab-a521-2921c6aaeb8c" + }, + "ResponseBody": { + "value": "JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuYUFBYTFtZ25TcjloSXZkZ0lwWFFpSDB6R0dubDI5ZFpzczhlZV9XaEZyT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VxTTZLNmdJXzV3amtxV3R3eDRxenlWY1c3eEg1RXBsd2J2dmVGTUp0dFlSd2dlQjdWWVJpbU5PdnBIVDF0UzZtR0ppRGV5SnR1Tl9QcG5sSE42UUotSDJPaUpDaURaZENTWldvNUl6SmNhUUt5alAySUtENnhMX0VsRzNYNmZqNzljc0dQZVlHZGR6MHpxY1NJZmZFMGl6Vy1NM25qWjhyWVBzMkZLLTBpdVozbTA5Mkt5cGI5eGxtMEFrUEZTdDNOeFNVX2xwZWI3Rk5qVWQyLXJDVDBxN3o5ei1WbXVIOENlRm5MZE5tc1kwU0JhTVJlNVpwbmtqbmFpRXM4dldBOW5xMllWWXdMLTRzMzNEZVpnZktVQWlUNzNRR3pmd0lucWczNUVFNXJzRFRDdGt0VXdGQllGc0FfVUZxY0gtTS1KTG5mb1A3ZkFla0FjeDctQkNXTWRYelhSd1VBaEpEMU5faHJxRHlHZS1vWWVDbWRkU01pOEctYmQ0bTh2ZXJLbmJneHJmZ3BnZU1WbzRPdS1BYWo1SnJmaS1lRG5FU2ZLZ1Ricnc0LnBORzRrQzJBbXN3SmszVThXNzNVSjREUzcxMm9Ea00tTTczcU5sd0wwSEk" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "12519", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ee58fd5d-352b-4932-8132-d039404b4f4a", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaV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Z5eF9PTzlCYUhPenE3NEdMVEtXWksxWkt3MXFWdkpYeDdabWlCQlFCWVY2RXJINUo0VktOMmVDeDJEMm5ibm9MTGxrOHo0Z08zeTlIQTAtdlRoZ2lSSEloVlpTSUV3S3BzQ2RTMWRuaWJoa0FDTUZaTkE0aVlPeXBBakJwdHpaTFdMYndoSGk3VWV1T3hZOTVMX0thTjhvU18tdVlEVGtiSUNvcU1kRHNobTk0aVJmZFpQT0lKMTlmWlFrVk05cEdWNjE3ZDY2X3VXR1hlQ1FjallfUjRRejhzVVB1MmViS2dtV01XZy1WcEJIS1U2SVROeTlQUHRSNnB1VEJ6VHc4SFdPUXYyMERtcDAtRVdXN3B0YWU3M0UyTXZ5ZUgwUmJoMnZhWjNGem5yaVVFVjE5ZDY1SWRhb1pSQnF2Wk5HN1lrVDRPUVR5MjJfMENjWGpKUDY5aGl4ejZUMnZFUHJBVllDUDVxWUJlOUhhd0lDbFR5dTZXYWtSZHNfZUJ1QlJBZF9rN2pIYTJzXzd1WHpGelRtdDBnV2YyajNDbEhKUDhMX2RlS09sQklYVFRSQmU1VDJwdzJRajNmNi1OYmRBS0xNQXRnaVI1d19tZkRqNzZibGR0Q3VTdnBDZy1QUHdsQk12MXJmVjNoNUlORDJOOVE3QmxZZlc0LVBJTGJia1ZRQ2JUbzNfbUp2ZHV6NC1QMWtTM3gwM2FYQklycElPY2RlcTIxTENJTXpNLnd3WjkzbUp1MWNTWmNyZTRyNkl6STZEbHpfc3VqQURqYUlyQWg1NHYyTlk\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey9919737c3?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "24d6bb39-4c7b-4f76-8d8a-b645e03078d2" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey9919737c3", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9919737c3/5212a407cb9045bb8f4c65f8a1698ef1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "w3hq9ZPo917cgmAeEseWVVuBNotoRKS3VU3SuIdJ8C43JNFBZFsd8Pi0agIRm7NiLrXLui3BcZx1IGddl_DulWJCFu7l5SxP6CByMMA19LLjuj5ekU2hNn2vv6Wgy2PAaUcdCcdLgfV7k6cwlRGI32cW8k9Lfl7QBzTtE9tqbtFBUC57rn_7p_EfParJz6BeVmHQy1tr7abwDW3hkubk3RQvIT2TbB-GBjovZNc60UN_85XPfugPNK3RpimS6VeKCz49HqbHCLYFI2X32Rp1FGmH2WpxUZrsd3FcA_jyoNkR2c8ah32VulEKfGY6DIay1RYXafarNts3hcnWgeWLtQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey99685768d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9919737c3?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "473562a6-2264-4dcf-88dc-73a5ffd42aa3" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey9919737c3" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "379abf5a-79f6-4a8a-82de-f430433a0e40", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey99685768d\",\"deletedDate\":1678954170,\"scheduledPurgeDate\":1679558970,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey99685768d/4f3ccd11943d491d8315f79da4793441\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yFq5Lz7R_xFwqhu6yBU8EndTzjsUNa8DlZUxMZ5KX4SSrK72ZDOuW-OPY5KAf5EUxi2SUuG6xmRMvyfn0-MDfUToVwnrKU-NQYuTl1v41nIZOG1AHJw4b7G8hlzxS5kQNF1R-1c391sGWKpSgFa5cZ6kUeeK1xAQ5fRsytsVaLt1WXLdeW3MWjSPAgpQZJchJzh5QDdm67KEVWctJECPAZhYaSsox_XF0eYkctrCtQtvaKfauLtVaSOhyi_2MHeHmQenlZSYn4h_GrSqXCCYhktF46T6nygXqlHoF7oZtONDsbjk7xZCOjewTuFcnFFKY_IUZmRFPgFotPMfYmqB_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9919737c3?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fbd9b97d-7bb5-48e7-b57d-1ab104003e3b" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey9919737c3" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey99685768d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9919737c3?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "873", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b4991084-86bd-4f11-9026-7389c1eaccd9" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedkeys/testkey9919737c3", + "deletedDate": 1681269677, + "scheduledPurgeDate": 1681874477, + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9919737c3/5212a407cb9045bb8f4c65f8a1698ef1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "w3hq9ZPo917cgmAeEseWVVuBNotoRKS3VU3SuIdJ8C43JNFBZFsd8Pi0agIRm7NiLrXLui3BcZx1IGddl_DulWJCFu7l5SxP6CByMMA19LLjuj5ekU2hNn2vv6Wgy2PAaUcdCcdLgfV7k6cwlRGI32cW8k9Lfl7QBzTtE9tqbtFBUC57rn_7p_EfParJz6BeVmHQy1tr7abwDW3hkubk3RQvIT2TbB-GBjovZNc60UN_85XPfugPNK3RpimS6VeKCz49HqbHCLYFI2X32Rp1FGmH2WpxUZrsd3FcA_jyoNkR2c8ah32VulEKfGY6DIay1RYXafarNts3hcnWgeWLtQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f2e39c45-ad89-461d-b853-a4455812b1cd", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey99685768d\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9919737c3?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4cf0ba27-56c8-46f3-9b70-a8d528f7ed62" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey99685768d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedkeys/testkey9919737c3?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "84", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f6b0ef26-2a0e-4e20-8b75-45131f4cac6b" + }, + "ResponseBody": { + "error": { + "code": "KeyNotFound", + "message": "Deleted Key not found: testkey9919737c3" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:30 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "877", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eea28e0c-88fd-4669-abea-442b16c8db61", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedkeys/testkey99685768d\",\"deletedDate\":1678954170,\"scheduledPurgeDate\":1679558970,\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey99685768d/4f3ccd11943d491d8315f79da4793441\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yFq5Lz7R_xFwqhu6yBU8EndTzjsUNa8DlZUxMZ5KX4SSrK72ZDOuW-OPY5KAf5EUxi2SUuG6xmRMvyfn0-MDfUToVwnrKU-NQYuTl1v41nIZOG1AHJw4b7G8hlzxS5kQNF1R-1c391sGWKpSgFa5cZ6kUeeK1xAQ5fRsytsVaLt1WXLdeW3MWjSPAgpQZJchJzh5QDdm67KEVWctJECPAZhYaSsox_XF0eYkctrCtQtvaKfauLtVaSOhyi_2MHeHmQenlZSYn4h_GrSqXCCYhktF46T6nygXqlHoF7oZtONDsbjk7xZCOjewTuFcnFFKY_IUZmRFPgFotPMfYmqB_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey99685768d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c0533b23-ff1d-4ecb-9997-d40a524d6b1f", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedkeys/testkey99685768d?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "84", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5ddd0c45-8786-4f30-bbc8-a97f0dc74f71", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: testkey99685768d\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:31 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5a0eec72-23b8-4195-8c30-bd7469875332", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey99685768d/4f3ccd11943d491d8315f79da4793441\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yFq5Lz7R_xFwqhu6yBU8EndTzjsUNa8DlZUxMZ5KX4SSrK72ZDOuW-OPY5KAf5EUxi2SUuG6xmRMvyfn0-MDfUToVwnrKU-NQYuTl1v41nIZOG1AHJw4b7G8hlzxS5kQNF1R-1c391sGWKpSgFa5cZ6kUeeK1xAQ5fRsytsVaLt1WXLdeW3MWjSPAgpQZJchJzh5QDdm67KEVWctJECPAZhYaSsox_XF0eYkctrCtQtvaKfauLtVaSOhyi_2MHeHmQenlZSYn4h_GrSqXCCYhktF46T6nygXqlHoF7oZtONDsbjk7xZCOjewTuFcnFFKY_IUZmRFPgFotPMfYmqB_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey99685768d" ] + { + "RequestUri": "https://REDACTED/keys/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "12519", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6;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MXc3bUxLcmZkSW8wTjdYblgwRGRZSmwyVHo0Y29xa3NmYlBBdXBGd2Y3RWJaNnBuNHRtSHFtMU5HWXNSWVFqd0YzZTA2TkVKQ0w0S1ozQkpLVldZdklyYTdTaHJGQ1FUemdjQV8ydzM5bmhlQkRNZ013eGJ0dWlQWERZdmJoWlpySnFQZFFhRHpScjJqTXFrXzdUc093djZmdVJjZUI3VTlwSm10ZnVHeUdkaFh5ejVrb2xnc0xhdmMxbVRfM2MzeEhKQUhQUEhEeVVtVXNqNXpNd3hfaWhQZTA5T2daRUVxTTZLNmdJXzV3amtxV3R3eDRxenlWY1c3eEg1RXBsd2J2dmVGTUp0dFlSd2dlQjdWWVJpbU5PdnBIVDF0UzZtR0ppRGV5SnR1Tl9QcG5sSE42UUotSDJPaUpDaURaZENTWldvNUl6SmNhUUt5alAySUtENnhMX0VsRzNYNmZqNzljc0dQZVlHZGR6MHpxY1NJZmZFMGl6Vy1NM25qWjhyWVBzMkZLLTBpdVozbTA5Mkt5cGI5eGxtMEFrUEZTdDNOeFNVX2xwZWI3Rk5qVWQyLXJDVDBxN3o5ei1WbXVIOENlRm5MZE5tc1kwU0JhTVJlNVpwbmtqbmFpRXM4dldBOW5xMllWWXdMLTRzMzNEZVpnZktVQWlUNzNRR3pmd0lucWczNUVFNXJzRFRDdGt0VXdGQllGc0FfVUZxY0gtTS1KTG5mb1A3ZkFla0FjeDctQkNXTWRYelhSd1VBaEpEMU5faHJxRHlHZS1vWWVDbWRkU01pOEctYmQ0bTh2ZXJLbmJneHJmZ3BnZU1WbzRPdS1BYWo1SnJmaS1lRG5FU2ZLZ1Ricnc0LnBORzRrQzJBbXN3SmszVThXNzNVSjREUzcxMm9Ea00tTTczcU5sd0wwSEk" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "732", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:22:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f82a106c-7cac-4830-aff6-d93dc34bbe70" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey9919737c3/5212a407cb9045bb8f4c65f8a1698ef1", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "w3hq9ZPo917cgmAeEseWVVuBNotoRKS3VU3SuIdJ8C43JNFBZFsd8Pi0agIRm7NiLrXLui3BcZx1IGddl_DulWJCFu7l5SxP6CByMMA19LLjuj5ekU2hNn2vv6Wgy2PAaUcdCcdLgfV7k6cwlRGI32cW8k9Lfl7QBzTtE9tqbtFBUC57rn_7p_EfParJz6BeVmHQy1tr7abwDW3hkubk3RQvIT2TbB-GBjovZNc60UN_85XPfugPNK3RpimS6VeKCz49HqbHCLYFI2X32Rp1FGmH2WpxUZrsd3FcA_jyoNkR2c8ah32VulEKfGY6DIay1RYXafarNts3hcnWgeWLtQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey9919737c3" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.rotateKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.rotateKey[1].json index 74a68fd259193..9e88817f95288 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.rotateKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.rotateKey[1].json @@ -1,53 +1,147 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey96254e75/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey27056f79/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "458665c5-9eb3-4fc0-89d4-48c82062d92c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "27055477-ab4c-4ab5-9687-75a80cfb148c", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey96254e75/9eab0593ab354dd8a4d1888444be7083\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1z-jTl_xoUTDQa7Qsu8mInEMcr2BmMxM5AQWiXL5xynlxdQ7E5fbe415lqt33vFIXtoMOwMpRvFkf9GzScfbbqLkr3-iLJfqvrgCooUBwXub0Nq0HYdmgiKucGYEhLAcNYY1ESA2i-idBytbeGJxinm8P7M9kuHb3reoOmW-fUrKTpKusELB1FFKQhG_HSNqvIusL-TDH7OmWPrj9IL9p7vZAu1xyvHZwnixKdaMEAZAigyWfzniBAzH05r9-n81rCj1Lir8hJW8tFps1m7KYKMmCRo__R05dp6FgPdSeDnk_TSLvPpRRW6tQu4wtVWAfuG643-85YLOcXZxk7vgRQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey27056f79/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f8b02e2e-82a1-4386-b805-35a4bb483383" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey27056f79/6cc2e01e127546d6909944a47e14d30b", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "pxWS0bwVta8HhD6NkP8AtbLIwcjr4Xnplf6GiH-QdxFSAeFVL8vlP28U7s78OfW6BlukxDMFO8IFo1xk9Q_CKL2oMMyPuuUPLSDOZRuQ3ijlEz0HPEkW5dK_c7s-UlkQFUzJzgk6Znd4d6C5sUbGt8Zj8lo_qpTdkGSdEpjvjzbQxVNDPR854oYV-8ozEuNfyRUy68X2hfA_ZT5CU4AS0V1RxkjJ8sMfBFuY40M0_MSSh0cQzQTAZCgVI6SXqIED56sJA8w7oB6zJtgQeGSnXTXCIu4MRDXjnhgnfrbnLRxVJGs_b1z8FUdR-t7LjkOmAu0yNpYrSDtv4T9mD_UYBQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey96254e75/rotate?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:29 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "46447dd6-7282-40da-82f3-f243a9b7ed7f", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey96254e75/6d2ffe95637f4e75a9c5a348e0e1032a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"3_pxwIlSNkG_rosUKl5rWKoV-0YBU2dDoz1XmUSlwM-0O23pQdyJ-JxkduDzMjxRKSNH9_ToCs4F9dkdoeREM6zKILHEpFemRvKpzXk1oqnR1oVdP9PADxoC4tCdv73Ttk0H8CSCLunZI4hHcjReiyEDtCvf7B51umUpjHpKvdLn8M-e4SL6yNsGLW7BgrvNOLlq7n-IdRUVPZHsp7e6g_XEQHVT6QLgVYIecB2wU3-SwePF2kq0SPm3zbiv_VMFP-XSP7snaIqRm42tHzV6HDQnQgFaiPHg8NE6CdJ44CcC1tOU494lWaEjMEwr_GFj_RNmnyxpKdS1fU_DjIMicQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678954169,\"updated\":1678954169,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey96254e75" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey27056f79/rotate?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "54ea2dba-2d5d-4e70-81e7-e76695cd01d3" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey27056f79/eb7cf363fb654cfbb04a95c0c5846a55", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "xDbatqCew8eCpgDl2DkrhrFMnZkUCLc_v7CF1obCtsOMWzfy41QNfgOnRX70HBu2ud1Fqis4wxBVBKe4f44yJSQ32ttWie9OqAz7xsffDupTxgxN6E_l4rAIe6vGrIGcJNfYP39vjJMtSjnMTrKvxAmw6-XL_AaXb_Gd602DKHdV_voN1tPQy5w3Bl7BVbW-wHgzj6bkG57DWuom1tZHJBuKSVVk3xJt47GPAgf7GS4ie_gzXL0lAx_ShmHnIbwy-GL4v0k_zDkbSbieZyYX_aXQ5qLLYCFPVdZW0OvgaLfLhRe2reb1Zkw2Wj3OJABvClccPdlKLghP6UEVX4KHNQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "rotatekey27056f79" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateDisabledKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateDisabledKey[1].json index c098db473b8dd..452140654b830 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateDisabledKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateDisabledKey[1].json @@ -1,54 +1,155 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey223192b04/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey2793803e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "13238d01-95d7-4f10-8607-4d48b2b04119" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:43 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "446", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aa8cc67e-9b7d-4111-bc1c-d4c119c0f331", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey223192b04/4f2a5c70fac343b5a50c4314c4057850\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"NGwNc1pr4hQ761w3PMru50WG-cUpOelaK_5sG169YTM\",\"y\":\"m1dvr85xTzOWAVHxPfy8UfUc8GZv30HzNWUA6j2484I\"},\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey2793803e0/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "80", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "EC", + "attributes": { + "enabled": false, + "exp": 2537049600 + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "444", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fa461d81-6955-4245-90b4-5768ca1ae5dd" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey2793803e0/f05a3d0787bd4580853e2dabf85261a2", + "kty": "EC", + "key_ops": [ + "sign", + "verify" + ], + "crv": "P-256", + "x": "nda3KTloyXw_dCPbV6ZcQYz4d6tu8v1iBjvW7fG7yzU", + "y": "4x7_Q4xkI1xbfAIq5_HSUHuCejEliFbniMtQOcojWU8" + }, + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey223192b04/4f2a5c70fac343b5a50c4314c4057850?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:42 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "446", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3cd5150b-ca2e-43c6-917c-929c2570e2c6", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey223192b04/4f2a5c70fac343b5a50c4314c4057850\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"NGwNc1pr4hQ761w3PMru50WG-cUpOelaK_5sG169YTM\",\"y\":\"m1dvr85xTzOWAVHxPfy8UfUc8GZv30HzNWUA6j2484I\"},\"attributes\":{\"enabled\":false,\"exp\":2852668800,\"created\":1678954183,\"updated\":1678954183,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey223192b04" ] + { + "RequestUri": "https://REDACTED/keys/testkey2793803e0/f05a3d0787bd4580853e2dabf85261a2?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "88", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": false, + "exp": 2852668800, + "exportable": false + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "444", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "51e455c8-e550-4fa5-b47c-925b0208869c" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey2793803e0/f05a3d0787bd4580853e2dabf85261a2", + "kty": "EC", + "key_ops": [ + "sign", + "verify" + ], + "crv": "P-256", + "x": "nda3KTloyXw_dCPbV6ZcQYz4d6tu8v1iBjvW7fG7yzU", + "y": "4x7_Q4xkI1xbfAIq5_HSUHuCejEliFbniMtQOcojWU8" + }, + "attributes": { + "enabled": false, + "exp": 2852668800, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } + } + ], + "Variables": { + "0": "testkey2793803e0" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json index bb829226260ac..2e57f6635cc98 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithAllProperties[1].json @@ -1,78 +1,224 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey45704443/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/rotatekey66098157/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "044dcd6b-fbef-4c88-b7e0-f1468f866ccf" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c73e571e-1b3e-4ca0-bd0d-760158adb2e0", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey45704443/c0a47274595f4186a621f2ee00cd15e7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0U_Pk8SSg61QX2Fw9jMbqq0PfCJ5cl-m1G5yjPm2vElwBo_P8nnlta5z_X70UHppSoRp3kYxUPYlEdWRlhKlMZLH4AYGhNJ73lAfC5Ea_eujymQZct3PqSPsOWnUyX1FjWkvRI7E4N_22vOlvKDzkufO11sumrEiulE1Fci5XNigGi09b0wCvctgE1DkLBPDG840rhd1z8UwRp_nlFmeTwBxnUljIdXbDfXtwbqN86iCcAsMhZ-mhvg8gdfj9s3sy0ItwrvvTthcwxBJJyoIUuZglC5WPyXS_YR5umIl5uwHA4_OTkSrzsJPhHHDZnp-K0iMnKB15shZi1uBc1z7mQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678956986,\"updated\":1678956986,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/rotatekey66098157/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": {}, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d8a938cd-b851-4e16-896c-b0d29c770d17" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/rotatekey66098157/346031c1f09d47fdbd14558329214ad4", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "yDPXrq6DMNMbC0hOtn4AJgcZpQ17NL2h6xF_d-E19FFxsYuEmontHXwDTX0oYB_vsN5nW7wBMvHOY1cTygnTKhQnY7lvgGtJFCHtpHyHQJtfVkElcUm273OMWbaWAC0VuGkBCoVcNms9I7WKVgUvGIM3kN5zTTNegQRRn74mx3mzwZV5diqzdbcj6bMRTED8ccQLDISQWcF6tFpN3XdwQlnqR9zRT9bulP6Gez0fjx99VIApyqJe3cpasK8iOh_lVjBfqYYPgVgmJxdElUdaU2CRliWXPY-QwZEwqyXR1j_1vcUNicoY9f3zgIjnl4OexajDl5SCR0uOlyab7WmQKQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "created": 1681269678, + "updated": 1681269678, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey45704443/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/rotatekey66098157/rotationpolicy?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "186", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "notify" + } + } + ], + "attributes": { + "expiryTime": "P6M" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "313", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a0ab4ed9-ddc5-43af-9998-c90211034818" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/keys/rotatekey66098157/rotationpolicy", + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "Rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": { + "expiryTime": "P6M", + "created": 1681269678, + "updated": 1681269678 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "315", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3928740c-1f00-446b-8064-d155111fafe3", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey45704443/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeAfterCreate\":\"P7D\"},\"action\":{\"type\":\"Rotate\"}},{\"trigger\":{\"timeBeforeExpiry\":\"P7D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"expiryTime\":\"P6M\",\"created\":1678956987,\"updated\":1678956987}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey45704443/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "315", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2fca8fb3-54d7-46e6-a59e-88547f38bde9", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey45704443/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeAfterCreate\":\"P7D\"},\"action\":{\"type\":\"Rotate\"}},{\"trigger\":{\"timeBeforeExpiry\":\"P7D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"expiryTime\":\"P6M\",\"created\":1678956987,\"updated\":1678956987}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey45704443" ] + { + "RequestUri": "https://REDACTED/keys/rotatekey66098157/rotationpolicy?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "313", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0487ce0b-ed68-4122-8fc4-16e4e2bb723f" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/keys/rotatekey66098157/rotationpolicy", + "lifetimeActions": [ + { + "trigger": { + "timeAfterCreate": "P7D" + }, + "action": { + "type": "Rotate" + } + }, + { + "trigger": { + "timeBeforeExpiry": "P7D" + }, + "action": { + "type": "Notify" + } + } + ], + "attributes": { + "expiryTime": "P6M", + "created": 1681269678, + "updated": 1681269678 + } + } + } + ], + "Variables": { + "0": "rotatekey66098157" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json deleted file mode 100644 index dbcc0c6d74cda..0000000000000 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateGetKeyRotationPolicyWithMinimumProperties[1].json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey735074a5/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "718", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ce646f70-96f8-4c11-a2b5-47ef64c6b170", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/rotatekey735074a5/14e4694d7ecc48ac81d9a234eb1e106d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n13yo996qmX8dji9AVSsDuRu1py9EL8mdNDjTseGodjoGxTBKOAHbRtyP9KPRLICSPkhKOBqYHy2MJFuObO8NFxurASY8q4Stvl-BxszK9ZdHQyH1tYTJW2sKDxJokWtPYIco9sYkN30VSW60Ks-2ImgRe0clVkX97f-IvQjte8dImN5s_ZFoc5SSo3T_MAlbsg3viu7nh_8DIf_fjW7qN8YHThHjVYtRwRLvyNUyGiW4Yj0_U1Xj08hXj-rGUUXVoisOsD6DC2x61ewuSOF6-ogj_yQ1eRpEdZWJ13x77LogvSQaCQ54LlKkwykSyJpUYTgPHXtAQVtvOO36luX_Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1678956968,\"updated\":1678956968,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey735074a5/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "232", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9fb2061b-e4f2-4356-be39-03bc5bebabba", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey735074a5/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"created\":1678956968,\"updated\":1678956968}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/keys/rotatekey735074a5/rotationpolicy?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:56:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "232", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "39bdc71d-e004-494b-bcf9-2abb0e05ed8a", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/keys/rotatekey735074a5/rotationpolicy\",\"lifetimeActions\":[{\"trigger\":{\"timeBeforeExpiry\":\"P30D\"},\"action\":{\"type\":\"Notify\"}}],\"attributes\":{\"created\":1678956968,\"updated\":1678956968}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "rotatekey735074a5" ] -} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateKey[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateKey[1].json index d391504a188d3..cd17497d24a33 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateKey[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyClientTest.updateKey[1].json @@ -1,54 +1,176 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey13644223c/create?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/testkey107013837/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9774ee05-e734-4300-8719-6b951305bf3b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "797", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c0cb6dbf-ae1c-4e9f-b0f3-15a3a2a71dbb", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey13644223c/53c464407910458cb817563929f16c67\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sq2EafepFiuC5GrlRD0-6cSwNKAA8BUy-770a0vKNXjO6SUe52wneDXlaBFT5voA1b8a_H0d1lYXz7SQeG7phYWUyL4h7z6yKJCSFTx-_WffLwTqpLmRpzuNjmkXWC3rjCLtTQVkWoFloHiAJhxI7i3Ypf5yeSlBGS7_Ij_FD67EzBGzNO5GuU7xPz5uZQhk_pezX1RxoOQgkJPcwPg61GTNrkStvEdF__X4x5lrxzEEEmjY2gJTOsbPVH3M6m3XiV7vWjBRidWGg61XRIGQkFI_H6e4F-QjRp51eu1lk6t0e2IMzYU8TljooYdNfU-jb02JYcIO0kBzvo5Y-NtqTQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/keys/testkey107013837/create?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "128", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "kty": "RSA", + "attributes": { + "exp": 2537049600 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "795", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d2fae2a5-8112-43b2-be3d-9e7d1c3cae8b" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey107013837/3bc535513fbb40f8a692f8d25493a05f", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "7hMHoe8kC38V2oDny34EbvZPQ8JqLw1ixH6ddXDMV0KbNG4TbgUz1GpTqNtzUcb0Ni9uKrQv4OgUOVBJGlCoZs-e-PaGuJAZHcwn0yPTiNZtUJorTpTxQljF9Z0t0motyjT_bQ8-xNBZwCUUq3FCmuVKdyqvmelILt9AcnLpER6oXZ1JutXAw9UmOwHYXt25oHVRghGr4zrU9Nprer4L75zNG44OiL0SzGpc_e8s2VaX4jd8y2JM8MqiszoiOd3VHF7D5bzfR1dN_9mGTjVSs0KyyW8gSGEFP75-L1gGTa85LD0DJgD_xJMVVVf65paoKOhdKUnxUM6nDF8gqpOuxQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/keys/testkey13644223c/53c464407910458cb817563929f16c67?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:28 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "797", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a7d8333a-4857-4087-93be-983633511813", - "Body" : "{\"key\":{\"kid\":\"https://azsdktests.vault.azure.net/keys/testkey13644223c/53c464407910458cb817563929f16c67\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sq2EafepFiuC5GrlRD0-6cSwNKAA8BUy-770a0vKNXjO6SUe52wneDXlaBFT5voA1b8a_H0d1lYXz7SQeG7phYWUyL4h7z6yKJCSFTx-_WffLwTqpLmRpzuNjmkXWC3rjCLtTQVkWoFloHiAJhxI7i3Ypf5yeSlBGS7_Ij_FD67EzBGzNO5GuU7xPz5uZQhk_pezX1RxoOQgkJPcwPg61GTNrkStvEdF__X4x5lrxzEEEmjY2gJTOsbPVH3M6m3XiV7vWjBRidWGg61XRIGQkFI_H6e4F-QjRp51eu1lk6t0e2IMzYU8TljooYdNfU-jb02JYcIO0kBzvo5Y-NtqTQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954167,\"updated\":1678954168,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7,\"exportable\":false},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testkey13644223c" ] + { + "RequestUri": "https://REDACTED/keys/testkey107013837/3bc535513fbb40f8a692f8d25493a05f?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "150", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "attributes": { + "enabled": true, + "exp": 2852668800, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "public_exponent": 0 + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "795", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:21:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "35a3192d-371d-40f9-8992-c390a0a70e3d" + }, + "ResponseBody": { + "key": { + "kid": "https://azkvrecordtests.vault.azure.net/keys/testkey107013837/3bc535513fbb40f8a692f8d25493a05f", + "kty": "RSA", + "key_ops": [ + "encrypt", + "decrypt", + "sign", + "verify", + "wrapKey", + "unwrapKey" + ], + "n": "7hMHoe8kC38V2oDny34EbvZPQ8JqLw1ixH6ddXDMV0KbNG4TbgUz1GpTqNtzUcb0Ni9uKrQv4OgUOVBJGlCoZs-e-PaGuJAZHcwn0yPTiNZtUJorTpTxQljF9Z0t0motyjT_bQ8-xNBZwCUUq3FCmuVKdyqvmelILt9AcnLpER6oXZ1JutXAw9UmOwHYXt25oHVRghGr4zrU9Nprer4L75zNG44OiL0SzGpc_e8s2VaX4jd8y2JM8MqiszoiOd3VHF7D5bzfR1dN_9mGTjVSs0KyyW8gSGEFP75-L1gGTa85LD0DJgD_xJMVVVf65paoKOhdKUnxUM6nDF8gqpOuxQ", + "e": "AQAB" + }, + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681269677, + "updated": 1681269677, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7, + "exportable": false + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } + } + ], + "Variables": { + "0": "testkey107013837" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK128[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK128[1].json index 0be12bd6d24ed..7d63cc218b96c 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK128[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK128[1].json @@ -1,126 +1,250 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey04473a?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "747286e8-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "370", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "338d8834-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955168,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955168},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad\",\"kty\":\"oct-HSM\"}}" + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "350", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key": { + "kty": "oct", + "key_ops": [ + "wrapKey", + "unwrapKey" + ], + "k": "AAECAwQFBgcICQoLDA0ODw" + }, + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "750b2196-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "279" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "wrapKey", + "unwrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961", + "kty": "oct-HSM" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "7543cf82-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "31" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "unwrapKey", + "wrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961", + "kty": "oct-HSM" + } + } }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "141", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33cfcc76-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678955168,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955168},\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad\",\"kty\":\"oct-HSM\"}}" + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "A128KW", + "value": "ABEiM0RVZneImaq7zN3u_w" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "172", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "75568690-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "alg": "A128KW", + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961", + "value": "H6aLCoEStEeu80vY-1p7gp0-hiNx0s_l" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "7564a5b8-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "unwrapKey", + "wrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961", + "kty": "oct-HSM" + } + } }, - "Response" : { - "content-length" : "174", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "28", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33ef3bb0-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"alg\":\"A128KW\",\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad\",\"value\":\"H6aLCoEStEeu80vY-1p7gp0-hiNx0s_l\"}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33fd6c6c-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678955168,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955168},\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad\",\"kty\":\"oct-HSM\"}}" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "164", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "137", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "34072ff4-c3d4-11ed-925f-0022488d0014", - "Body" : "{\"alg\":\"A128KW\",\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey04473a/7b53b731be7d407e2e3d07457b5647ad\",\"value\":\"ABEiM0RVZneImaq7zN3u_w\"}" - }, - "Exception" : null - } ], - "variables" : [ "symmetrickey04473a" ] + { + "RequestUri": "https://REDACTED/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "59", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "A128KW", + "value": "H6aLCoEStEeu80vY-1p7gp0-hiNx0s_l" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "162", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "7572a046-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "alg": "A128KW", + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey074615/69b208781f260b8db9ebb414fa7be961", + "value": "ABEiM0RVZneImaq7zN3u_w" + } + } + ], + "Variables": { + "0": "symmetrickey074615" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK192[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK192[1].json index 148993fb59c9b..ddb39aff43e21 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK192[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientManagedHsmTest.wrapUnwrapSymmetricAK192[1].json @@ -1,126 +1,250 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey778930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://managedhsm.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-request-id": "747a7b0a-d8e1-11ed-9268-000d3a602e9a", + "x-ms-server-latency": "1" + }, + "ResponseBody": null }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "311", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "32c7b960-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4\",\"kty\":\"oct-HSM\"}}" + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "360", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "key": { + "kty": "oct", + "key_ops": [ + "wrapKey", + "unwrapKey" + ], + "k": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYX" + }, + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "750adcf4-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "254" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "wrapKey", + "unwrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5", + "kty": "oct-HSM" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "753dddca-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "29" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "unwrapKey", + "wrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5", + "kty": "oct-HSM" + } + } }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "144", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3304ab9a-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4\",\"kty\":\"oct-HSM\"}}" + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5/wrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "49", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "A192KW", + "value": "ABEiM0RVZneImaq7zN3u_w" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "172", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "754d6d9e-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "alg": "A192KW", + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5", + "value": "lneLJa5spDX5K1uXwFCu0kaKuKF62E5d" + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4/wrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "333", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20230403-1-1802edf4-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "7557d8ec-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "1" + }, + "ResponseBody": { + "attributes": { + "created": 1681269836, + "enabled": true, + "exportable": false, + "recoverableDays": 7, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "updated": 1681269836 + }, + "key": { + "key_ops": [ + "unwrapKey", + "wrapKey" + ], + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5", + "kty": "oct-HSM" + } + } }, - "Response" : { - "content-length" : "174", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33416bf2-c3d4-11ed-ae04-000d3a612dea", - "Body" : "{\"alg\":\"A192KW\",\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4\",\"value\":\"lneLJa5spDX5K1uXwFCu0kaKuKF62E5d\"}" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "335", - "x-frame-options" : "SAMEORIGIN", - "x-ms-build-version" : "1.0.20230228-2-c856e15e-develop", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "0", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33578d7e-c3d4-11ed-9dfb-000d3a612dea", - "Body" : "{\"attributes\":{\"created\":1678955167,\"enabled\":true,\"exportable\":false,\"recoverableDays\":7,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"updated\":1678955167},\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4\",\"kty\":\"oct-HSM\"}}" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4/unwrapkey?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "content-length" : "164", - "x-frame-options" : "SAMEORIGIN", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-server-latency" : "30", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "content-security-policy" : "default-src 'self'", - "x-content-type-options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=Ipv4;", - "x-ms-keyvault-region" : "northcentralus", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33623256-c3d4-11ed-a46a-000d3a6149b5", - "Body" : "{\"alg\":\"A192KW\",\"kid\":\"https://azsdktestshsm.managedhsm.azure.net/keys/symmetrickey778930/d23ff2dabb4b4d48b84aeaf09f8f3cb4\",\"value\":\"ABEiM0RVZneImaq7zN3u_w\"}" - }, - "Exception" : null - } ], - "variables" : [ "symmetrickey778930" ] + { + "RequestUri": "https://REDACTED/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5/unwrapkey?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "59", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "alg": "A192KW", + "value": "lneLJa5spDX5K1uXwFCu0kaKuKF62E5d" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "162", + "Content-Security-Policy": "default-src \u0027self\u0027", + "Content-Type": "application/json; charset=utf-8", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "northcentralus", + "x-ms-request-id": "75624f66-d8e1-11ed-bf5c-000d3a612dea", + "x-ms-server-latency": "0" + }, + "ResponseBody": { + "alg": "A192KW", + "kid": "https://azkvrecordtestshsm.managedhsm.azure.net/keys/symmetrickey234660/27454b8863820a901b634d4a69b231e5", + "value": "ABEiM0RVZneImaq7zN3u_w" + } + } + ], + "Variables": { + "0": "symmetrickey234660" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128Local.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128Local.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128Local.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128Local.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128[1].json index ae099de13608e..061ec8e791333 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK128[1].json @@ -1,54 +1,122 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/secretkey406834f8?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/secretkey51503dad?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "79f01f3c-3ec0-4e93-84aa-3fa8fc9eea2b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "286", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2b24c325-606f-409f-8697-823de1b2d3c1", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw==\",\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey406834f8/70f31295466646ab8e21faab16f622de\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/secretkey51503dad?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "52", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "AAECAwQFBgcICQoLDA0ODw==", + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "284", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8ea2e86a-1579-437c-95bb-67c7517ccdc5" + }, + "ResponseBody": { + "value": "AAECAwQFBgcICQoLDA0ODw==", + "id": "https://azkvrecordtests.vault.azure.net/secrets/secretkey51503dad/0ae953d33e8041a4994aef2b09c2f217", + "attributes": { + "enabled": true, + "created": 1681269836, + "updated": 1681269836, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/secretkey406834f8/70f31295466646ab8e21faab16f622de?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "286", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6f7292a4-1a91-4757-9349-9ee5e3d9cd83", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw==\",\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey406834f8/70f31295466646ab8e21faab16f622de\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "secretkey406834f8" ] + { + "RequestUri": "https://REDACTED/secrets/secretkey51503dad/0ae953d33e8041a4994aef2b09c2f217?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "284", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0df2f8b1-86bd-47b8-b593-e38b6b4fb0f6" + }, + "ResponseBody": { + "value": "AAECAwQFBgcICQoLDA0ODw==", + "id": "https://azkvrecordtests.vault.azure.net/secrets/secretkey51503dad/0ae953d33e8041a4994aef2b09c2f217", + "attributes": { + "enabled": true, + "created": 1681269836, + "updated": 1681269836, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "secretkey51503dad" + } } diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192Local.json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192Local.json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192Local.json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192Local.json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192[1].json b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192[1].json index e220d65ed38df..46347a51d2c3f 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192[1].json +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/resources/session-records/KeyEncryptionKeyClientTest.wrapUnwrapSymmetricAK192[1].json @@ -1,54 +1,122 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/secretkey58164833?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/secretkey455740a4?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7a3692f7-f26c-4282-9fba-378c1306ed1e" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "294", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "20ed4439-71c8-4cc9-b604-a51c1161d6af", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey58164833/6a2f6e77a03a4bb39cc3ff0e8ffded32\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/secretkey455740a4?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYX", + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "292", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "93e8fcc5-f56c-422d-8562-26ee2fcb0763" + }, + "ResponseBody": { + "value": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYX", + "id": "https://azkvrecordtests.vault.azure.net/secrets/secretkey455740a4/2e81ef646b4e4f8fae8aba0460c1d2a4", + "attributes": { + "enabled": true, + "created": 1681269836, + "updated": 1681269836, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/secretkey58164833/6a2f6e77a03a4bb39cc3ff0e8ffded32?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:27 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "294", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "56d04d96-2a64-4ac8-9c4e-48fb5c720699", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey58164833/6a2f6e77a03a4bb39cc3ff0e8ffded32\",\"attributes\":{\"enabled\":true,\"created\":1678954167,\"updated\":1678954167,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "secretkey58164833" ] + { + "RequestUri": "https://REDACTED/secrets/secretkey455740a4/2e81ef646b4e4f8fae8aba0460c1d2a4?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "292", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 03:23:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f2a12742-d0c6-4339-8e8d-ea6235ccb0b9" + }, + "ResponseBody": { + "value": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYX", + "id": "https://azkvrecordtests.vault.azure.net/secrets/secretkey455740a4/2e81ef646b4e4f8fae8aba0460c1d2a4", + "attributes": { + "enabled": true, + "created": 1681269836, + "updated": 1681269836, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "secretkey455740a4" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java index 387bb85f32838..fafa4e8b9e18f 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretAsyncClient.java @@ -50,7 +50,8 @@ @ServiceClient(builder = SecretClientBuilder.class, isAsync = true, serviceInterfaces = SecretClientImpl.SecretService.class) public final class SecretAsyncClient { - private final ClientLogger logger = new ClientLogger(SecretAsyncClient.class); + private static final ClientLogger LOGGER = new ClientLogger(SecretAsyncClient.class); + private final SecretClientImpl implClient; /** @@ -118,7 +119,7 @@ public Mono setSecret(KeyVaultSecret secret) { try { return setSecretWithResponse(secret).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -150,7 +151,7 @@ public Mono setSecret(String name, String value) { return withContext(context -> implClient.setSecretWithResponseAsync(name, value, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -191,7 +192,7 @@ public Mono> setSecretWithResponse(KeyVaultSecret secre try { return withContext(context -> implClient.setSecretWithResponseAsync(secret, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -221,7 +222,7 @@ public Mono getSecret(String name) { try { return getSecretWithResponse(name, "").flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -260,7 +261,7 @@ public Mono getSecret(String name, String version) { try { return getSecretWithResponse(name, version).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -298,7 +299,7 @@ public Mono> getSecretWithResponse(String name, String try { return withContext(context -> implClient.getSecretWithResponseAsync(name, version, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -343,7 +344,7 @@ public Mono updateSecretProperties(SecretProperties secretProp try { return updateSecretPropertiesWithResponse(secretProperties).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -390,7 +391,7 @@ public Mono> updateSecretPropertiesWithResponse(Secre return withContext(context -> implClient.updateSecretPropertiesWithResponseAsync(secretProperties, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -450,7 +451,7 @@ public Mono getDeletedSecret(String name) { try { return getDeletedSecretWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -482,7 +483,7 @@ public Mono> getDeletedSecretWithResponse(String name) { try { return withContext(context -> implClient.getDeletedSecretWithResponseAsync(name, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -513,7 +514,7 @@ public Mono purgeDeletedSecret(String name) { try { return purgeDeletedSecretWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -543,7 +544,7 @@ public Mono> purgeDeletedSecretWithResponse(String name) { try { return withContext(context -> implClient.purgeDeletedSecretWithResponseAsync(name, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -602,7 +603,7 @@ public Mono backupSecret(String name) { try { return backupSecretWithResponse(name).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -633,7 +634,7 @@ public Mono> backupSecretWithResponse(String name) { try { return withContext(context -> implClient.backupSecretWithResponseAsync(name, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -664,7 +665,7 @@ public Mono restoreSecretBackup(byte[] backup) { try { return restoreSecretBackupWithResponse(backup).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -696,7 +697,7 @@ public Mono> restoreSecretBackupWithResponse(byte[] bac try { return withContext(context -> implClient.restoreSecretBackupWithResponseAsync(backup, context)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/implementation/SecretClientImpl.java b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/implementation/SecretClientImpl.java index 445092558ff65..97bc4b1b9e918 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/implementation/SecretClientImpl.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/implementation/SecretClientImpl.java @@ -50,18 +50,18 @@ import static com.azure.core.util.FluxUtil.withContext; public class SecretClientImpl { - static final String ACCEPT_LANGUAGE = "en-US"; - static final int DEFAULT_MAX_PAGE_RESULTS = 25; - static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; - private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; - + private static final ClientLogger LOGGER = new ClientLogger(SecretClientImpl.class); private static final Duration DEFAULT_POLLING_INTERVAL = Duration.ofSeconds(1); + private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; - private final String vaultUrl; - private final SecretService service; - private final ClientLogger logger = new ClientLogger(SecretClientImpl.class); private final HttpPipeline pipeline; + private final SecretService service; private final SecretServiceVersion secretServiceVersion; + private final String vaultUrl; + + static final int DEFAULT_MAX_PAGE_RESULTS = 25; + static final String ACCEPT_LANGUAGE = "en-US"; + static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; /** * Creates a {@link SecretClientImpl} that uses an {@link HttpPipeline} to service requests. @@ -480,9 +480,9 @@ public Mono> setSecretWithResponseAsync(KeyVaultSecret return service.setSecretAsync(vaultUrl, secret.getName(), secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Setting secret - {}", secret.getName())) - .doOnSuccess(response -> logger.verbose("Set secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to set secret - {}", secret.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Setting secret - {}", secret.getName())) + .doOnSuccess(response -> LOGGER.verbose("Set secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to set secret - {}", secret.getName(), error)); } public Response setSecretWithResponse(KeyVaultSecret secret, Context context) { @@ -509,9 +509,9 @@ public Mono> setSecretWithResponseAsync(String name, St return service.setSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Setting secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Set secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to set secret - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Setting secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Set secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to set secret - {}", name, error)); } public Response setSecretWithResponse(String name, String value, Context context) { @@ -526,9 +526,9 @@ public Response setSecretWithResponse(String name, String value, public Mono> getSecretWithResponseAsync(String name, String version, Context context) { return service.getSecretAsync(vaultUrl, name, version == null ? "" : version, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignoredValue -> logger.verbose("Retrieving secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to get secret - {}", name, error)); + .doOnRequest(ignoredValue -> LOGGER.verbose("Retrieving secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to get secret - {}", name, error)); } public Response getSecretWithResponse(String name, String version, Context context) { @@ -546,9 +546,9 @@ public Mono> updateSecretPropertiesWithResponseAsync( return service.updateSecretAsync(vaultUrl, secretProperties.getName(), secretProperties.getVersion(), secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Updating secret - {}", secretProperties.getName())) - .doOnSuccess(response -> logger.verbose("Updated secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to update secret - {}", secretProperties.getName(), error)); + .doOnRequest(ignored -> LOGGER.verbose("Updating secret - {}", secretProperties.getName())) + .doOnSuccess(response -> LOGGER.verbose("Updated secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to update secret - {}", secretProperties.getName(), error)); } public Response updateSecretPropertiesWithResponse(SecretProperties secretProperties, @@ -654,9 +654,9 @@ private Function, PollResponse> cre private Mono> deleteSecretWithResponseAsync(String name, Context context) { return service.deleteSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Deleting secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Deleted secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to delete secret - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Deleting secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Deleted secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to delete secret - {}", name, error)); } private Response deleteSecretWithResponse(String name, Context context) { @@ -668,9 +668,9 @@ private Response deleteSecretWithResponse(String name, Context co public Mono> getDeletedSecretWithResponseAsync(String name, Context context) { return service.getDeletedSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Retrieving deleted secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Retrieved deleted secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to retrieve deleted secret - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Retrieving deleted secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved deleted secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to retrieve deleted secret - {}", name, error)); } public Response getDeletedSecretWithResponse(String name, Context context) { @@ -684,9 +684,9 @@ public Response getDeletedSecretWithResponse(String name, Context public Mono> purgeDeletedSecretWithResponseAsync(String name, Context context) { return service.purgeDeletedSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Purging deleted secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Purged deleted secret - {}", name)) - .doOnError(error -> logger.warning("Failed to purge deleted secret - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Purging deleted secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Purged deleted secret - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to purge deleted secret - {}", name, error)); } public Response purgeDeletedSecretWithResponse(String name, Context context) { @@ -738,17 +738,17 @@ private Function, Mono> recoverDeletedSecretWithResponseAsync(String name, Context context) { return service.recoverDeletedSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Recovering deleted secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Recovered deleted secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to recover deleted secret - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Recovering deleted secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Recovered deleted secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to recover deleted secret - {}", name, error)); } public Mono> backupSecretWithResponseAsync(String name, Context context) { return service.backupSecretAsync(vaultUrl, name, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Backing up secret - {}", name)) - .doOnSuccess(response -> logger.verbose("Backed up secret - {}", name)) - .doOnError(error -> logger.warning("Failed to back up secret - {}", name, error)) + .doOnRequest(ignored -> LOGGER.verbose("Backing up secret - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Backed up secret - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to back up secret - {}", name, error)) .flatMap(base64URLResponse -> Mono.just(new SimpleResponse<>(base64URLResponse.getRequest(), base64URLResponse.getStatusCode(), base64URLResponse.getHeaders(), base64URLResponse.getValue().getValue()))); @@ -770,9 +770,9 @@ public Mono> restoreSecretBackupWithResponseAsync(byte[ return service.restoreSecretAsync(vaultUrl, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Attempting to restore secret")) - .doOnSuccess(response -> logger.verbose("Restored secret - {}", response.getValue().getName())) - .doOnError(error -> logger.warning("Failed to restore secret", error)); + .doOnRequest(ignored -> LOGGER.verbose("Attempting to restore secret")) + .doOnSuccess(response -> LOGGER.verbose("Restored secret - {}", response.getValue().getName())) + .doOnError(error -> LOGGER.warning("Failed to restore secret", error)); } public Response restoreSecretBackupWithResponse(byte[] backup, Context context) { @@ -790,7 +790,7 @@ public PagedFlux listPropertiesOfSecrets() { () -> withContext(this::listSecretsFirstPage), continuationToken -> withContext(context -> listSecretsNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -813,11 +813,11 @@ private Mono> listSecretsFirstPage(Context conte try { return service.getSecretsAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing secrets")) - .doOnSuccess(response -> logger.verbose("Listed secrets")) - .doOnError(error -> logger.warning("Failed to list secrets", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing secrets")) + .doOnSuccess(response -> LOGGER.verbose("Listed secrets")) + .doOnError(error -> LOGGER.warning("Failed to list secrets", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -836,12 +836,12 @@ private Mono> listSecretsNextPage(String continu return service.getSecretsAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignoredValue -> - logger.verbose("Retrieving the next secrets page - Page {}", continuationToken)) - .doOnSuccess(response -> logger.verbose("Retrieved the next secrets page - Page {}", continuationToken)) + LOGGER.verbose("Retrieving the next secrets page - Page {}", continuationToken)) + .doOnSuccess(response -> LOGGER.verbose("Retrieved the next secrets page - Page {}", continuationToken)) .doOnError(error -> - logger.warning("Failed to retrieve the next secrets page - Page {}", continuationToken, error)); + LOGGER.warning("Failed to retrieve the next secrets page - Page {}", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -851,7 +851,7 @@ public PagedFlux listDeletedSecrets() { () -> withContext(this::listDeletedSecretsFirstPage), continuationToken -> withContext(context -> listDeletedSecretsNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -874,11 +874,11 @@ private Mono> listDeletedSecretsFirstPage(Context c try { return service.getDeletedSecretsAsync(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing deleted secrets")) - .doOnSuccess(response -> logger.verbose("Listed deleted secrets")) - .doOnError(error -> logger.warning("Failed to list deleted secrets", error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing deleted secrets")) + .doOnSuccess(response -> LOGGER.verbose("Listed deleted secrets")) + .doOnError(error -> LOGGER.warning("Failed to list deleted secrets", error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -897,14 +897,14 @@ private Mono> listDeletedSecretsNextPage(String con return service.getDeletedSecretsAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignoredValue -> - logger.verbose("Retrieving the next deleted secrets page - Page {}", continuationToken)) + LOGGER.verbose("Retrieving the next deleted secrets page - Page {}", continuationToken)) .doOnSuccess(response -> - logger.verbose("Retrieved the next deleted secrets page - Page {}", continuationToken)) + LOGGER.verbose("Retrieved the next deleted secrets page - Page {}", continuationToken)) .doOnError(error -> - logger.warning("Failed to retrieve the next deleted secrets page - Page {}", continuationToken, + LOGGER.warning("Failed to retrieve the next deleted secrets page - Page {}", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -914,7 +914,7 @@ public PagedFlux listPropertiesOfSecretVersions(String name) { () -> withContext(context -> listSecretVersionsFirstPage(name, context)), continuationToken -> withContext(context -> listSecretVersionsNextPage(continuationToken, context))); } catch (RuntimeException ex) { - return new PagedFlux<>(() -> monoError(logger, ex)); + return new PagedFlux<>(() -> monoError(LOGGER, ex)); } } @@ -938,11 +938,11 @@ private Mono> listSecretVersionsFirstPage(String return service.getSecretVersionsAsync(vaultUrl, name, DEFAULT_MAX_PAGE_RESULTS, secretServiceVersion.getVersion(), ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.verbose("Listing secret versions - {}", name)) - .doOnSuccess(response -> logger.verbose("Listed secret versions - {}", name)) - .doOnError(error -> logger.warning("Failed to list secret versions - {}", name, error)); + .doOnRequest(ignored -> LOGGER.verbose("Listing secret versions - {}", name)) + .doOnSuccess(response -> LOGGER.verbose("Listed secret versions - {}", name)) + .doOnError(error -> LOGGER.warning("Failed to list secret versions - {}", name, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } @@ -961,14 +961,14 @@ private Mono> listSecretVersionsNextPage(String return service.getSecretsAsync(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignoredValue -> - logger.verbose("Retrieving the next secrets versions page - Page {}", continuationToken)) + LOGGER.verbose("Retrieving the next secrets versions page - Page {}", continuationToken)) .doOnSuccess(response -> - logger.verbose("Retrieved the next secrets versions page - Page {}", continuationToken)) + LOGGER.verbose("Retrieved the next secrets versions page - Page {}", continuationToken)) .doOnError(error -> - logger.warning("Failed to retrieve the next secrets versions page - Page {}", continuationToken, + LOGGER.warning("Failed to retrieve the next secrets versions page - Page {}", continuationToken, error)); } catch (RuntimeException ex) { - return monoError(logger, ex); + return monoError(LOGGER, ex); } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/KeyVaultSecretIdentifier.java b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/KeyVaultSecretIdentifier.java index 9e19ecdbf573a..f05fca6959444 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/KeyVaultSecretIdentifier.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/KeyVaultSecretIdentifier.java @@ -17,7 +17,8 @@ */ @Immutable public final class KeyVaultSecretIdentifier { - private final ClientLogger logger = new ClientLogger(KeyVaultSecretIdentifier.class); + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultSecretIdentifier.class); + private final String sourceId, vaultUrl, name, version; /** @@ -39,7 +40,7 @@ public final class KeyVaultSecretIdentifier { */ public KeyVaultSecretIdentifier(String sourceId) { if (sourceId == null) { - throw logger.logExceptionAsError(new NullPointerException("'sourceId' cannot be null.")); + throw LOGGER.logExceptionAsError(new NullPointerException("'sourceId' cannot be null.")); } try { @@ -49,7 +50,7 @@ public KeyVaultSecretIdentifier(String sourceId) { // More or less segments in the URI than expected. if (pathSegments.length != 3 && pathSegments.length != 4) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.")); } @@ -58,7 +59,7 @@ public KeyVaultSecretIdentifier(String sourceId) { this.name = pathSegments[2]; this.version = pathSegments.length == 4 ? pathSegments[3] : null; } catch (MalformedURLException e) { - throw logger.logExceptionAsError( + throw LOGGER.logExceptionAsError( new IllegalArgumentException("'sourceId' is not a valid Key Vault identifier.", e)); } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/SecretProperties.java b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/SecretProperties.java index 2ec536b7d367e..edb8969980af6 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/SecretProperties.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/models/SecretProperties.java @@ -26,7 +26,7 @@ */ @Fluent public class SecretProperties { - private final ClientLogger logger = new ClientLogger(SecretProperties.class); + private static final ClientLogger LOGGER = new ClientLogger(SecretProperties.class); /** * The secret id. @@ -338,7 +338,7 @@ void unpackId(String id) { this.version = (tokens.length >= 4 ? tokens[3] : null); } catch (MalformedURLException e) { // Should never come here. - logger.error("Received Malformed Secret Id URL from KV Service"); + LOGGER.error("Received Malformed Secret Id URL from KV Service"); } } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/KeyVaultSecretsUserAgentPropertiesTest.java b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/KeyVaultSecretsUserAgentPropertiesTest.java index 95aaac5b8de1f..24d7e65649aeb 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/KeyVaultSecretsUserAgentPropertiesTest.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/KeyVaultSecretsUserAgentPropertiesTest.java @@ -4,9 +4,10 @@ package com.azure.security.keyvault.secrets; import com.azure.core.util.CoreUtils; -import java.util.Map; import org.junit.jupiter.api.Test; +import java.util.Map; + import static org.junit.jupiter.api.Assertions.assertTrue; public class KeyVaultSecretsUserAgentPropertiesTest { diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretAsyncClientTest.java b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretAsyncClientTest.java index b055826fdbed9..55cbb7c8e7083 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretAsyncClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretAsyncClientTest.java @@ -21,6 +21,7 @@ import com.azure.security.keyvault.secrets.models.SecretProperties; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; +import reactor.core.publisher.Mono; import reactor.test.StepVerifier; import java.net.HttpURLConnection; @@ -50,8 +51,8 @@ private void createSecretAsyncClient(HttpClient httpClient, SecretServiceVersion private void createSecretAsyncClient(HttpClient httpClient, SecretServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildAsyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); SecretClientImpl implClient = spy(new SecretClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { @@ -543,11 +544,15 @@ public void listSecretVersions(HttpClient httpClient, SecretServiceVersion servi sleepInRecordMode(30000); - secretAsyncClient.listPropertiesOfSecretVersions(secretName).subscribe(output::add); - - sleepInRecordMode(30000); - - assertEquals(secretsToSetAndList.size(), output.size()); + StepVerifier.create(secretAsyncClient.listPropertiesOfSecretVersions(secretName) + .map(secretProperties -> { + output.add(secretProperties); + return Mono.empty(); + }) + .last()) + .assertNext(ignore -> + assertEquals(secretsToSetAndList.size(), output.size())) + .verifyComplete(); }); } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTest.java b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTest.java index 96d3aa77dab6c..6ed88ee8ad8c7 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTest.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTest.java @@ -46,8 +46,8 @@ private void createClient(HttpClient httpClient, SecretServiceVersion serviceVer } private void createClient(HttpClient httpClient, SecretServiceVersion serviceVersion, String testTenantId) { - HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient(httpClient == null - ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); + HttpPipeline httpPipeline = getHttpPipeline(buildSyncAssertingClient( + interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient), testTenantId); SecretClientImpl implClient = spy(new SecretClientImpl(getEndpoint(), httpPipeline, serviceVersion)); if (interceptorManager.isPlaybackMode()) { diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java index 2cd18af3fdd3f..39c9980ef34d9 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java @@ -18,8 +18,11 @@ import com.azure.core.http.policy.RetryStrategy; import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.http.rest.Response; -import com.azure.core.test.TestBase; -import com.azure.core.test.TestMode; +import com.azure.core.test.TestProxyTestBase; +import com.azure.core.test.models.BodilessMatcher; +import com.azure.core.test.models.CustomMatcher; +import com.azure.core.test.models.TestProxyRequestMatcher; +import com.azure.core.test.utils.MockTokenCredential; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; import com.azure.identity.ClientSecretCredentialBuilder; @@ -34,6 +37,7 @@ import java.time.ZoneOffset; import java.util.ArrayList; import java.util.Arrays; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -46,7 +50,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.fail; -public abstract class SecretClientTestBase extends TestBase { +public abstract class SecretClientTestBase extends TestProxyTestBase { static final String DISPLAY_NAME_WITH_ARGUMENTS = "{displayName} with [{arguments}]"; private static final String AZURE_TEST_KEYVAULT_SECRET_SERVICE_VERSIONS = "AZURE_KEYVAULT_TEST_SECRETS_SERVICE_VERSIONS"; @@ -65,6 +69,7 @@ protected String getTestName() { } void beforeTestSetup() { + KeyVaultCredentialPolicy.clearCache(); } HttpPipeline getHttpPipeline(HttpClient httpClient) { @@ -72,7 +77,7 @@ HttpPipeline getHttpPipeline(HttpClient httpClient) { } HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { - TokenCredential credential = null; + TokenCredential credential; if (!interceptorManager.isPlaybackMode()) { String clientId = Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_CLIENT_ID"); @@ -91,6 +96,13 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { .tenantId(tenantId) .additionallyAllowedTenants("*") .build(); + } else { + credential = new MockTokenCredential(); + + List customMatchers = new ArrayList<>(); + customMatchers.add(new BodilessMatcher()); + customMatchers.add(new CustomMatcher().setExcludedHeaders(Collections.singletonList("Authorization"))); + interceptorManager.addMatchers(customMatchers); } // Closest to API goes first, closest to wire goes last. @@ -105,19 +117,20 @@ HttpPipeline getHttpPipeline(HttpClient httpClient, String testTenantId) { policies.add(new RetryPolicy(strategy)); if (credential != null) { - policies.add(new KeyVaultCredentialPolicy(credential, false)); + // If in playback mode, disable the challenge resource verification. + policies.add(new KeyVaultCredentialPolicy(credential, interceptorManager.isPlaybackMode())); } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); - if (getTestMode() == TestMode.RECORD) { + if (interceptorManager.isRecordMode()) { policies.add(interceptorManager.getRecordPolicy()); } return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) - .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient) + .httpClient(interceptorManager.isPlaybackMode() ? interceptorManager.getPlaybackClient() : httpClient) .build(); } @@ -403,7 +416,7 @@ static void assertSecretEquals(KeyVaultSecret expected, KeyVaultSecret actual) { public String getEndpoint() { final String endpoint = - Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "http://localhost:8080"); + Configuration.getGlobalConfiguration().get("AZURE_KEYVAULT_ENDPOINT", "https://localhost:8080"); Objects.requireNonNull(endpoint); diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecretNotFound[1].json index 7ad8a0706aad2..63c329d96480c 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "90e8acdc-8d68-4f9b-be75-359a07ed11c7" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "820958c7-226c-4d70-bc60-c2533ea8e734", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e6f745a6-9d2c-4aa5-b7eb-003e38028c30" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecret[1].json index 3ad503ca8023f..f9b0cfb641ab6 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.backupSecret[1].json @@ -1,54 +1,117 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/5d337cf415a84ba9935b?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/a6751e493ee544259da1?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6a3cf5c8-1b6f-465e-beec-f503c98c2b42" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "301", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ca6f580d-47da-4914-aa9e-324d508991da", - "Body" : "{\"value\":\"testSecretBackupVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/5d337cf415a84ba9935b/d3f39452c3184dc58f7b89bf47bc09e4\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/a6751e493ee544259da1?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "63", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretBackupVal", + "attributes": { + "exp": 2852668800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "11b305a7-2c3c-4404-a29f-780ba4b00cd0" + }, + "ResponseBody": { + "value": "testSecretBackupVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/a6751e493ee544259da1/99a79aa9afea472fb19e66751722f2e3", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/5d337cf415a84ba9935b/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "6976", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f166769d-dff8-475d-8fba-e128e88a1e12", - "Body" : "{\"value\":\"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRk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XYzaUNBTVVJcXBLeUpOeUxlRHpYUUt3RXVpcUJuZnBRRmVNSndsYkNBRGpWbG10c2NLeVRtSkpvQUtvV05VU2NObGwxajB2UllKLVVmemIxMkhhel8yeWFWSDZpNGlQVWFjSlByZHNJNVNxR1pGTjlLSDlMU2tsUE9JUUlVZlFGSUtLaVEzeE9OUGh0NTluNVBNN0JLRHFlaUJ0OTNRbmZjVG90Qi1RUEhwdkZkbE9aNnFMMTNhNExZNTJRTWhEV0FaN0xMeGVqMTN1ajRoX1ZmWHpLTDRyZnZUWEZ2OW9jT0NlMTJRbllrVHVkRUF2WDdsQWZiOUs1dnVxVkVQMmxFU095UWhUWHJDbTRwTEdYZDM4MWp1Y2JJeUtQTDM4dWt4MzA4LWhDRGVLSVhBZzEzRVNOQ2JIYkJOblBUOWEzOUpncF9JT084WTNWdVNRNC5McF9lOHVYb2xfRDNWRWpib3p4SWNpYnFncUJnbnd1QnJrOS1aZm9QXzNr\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "5d337cf415a84ba9935b" ] + { + "RequestUri": "https://REDACTED/secrets/a6751e493ee544259da1/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7232", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request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NTlsZ1lnSnp5VFZpMlZGMXJhbDUzRVI3WFBiaDVZWHNrRXNyZXdsUG1FRlpmMVFNdm5qYkxkSDRIWTByOTBpSGN2eEwtM01PNkZHcEdob0lKd24zXzZBT2cyVHhrNFJzQ0habFVYc25iX181SmMwLVktODdHWmtMMWxZbXZRUHJfTDNrdDI1b3B0Sm9rNG81ZGFCMG5XQ2wzUkx6eUNPTlRHZnczSXppSHZjNW5ZWVBMVXBfMnZEVV92MTZhR1pzNExKOHcyNUpBS1BXMUxqV3VhaU4xRWRuWFF4ZTZ5NDdpRGFfeHlMb1dWLW5VU3BGWV82cTdfTzQxbDBCNVo3TlkwRkxsYnpfTndQSVVTeloweHFSRnJHeEpwVHFIR09Pb0RONXkxM2lCMHBrc0FQLTFwWjVTREJFZnBLMFhEcXdDeEFocEZ0TjJ5Rk9Ob3Rna2tRamRfOEp3ZGtFay1TVnRiMWhNVENtVUs2WlVQbGtUZWpLNmZDTkx1aURrTGNQTTBQSXp3OXlTUUhRRlFiS0l1eWw4ZXhTQTk4bC11S3FkQnBHUmQxcWFVZGNnSmZNWHZJQ1dMUFBRSDJBd3RuMi1KU29idEctX1NCU2dIekQyOGlfTnFjcC1qci1lN0NIUUNaZmZINV91aGVfYms5X2RPV3BuY2VOa2JqX3NuNnU3cnBHc0lma0ZqOVF6UjczdEdMVU5lRDVMRFNMd25yOEd6NGh1OXZTek1qX19FamdaRmdNSUt1bk4wLWpURnFnMzVESUZZMWY5NUc0NlVuUlhybHU2VEwzTUh1WXJ4OUstMkhsTWJFWkw4czlZekJ5WU92YlZBLU5zTnJKWVVzcUo1eDlMYmQtekprYy44bk15dFZfTm5fd09jNXQzS3p2NS04Rzg4T0pqdEVrdmhuQjJGb2JhczRN" + } + } + ], + "Variables": { + "0": "a6751e493ee544259da1" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecretNotFound[1].json index fb464d06b37f2..273a32f219a23 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecretNotFound[1].json @@ -1,77 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0769c95e-dcdf-4066-9bc7-115f9bbec561" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" + { + "RequestUri": "https://REDACTED/secrets/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e486bcd7-7166-4acd-9ecc-662c01afa84b" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } } - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" - } - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "No such host is known (azsdktests.vault.azure.net)" - } - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" - } - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "04560cb4-111f-46a2-8dfb-cf544a47281a", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecret[1].json index a9b4ceba0129d..ff9947b50a187 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.deleteSecret[1].json @@ -1,79 +1,170 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/5b17fd8b294a44449fe3?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/a347d05895ec471b96e6?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a9c9a1b0-7141-4544-9e18-e198ffd9011c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "301", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2d619714-6292-49e6-abf9-8290193a6f29", - "Body" : "{\"value\":\"testSecretDeleteVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3/19f65e600108498eb1e2b283666f2c52\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/a347d05895ec471b96e6?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "63", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretDeleteVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "676e620e-9198-446c-a23d-e2f01b3a27fc" + }, + "ResponseBody": { + "value": "testSecretDeleteVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6/1831c918fb944f8cbb37908a77344a68", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/5b17fd8b294a44449fe3?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/a347d05895ec471b96e6?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bf00aee8-9a22-4e82-8064-6f254dbe69b2" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/a347d05895ec471b96e6", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6/1831c918fb944f8cbb37908a77344a68", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "66a46945-67af-49b7-b55f-959ef76b9b39", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3/19f65e600108498eb1e2b283666f2c52\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "294133ba-979a-4300-8177-a76c7d47eeed", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3/19f65e600108498eb1e2b283666f2c52\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "5b17fd8b294a44449fe3" ] + { + "RequestUri": "https://REDACTED/deletedsecrets/a347d05895ec471b96e6?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d568a5a5-1c84-4380-910e-b704cd99f1e5" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/a347d05895ec471b96e6", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6/1831c918fb944f8cbb37908a77344a68", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "a347d05895ec471b96e6" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecretNotFound[1].json index 497631635be53..82c6c6f1bee16 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d7e8f260-fa9d-4d17-bd7f-1f6c71def079" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "793ea4a8-bf25-43c9-b856-286e7e30d98d", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "06ee8efa-f413-496f-a809-8440c13168e9" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecret[1].json index ad62db836e694..caabfd4155320 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getDeletedSecret[1].json @@ -1,104 +1,246 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99109?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f051ab30-3a72-4989-831f-6281cde83d8d" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9f6ab887-efb5-4cc7-a117-e7d0afd034e7", - "Body" : "{\"value\":\"testSecretGetDeleteVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109/e8cf12115f4b4534af07221698ce1071\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetDeleteVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "307", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d05851bc-ad3e-4148-9df3-d1b62ca88d66" + }, + "ResponseBody": { + "value": "testSecretGetDeleteVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938/c5276fed0ac34d35b9097b3574376149", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99109?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a7e0c0ae-cce2-45e5-84be-4b02a978c68d" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted12938", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938/c5276fed0ac34d35b9097b3574376149", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d1fe330f-e62a-42b5-80e5-f3866923f5dc", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99109\",\"deletedDate\":1678954149,\"scheduledPurgeDate\":1679558949,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109/e8cf12115f4b4534af07221698ce1071\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "99", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "690727cf-85ad-4477-aa7d-0be0153ea3e7" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretgetdeleted12938" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99109?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4f888a45-636d-4bec-a3a0-2fc1e83a3763" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted12938", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938/c5276fed0ac34d35b9097b3574376149", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4df28add-1c2e-4ace-85d2-506740535a5d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99109\",\"deletedDate\":1678954149,\"scheduledPurgeDate\":1679558949,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109/e8cf12115f4b4534af07221698ce1071\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99109?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1d01b5ca-a3fc-4cf6-b8d2-359958b4031b", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99109\",\"deletedDate\":1678954149,\"scheduledPurgeDate\":1679558949,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109/e8cf12115f4b4534af07221698ce1071\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretgetdeleted99109" ] + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted12938?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7274d19a-3622-4b79-be06-83e891306dd1" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted12938", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938/c5276fed0ac34d35b9097b3574376149", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretgetdeleted12938" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretNotFound[1].json index 8ed4383aa21c5..d3511a3e302eb 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretNotFound[1].json @@ -1,77 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bb91fb08-4dfa-4081-9ed2-79cee066438b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" + { + "RequestUri": "https://REDACTED/secrets/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1d1e0ad4-0378-4c4e-b101-e957e9890ae9" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } } - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" - } - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" - } - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.net.UnknownHostException", - "ErrorMessage" : "azsdktests.vault.azure.net" - } - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b0c07465-ef37-441e-92ad-3c8af7efce58", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretSpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretSpecificVersion[1].json index 50846f70356c3..36e539cdf2ae6 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretSpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecretSpecificVersion[1].json @@ -1,104 +1,211 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion0357464?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion96622fc?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6ce17560-2a1a-424d-a85a-d450d5304a9b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "312", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "feefeeae-488c-4d66-a84d-bad3e50e5d4e", - "Body" : "{\"value\":\"testSecretGetVersionVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion0357464/70ef014692754b3480df1db1d50c2ded\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion96622fc?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "67", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetVersionVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "310", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ceb6dcdf-23ba-4c41-9277-4c306c8bcfa0" + }, + "ResponseBody": { + "value": "testSecretGetVersionVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion96622fc/07837ffc932147fdb9961bb98094bfc0", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion0357464?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion96622fc?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "50", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "newVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "293", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dc80ad0b-40d3-4250-a668-1fb899038cd7" + }, + "ResponseBody": { + "value": "newVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion96622fc/20e46cc4abae423b8192de61eaa46575", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "295", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "962a008e-6bdf-4720-897a-12849592cc99", - "Body" : "{\"value\":\"newVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion0357464/491597b126c746b08ec66f33e07692de\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion96622fc/07837ffc932147fdb9961bb98094bfc0?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "310", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "37955185-9f8d-40f5-8816-bba56f1a3331" + }, + "ResponseBody": { + "value": "testSecretGetVersionVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion96622fc/07837ffc932147fdb9961bb98094bfc0", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion0357464/70ef014692754b3480df1db1d50c2ded?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "312", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b10c5755-c59a-4bdc-b92f-cd18b9106a28", - "Body" : "{\"value\":\"testSecretGetVersionVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion0357464/70ef014692754b3480df1db1d50c2ded\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion0357464/491597b126c746b08ec66f33e07692de?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "295", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "083c4902-5b73-4a8c-af84-96f8f99bf850", - "Body" : "{\"value\":\"newVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion0357464/491597b126c746b08ec66f33e07692de\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretgetversion0357464" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion96622fc/20e46cc4abae423b8192de61eaa46575?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "293", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "928bc598-2a33-45fe-9de0-96a58913310b" + }, + "ResponseBody": { + "value": "newVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion96622fc/20e46cc4abae423b8192de61eaa46575", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretgetversion96622fc" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecret[1].json index cc76659e60452..d252f4d6f447a 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.getSecret[1].json @@ -1,54 +1,126 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretget92439e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretget92942d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "146d29b7-14ac-406a-852c-003500d98a5c" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bbdb9cd6-a53b-4d50-b32c-7d726140a058", - "Body" : "{\"value\":\"testSecretGetVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget92439e/67a8e74d196743abafe7234195575d10\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretget92942d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "295", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b956dee4-2dd6-445d-a097-79b5ca723b4e" + }, + "ResponseBody": { + "value": "testSecretGetVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget92942d/b376aa28794b4aae8e3c09aa197d2c22", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretget92439e/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3333fcae-900a-4f97-bd56-e45d8b3062c0", - "Body" : "{\"value\":\"testSecretGetVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget92439e/67a8e74d196743abafe7234195575d10\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretget92439e" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretget92942d/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "295", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e06948e4-e18a-4c06-9446-eaf336e5f86f" + }, + "ResponseBody": { + "value": "testSecretGetVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget92942d/b376aa28794b4aae8e3c09aa197d2c22", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretget92942d" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listDeletedSecrets[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listDeletedSecrets[1].json index 42ec1307fbf58..dccd692cd3dfc 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listDeletedSecrets[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listDeletedSecrets[1].json @@ -1,629 +1,803 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/48f84876e9fe4721ae67?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4baf4797-d840-4ea7-b268-8a08891a600c", - "Body" : "{\"value\":\"listDeletedSecretVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67/07031757b2db408284f1dae56223df20\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/ed1519e539c64cd1890e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f9958bda-b486-4770-a873-0dd324557eea", - "Body" : "{\"value\":\"listDeletedSecretVal2\",\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e/62e276d704e648bb8113ef14507d1d1b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/e1153c4818144fe5af9c?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d75bae5f-4137-407d-b8fd-38e5ad985823", - "Body" : "{\"value\":\"listDeletedSecretVal0\",\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c/b239fb10139648d2ba342668dc73867c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/48f84876e9fe4721ae67?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3d7a5cfc-37eb-4740-959a-c3e8502e4925", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67\",\"deletedDate\":1678954160,\"scheduledPurgeDate\":1679558960,\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67/07031757b2db408284f1dae56223df20\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a51b5b42-09f1-4d73-b1c4-2ba6709694c9", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67\",\"deletedDate\":1678954160,\"scheduledPurgeDate\":1679558960,\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67/07031757b2db408284f1dae56223df20\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/ed1519e539c64cd1890e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e4eca6b1-0f45-4a96-866d-b726a0d2cc9d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ed1519e539c64cd1890e\",\"deletedDate\":1678954162,\"scheduledPurgeDate\":1679558962,\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e/62e276d704e648bb8113ef14507d1d1b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/ed1519e539c64cd1890e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:22 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "074b6e89-15c9-4fa6-bfa2-a66ce207bd5d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ed1519e539c64cd1890e\",\"deletedDate\":1678954162,\"scheduledPurgeDate\":1679558962,\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e/62e276d704e648bb8113ef14507d1d1b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/e1153c4818144fe5af9c?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "adcf6ebf-f697-4a6a-81a3-b23ecc5c5510", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e1153c4818144fe5af9c\",\"deletedDate\":1678954163,\"scheduledPurgeDate\":1679558963,\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c/b239fb10139648d2ba342668dc73867c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/e1153c4818144fe5af9c?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a60c12d4-a847-4bbb-bef5-948ddd75c8ce", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e1153c4818144fe5af9c\",\"deletedDate\":1678954163,\"scheduledPurgeDate\":1679558963,\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c/b239fb10139648d2ba342668dc73867c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:23 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2704", - "x-ms-request-id" : "e8d11738-40ac-4252-8b0e-5af1a4511a73", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/00773d37114440549e36\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67\",\"deletedDate\":1678954160,\"scheduledPurgeDate\":1679558960,\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5eb71cea580a4fe7805f\",\"deletedDate\":1678951249,\"scheduledPurgeDate\":1679556049,\"id\":\"https://azsdktests.vault.azure.net/secrets/5eb71cea580a4fe7805f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/651b74016b264eccb959\",\"deletedDate\":1678951247,\"scheduledPurgeDate\":1679556047,\"id\":\"https://azsdktests.vault.azure.net/secrets/651b74016b264eccb959\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/67b4466b450c4c748930\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDODJPVGxETWpnMFFUWkdNa00wTmpZek9UUkRSUzgyT0VKRk5FWkVPVVV4TURNMFJqazJPRU0yT1VORE1rUTVRVFExUWpjd09TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDODJPVGxETWpnMFFUWkdNa00wTmpZek9UUkRSUzgyT0VKRk5FWkVPVVV4TURNMFJqazJPRU0yT1VORE1rUTVRVFExUWpjd09TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2255", - "x-ms-request-id" : "4a264b06-ee7e-415d-ba30-b4107ddd7e28", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/8283e0461be64632854e\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/secrets/8283e0461be64632854e\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/835d6aa27d7a416e89e8\",\"deletedDate\":1678951248,\"scheduledPurgeDate\":1679556048,\"id\":\"https://azsdktests.vault.azure.net/secrets/835d6aa27d7a416e89e8\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/b20b29a8ab5c472fae88\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b3a11ceabdcb4579ad41\",\"deletedDate\":1678951241,\"scheduledPurgeDate\":1679556041,\"id\":\"https://azsdktests.vault.azure.net/secrets/b3a11ceabdcb4579ad41\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951241,\"updated\":1678951241,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ba68f2544f924ef8a919\",\"deletedDate\":1678951258,\"scheduledPurgeDate\":1679556058,\"id\":\"https://azsdktests.vault.azure.net/secrets/ba68f2544f924ef8a919\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RVFVRTNNRUV5TlRnNE0wRTBNRFpCT1VVNU5pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RVFVRTNNRUV5TlRnNE0wRTBNRFpCT1VVNU5pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2320", - "x-ms-request-id" : "c2adb235-085b-4fc2-9909-e1923e43adf4", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/daa70a25883a406a9e96\",\"deletedDate\":1678951245,\"scheduledPurgeDate\":1679556045,\"id\":\"https://azsdktests.vault.azure.net/secrets/daa70a25883a406a9e96\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e1153c4818144fe5af9c\",\"deletedDate\":1678954163,\"scheduledPurgeDate\":1679558963,\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e557cc42f34e42398e03\",\"deletedDate\":1678951255,\"scheduledPurgeDate\":1679556055,\"id\":\"https://azsdktests.vault.azure.net/secrets/e557cc42f34e42398e03\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e7aa1022ea90424aacf8\",\"deletedDate\":1678951243,\"scheduledPurgeDate\":1679556043,\"id\":\"https://azsdktests.vault.azure.net/secrets/e7aa1022ea90424aacf8\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ed1519e539c64cd1890e\",\"deletedDate\":1678954162,\"scheduledPurgeDate\":1679558962,\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOUpUVkJQVWxSRFJWSlVVRXREVXpJM05EWXhRamcxTHpWR1JUTkRNemxDTnpNeVJUUTFOREE0T1RNd05qUkdSVFl5UWtRM01VRkVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOUpUVkJQVWxSRFJWSlVVRXREVXpJM05EWXhRamcxTHpWR1JUTkRNemxDTnpNeVJUUTFOREE0T1RNd05qUkdSVFl5UWtRM01VRkVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "bf50468c-08b3-4d17-a9bb-1723ba184532", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRFF6T1RBNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRFF6T1RBNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "3440443b-e56a-42a0-ae5f-ce04ea5c93e5", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFdEZXVE15T0RNMk9FSTBNQzg0UlRjeU5FSkVSVUUwTlRVME1qWkRRa1ZDUXpkQk5EQTNNRE0wTjBORE9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFdEZXVE15T0RNMk9FSTBNQzg0UlRjeU5FSkVSVUUwTlRVME1qWkRRa1ZDUXpkQk5EQTNNRE0wTjBORE9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:24 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "318", - "x-ms-request-id" : "e8f717e3-cdbd-46f7-8ce3-0983615171e5", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVk5VUkVWTVJWUkZSRU5GVWxReE5EVXhOemd4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVk5VUkVWTVJWUkZSRU5GVWxReE5EVXhOemd4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "366", - "x-ms-request-id" : "80fcfb94-42ec-41af-92d9-a56fa302786f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTNJWE5sWTNKbGRDOU1TVk5VVTBWRFVrVlVORE15T0RRNU5DODRSa1U1UmpjeU1qbEdSVFUwT1VNMU9EVXhOelZHUmpjME5FRkNOakl4TnlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTNJWE5sWTNKbGRDOU1TVk5VVTBWRFVrVlVORE15T0RRNU5DODRSa1U1UmpjeU1qbEdSVFUwT1VNMU9EVXhOelZHUmpjME5FRkNOakl4TnlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "ad1a2dd0-3db2-4431-afe9-4e0075486734", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRBMU16Y3lRVGhETTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRBMU16Y3lRVGhETTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "cd30b7e3-1fcb-49cf-8cf0-5242a9f84808", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZESXdPRGczT1RBek5ETTJMemM0TVVRek56VXdRalUzUXpSR09VVTVSalF4UlVNMlFrSkZRa1kwT0RNeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZESXdPRGczT1RBek5ETTJMemM0TVVRek56VXdRalUzUXpSR09VVTVSalF4UlVNMlFrSkZRa1kwT0RNeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "c249a042-bfac-499f-b529-1c86e382a437", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNM05qazFOVE0yTWtZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNM05qazFOVE0yTWtZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "60399650-55d9-47c8-97e8-1d2e395a58fa", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEVTROVGcxTWtZM1F6Y3dMelk1TVRZeE56VTBNa1E0T1RSQ1FqTTRNMEV5UmtRME9FWXlNVGhFTTBJd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEVTROVGcxTWtZM1F6Y3dMelk1TVRZeE56VTBNa1E0T1RSQ1FqTTRNMEV5UmtRME9FWXlNVGhFTTBJd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "306", - "x-ms-request-id" : "e7f4e395-5490-4e7e-a219-e9a61e1534ef", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5VVJWTlVRMFZTVkRjME1qVTFOVVl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5VVJWTlVRMFZTVkRjME1qVTFOVVl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "db3559f5-4105-4ecb-8bdd-a7856cd7c537", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEazBNamM1UmtORk9UZ3dMekk1TWpZeVJERkdRa1E1TkRReVJVWkNPVUUxTURJMU1rRTNSa1ZHUWpjNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEazBNamM1UmtORk9UZ3dMekk1TWpZeVJERkdRa1E1TkRReVJVWkNPVUUxTURJMU1rRTNSa1ZHUWpjNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:25 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "721", - "x-ms-request-id" : "0cd2fb49-9ba4-47fc-a0ff-b6b24ba88294", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted53874\",\"deletedDate\":1678951238,\"scheduledPurgeDate\":1679556038,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted53874\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1588", - "x-ms-request-id" : "862f4c55-1341-4321-91b4-cbd09432a22c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted91499\",\"deletedDate\":1678951241,\"scheduledPurgeDate\":1679556041,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted91499\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99109\",\"deletedDate\":1678954149,\"scheduledPurgeDate\":1679558949,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99581\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEUTBORGswTmpJdlJFUXhNRFJDTURBd1FVTkZORFExTmtFd09UVkdOMFU0TXpjME1VRTJOa0VoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEUTBORGswTmpJdlJFUXhNRFJDTURBd1FVTkZORFExTmtFd09UVkdOMFU0TXpjME1VRTJOa0VoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:26 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "28", - "x-ms-request-id" : "6e28974f-d4f2-4e00-a498-4f4ce4a7c3ff", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "e1153c4818144fe5af9c", "48f84876e9fe4721ae67", "ed1519e539c64cd1890e" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/db7b6ca68ebe4f1291ab?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "55918af8-a13e-4d32-9277-c1e20c548ec6" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/db7b6ca68ebe4f1291ab?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal1", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bf9ba9ef-d5fd-413d-8224-5f466a02b0fa" + }, + "ResponseBody": { + "value": "listDeletedSecretVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab/0c2b62785ea14f48936695fad5f05ad1", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/37479b25348843799e32?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal0", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "464072ec-bde8-4b03-93a0-9232179e0e64" + }, + "ResponseBody": { + "value": "listDeletedSecretVal0", + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32/1adbbbd0427b451a82e29c2ba16f86aa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/9b060325716346f4b897?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal2", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b000b335-2e9b-4b73-a016-0b13cf88d57f" + }, + "ResponseBody": { + "value": "listDeletedSecretVal2", + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897/96b373b0e5594cbdaaa2e72f5075ec4e", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/db7b6ca68ebe4f1291ab?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "99e9ba09-721e-4dc5-9622-ba6898049445" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/db7b6ca68ebe4f1291ab", + "deletedDate": 1681267744, + "scheduledPurgeDate": 1681872544, + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab/0c2b62785ea14f48936695fad5f05ad1", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/db7b6ca68ebe4f1291ab?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "977d7fc1-9208-4867-96b5-fd762f6398e8" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: db7b6ca68ebe4f1291ab" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/db7b6ca68ebe4f1291ab?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "77fd2fbe-fcc7-4e68-86c1-403bae117dfa" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/db7b6ca68ebe4f1291ab", + "deletedDate": 1681267744, + "scheduledPurgeDate": 1681872544, + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab/0c2b62785ea14f48936695fad5f05ad1", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/37479b25348843799e32?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8e117fe4-f7e7-4dfe-8cef-84e1c0ac70eb" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/37479b25348843799e32", + "deletedDate": 1681267746, + "scheduledPurgeDate": 1681872546, + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32/1adbbbd0427b451a82e29c2ba16f86aa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/37479b25348843799e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8dc6bca3-33cb-43f7-8f59-b696a6ac8a45" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 37479b25348843799e32" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/37479b25348843799e32?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "67499ffe-4ae4-408c-983c-57eb0dec3b02" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/37479b25348843799e32", + "deletedDate": 1681267746, + "scheduledPurgeDate": 1681872546, + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32/1adbbbd0427b451a82e29c2ba16f86aa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/9b060325716346f4b897?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a35ce8c6-e473-4ac4-add3-c2c6d99928cc" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/9b060325716346f4b897", + "deletedDate": 1681267748, + "scheduledPurgeDate": 1681872548, + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897/96b373b0e5594cbdaaa2e72f5075ec4e", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/9b060325716346f4b897?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "440a3ae7-00bf-446a-81c4-1cd9cdade3e1" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 9b060325716346f4b897" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/9b060325716346f4b897?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "47c8ec72-94e6-4cb4-97b8-83c18eabcf69" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/9b060325716346f4b897", + "deletedDate": 1681267748, + "scheduledPurgeDate": 1681872548, + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897/96b373b0e5594cbdaaa2e72f5075ec4e", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2678", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1a17ce4f-31f4-4d3f-9677-028194bb71d3" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/245e266116664d398cd5", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/37479b25348843799e32", + "deletedDate": 1681267746, + "scheduledPurgeDate": 1681872546, + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/8540624955f64154aefa", + "deletedDate": 1681267736, + "scheduledPurgeDate": 1681872536, + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/96b3e5a62a1f4e50b648", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/9b060325716346f4b897", + "deletedDate": 1681267748, + "scheduledPurgeDate": 1681872548, + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/a347d05895ec471b96e6", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOUJSakExTWtZM00wSTJRVGMwUWtRNFFVUXpOaTlGTkVNMk5qUkdSamhFUXpNME5qUkRPRGt4UmpFd1JUTTBOMFV3T0RkRVF5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOUJSakExTWtZM00wSTJRVGMwUWtRNFFVUXpOaTlGTkVNMk5qUkdSamhFUXpNME5qUkRPRGt4UmpFd1JUTTBOMFV3T0RkRVF5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1073", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ba7c614a-276c-45f4-b365-df2afe28fa72" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/db7b6ca68ebe4f1291ab", + "deletedDate": 1681267744, + "scheduledPurgeDate": 1681872544, + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/fc45701ab4d940c78284", + "deletedDate": 1681267737, + "scheduledPurgeDate": 1681872537, + "id": "https://azkvrecordtests.vault.azure.net/secrets/fc45701ab4d940c78284", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5qazFPRE0xUWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5qazFPRE0xUWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1179", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "77aaa961-00a5-4713-82df-7e3e975cdfef" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted12938", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted98168", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEZ3dOVE16UlVZdlF6bEZNelJGUWpnNE9UWkROREF5TjBFNU56UXpOVE14TWpjelFUYzNOa1loTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEZ3dOVE16UlVZdlF6bEZNelJGUWpnNE9UWkROREF5TjBFNU56UXpOVE14TWpjelFUYzNOa1loTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ead38d2c-dbc8-40ce-b432-28ca00c8e23e" + }, + "ResponseBody": { + "value": [], + "nextLink": null + } + } + ], + "Variables": { + "0": "37479b25348843799e32", + "1": "db7b6ca68ebe4f1291ab", + "2": "9b060325716346f4b897" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecretVersions[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecretVersions[1].json index 5af6012a90cbf..6f30e8ed4f436 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecretVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecretVersions[1].json @@ -1,129 +1,298 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/744245066d4f45b08863?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c00d6d7c-33d9-4523-86b4-65109485769f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a944fbce-97e0-4ac5-8a8a-27d3810c4df1", - "Body" : "{\"value\":\"listSecretVersionVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/380b525b9cda4ac0896e0bb50ec0a796\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal2", + "attributes": { + "exp": 3797366400 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6af9ac2b-9e14-448b-b7de-0a1b258ecdb6" + }, + "ResponseBody": { + "value": "listSecretVersionVal2", + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/b735cfa896c5427f9385023c75477ff4", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/744245066d4f45b08863?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal3", + "attributes": { + "exp": 3797452800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6100624c-efdc-4e6c-addc-34843b89e500" + }, + "ResponseBody": { + "value": "listSecretVersionVal3", + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/6b3314c531544d7b96645a95d750b82e", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "82d79b18-f04f-4b01-b7c0-1978cb757dde", - "Body" : "{\"value\":\"listSecretVersionVal2\",\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/647b3ad20fdb421eb3f5813938cae0e7\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal1", + "attributes": { + "exp": 3797280000 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "94926000-79fb-4f01-a6b6-583419ed754e" + }, + "ResponseBody": { + "value": "listSecretVersionVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/753adc684831474fb473ddfc4a13e2da", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/744245066d4f45b08863?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal4", + "attributes": { + "exp": 3797539200 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7404b308-7387-4bee-89cb-3faf0ec6ae12" + }, + "ResponseBody": { + "value": "listSecretVersionVal4", + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/f44e8c39efba44fb8e87fa13a878b35c", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4c6087a7-31af-4815-b514-f48dc8aff879", - "Body" : "{\"value\":\"listSecretVersionVal3\",\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/8977546c31414aa881d88cfd7a0f1fc7\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/744245066d4f45b08863?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "56148d57-6ad0-40c3-9204-6b1489cf9c9a", - "Body" : "{\"value\":\"listSecretVersionVal4\",\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/ce185371a0244223aaed4a53a07c1a34\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/744245066d4f45b08863/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:44 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1115", - "x-ms-request-id" : "6f3f1436-14c2-42da-8e01-b8cf42938d11", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/380b525b9cda4ac0896e0bb50ec0a796\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/647b3ad20fdb421eb3f5813938cae0e7\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/8977546c31414aa881d88cfd7a0f1fc7\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863/ce185371a0244223aaed4a53a07c1a34\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "744245066d4f45b08863" ] + { + "RequestUri": "https://REDACTED/secrets/70e66709020c4163afd0/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1107", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e6fed72e-de9f-46f0-aae8-fa7a5279a445" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/6b3314c531544d7b96645a95d750b82e", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/753adc684831474fb473ddfc4a13e2da", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/b735cfa896c5427f9385023c75477ff4", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0/f44e8c39efba44fb8e87fa13a878b35c", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "70e66709020c4163afd0" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecrets[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecrets[1].json index 6c5ccdc52bd24..9b3fd11400762 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecrets[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.listSecrets[1].json @@ -1,229 +1,567 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/listsecret4695512?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/listsecret33101b1?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1ec21dab-78f5-4ac0-8bdf-528e623f3a78" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "293", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1537fed3-5645-4d92-9292-02375946c36b", - "Body" : "{\"value\":\"listSecretVal0\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4695512/cb27af43030e475bbcf261209b6394a7\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/listsecret33101b1?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "58", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVal0", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e085db3c-0a78-406e-b8ac-badfdb8721c1" + }, + "ResponseBody": { + "value": "listSecretVal0", + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret33101b1/087ad184eb5849b09bb75ea1f40bb65e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/listsecret4328494?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/listsecret75176c9?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "58", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVal1", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c375d836-3250-4576-b83d-b1ed5b056846" + }, + "ResponseBody": { + "value": "listSecretVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret75176c9/1691cab8cdd440b88538bfcebaf07e1e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "293", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "543c4619-ac91-477e-9a4e-eaf8d0d0d7e3", - "Body" : "{\"value\":\"listSecretVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4328494/8fe9f7229fe549c585175ff744ab6217\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "5459", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7597e805-4941-46bf-9f21-241538c490c0" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/a6751e493ee544259da1", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/af052f73b6a74bd8ad36", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp03197", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp13611", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp29629", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp33572", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp41437", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp43964", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp53529", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp59406", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret33101b1", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret695835b", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret75176c9", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/secrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU9UY3pPVFV6T0NFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "3901", - "x-ms-request-id" : "4df1a93c-2482-4320-8158-f3828b30c342", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/15172c52dd914fd2b3bf\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/1aa58f6804ad4c7fa7e1\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678951241,\"updated\":1678951241,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/4551bd524b794b7c95f5\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/4ea75cdbb73e463f8bec\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951243,\"updated\":1678951243,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/5d337cf415a84ba9935b\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/744245066d4f45b08863\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/7a711a2f01c645ad95a0\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/aa9644f366bd4563b786\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/ac59136d52ac4358bc8f\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951248,\"updated\":1678951248,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/bb5cc90016744eae8133\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/bf4d4a2c87664c9caecb\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/c2a8716849e549758060\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5Rk5UVTNRME0wTWtZek5FVTBNak01T0VVd015RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5Rk5UVTNRME0wTWtZek5FVTBNak01T0VVd015RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6889", - "x-ms-request-id" : "cf477b0f-f117-45a0-b19d-42524e2a1d49", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/ee197c49cb3b4db9b5ac\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951243,\"updated\":1678951243,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem45586c37\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem70052b83\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem849004cb\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem92624d14\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs27461b85\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs60786327\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs75353a38\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp02227\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp03630\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp03784\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp09357\",\"attributes\":{\"enabled\":true,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp16521\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp25951\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp28909\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp31468\",\"attributes\":{\"enabled\":true,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp41965\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp43590\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp43909\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp50428\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp60966\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRGN6TmpjeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRGN6TmpjeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5971", - "x-ms-request-id" : "b6962950-5353-4345-b9f3-1f56b1220eb3", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp73673\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp80097\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp83384\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey020515346\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey140384932\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey14728c014\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1710576552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey18827d6de\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953555,\"exp\":1710576555,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey23688a6ba\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678953558,\"exp\":1710576558,\"created\":1678954159,\"updated\":1678954159,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey30234f065\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey3491808e4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey365168328\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey492960bb6\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey628397873\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey683522e3c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey7755247a7\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey83973bcab\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954157,\"updated\":1678954157,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey958720254\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret075001c\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret2132239\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5ESTNNelpHTmlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5ESTNNelpHTmlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6759", - "x-ms-request-id" : "e68bc3d2-6940-452d-acc4-26e6817861de", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret42736f6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4328494\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4695512\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret5928080\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret67478ec\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret7250531\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/myalias\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey06611606\",\"attributes\":{\"enabled\":true,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey53683f37\",\"attributes\":{\"enabled\":true,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert0041741853c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert05138d67\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert05372a8c3d9\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert056438d4a20\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert1092295324b\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953554,\"exp\":1710576554,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert127097d0dc8\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert15963b9a102\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951061,\"exp\":1710574061,\"created\":1678951661,\"updated\":1678951661,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert20887903436\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert21172984d93\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953559,\"exp\":1710576559,\"created\":1678954159,\"updated\":1678954159,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert224271757ba\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert26201762259\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert27558598b2c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert27808513219\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert30284660cd8\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNeE1EUTNNME0yT0VJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNeE1EUTNNME0yT0VJeklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6456", - "x-ms-request-id" : "b2388e33-fc80-4f76-8a14-fb941f069d5d", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert324948604ee\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert35510d74ced\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert3990480f79a\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1742112556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert40147b09c3e\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953553,\"exp\":1742112553,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert47882934afa\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert49907fe70ac\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert510992ef0be\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert5677070ba11\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951253,\"exp\":1710574253,\"created\":1678951853,\"updated\":1678951853,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert56810496c6b\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert58344de8f9e\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953558,\"exp\":1742112558,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert6210194afab\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert6384478e5bf\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert661444e3f00\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert708698d2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert721471bd873\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert72180ce45d5\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953550,\"exp\":1710576550,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert72544647\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert7280530dd15\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert742555f1\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert748574fa31b\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953556,\"exp\":1710576556,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRjMU5qWTNOekJDTjBKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRjMU5qWTNOekJDTjBKQ0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5705", - "x-ms-request-id" : "e6f9a196-04ad-4145-a3a0-44833a44faa0", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert81087515588\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953560,\"exp\":1742112560,\"created\":1678954160,\"updated\":1678954160,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert82221cd67f8\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953552,\"exp\":1742112552,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert838336ea\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert879909fb\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert88427430\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert92201a19a66\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert92673e6be72\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert937620dadf7\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert98347e92\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert9971873a\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953557,\"exp\":1710576557,\"created\":1678954158,\"updated\":1678954158,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion09939\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion88662\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget134640\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget144381\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951244,\"updated\":1678951244,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget64150e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget92439e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion0357464\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion8506350\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion9085392\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVVmtWU1UwbFBUams1TXpFMlJqSWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETTBJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVVmtWU1UwbFBUams1TXpFMlJqSWhNREF3TURJNElUazVPVGt0TVRJdE16RlVNak02TlRrNk5Ua3VPVGs1T1RrNU9Wb2giLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:21 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2253", - "x-ms-request-id" : "f216979c-f342-4124-ac49-e88a797519a4", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion99316f2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover06743f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover127013\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret04122f1\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret4449462\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678951244,\"updated\":1678951244,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret6056105\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret6549070\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listsecret4695512", "listsecret4328494" ] + { + "RequestUri": "https://REDACTED/secrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU9UY3pPVFV6T0NFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2496", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dfed8b87-3a09-4d0e-9989-a592a954f7a2" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret9739538", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "contentType": "application/x-pkcs12", + "id": "https://azkvrecordtests.vault.azure.net/secrets/myalias", + "managed": true, + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget28163e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget92942d", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion6928176", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion96622fc", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testupdateofdisabledsecret80533ef", + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testupdateofdisabledsecret9466440", + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listsecret33101b1", + "1": "listsecret75176c9" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecretNotFound[1].json index 50a55d0d5d60e..8da6f1d7dabc8 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "95477327-4efb-41cd-8e50-4ca0bd6bee74" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c18240b8-ccd1-4479-ae1f-be842dc9fcc4", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "58812d3f-457e-47a6-8d98-03e833e8974c" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecret[1].json index 9ae0e109b1a28..dd732c9bb25f2 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.recoverDeletedSecret[1].json @@ -1,129 +1,317 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover839738?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "645e0754-c4d1-4025-984e-627b418e0911" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0ddcbc6c-2077-49e5-b9fb-91c8235c80bf", - "Body" : "{\"value\":\"testSecretRecoverVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738/220dccf23a284f84af1eb8ab2ac91573\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "64", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretRecoverVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ee9130e2-6488-4e24-aea4-2d2fd3b5e7c4" + }, + "ResponseBody": { + "value": "testSecretRecoverVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c/30607ab7afd44edc965565e0a2094c41", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover839738?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "493c3d78-5b3f-455e-bb55-d17c5b012d74" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretrecover06114c", + "deletedDate": 1681267735, + "scheduledPurgeDate": 1681872535, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c/30607ab7afd44edc965565e0a2094c41", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "427", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b659026c-d115-4f76-86e7-68fd93343687", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretrecover839738\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738/220dccf23a284f84af1eb8ab2ac91573\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6ec08554-297e-4b84-805c-6390d66e375a" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretrecover06114c" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretrecover839738?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "05184eac-5e0d-4e32-979b-fd00fbdb0179" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretrecover06114c" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "427", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "45b3ee27-2ff1-4288-9e8a-78c3c7002645", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretrecover839738\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738/220dccf23a284f84af1eb8ab2ac91573\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover06114c?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a1808711-b202-41d9-8182-91c09487c4a4" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretrecover06114c", + "deletedDate": 1681267735, + "scheduledPurgeDate": 1681872535, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c/30607ab7afd44edc965565e0a2094c41", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretrecover839738/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover06114c/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "272", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "31d0e0a9-c8f8-48dc-ba48-6bee3a5e8a91" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c/30607ab7afd44edc965565e0a2094c41", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "274", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa776e6e-99be-494c-81d7-f3eb71e48285", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738/220dccf23a284f84af1eb8ab2ac91573\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover839738/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5999c4b7-5f8e-4491-b8e2-5334c074bb04", - "Body" : "{\"value\":\"testSecretRecoverVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover839738/220dccf23a284f84af1eb8ab2ac91573\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretrecover839738" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover06114c/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9cace218-5581-4f47-9e62-2248ba0216d9" + }, + "ResponseBody": { + "value": "testSecretRecoverVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover06114c/30607ab7afd44edc965565e0a2094c41", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretrecover06114c" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecretFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecretFromMalformedBackup[1].json index 9c5767cdcbdea..3fd7f1c0e826c 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecretFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecretFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "26e4c811-8379-4c5d-b34d-c67d63e5a2e2" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e433b509-9baf-4599-b2ff-966834a7d647", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b9b8f5b7-e31d-486a-9f3c-057613f11a5c" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecret[1].json index c0ee8205e6295..f8b70c676e886 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.restoreSecret[1].json @@ -1,176 +1,337 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/699c284a6f2c466394ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b7a2c296-1840-4d88-90cd-425422e8640b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9b835ea7-b69d-44f9-b53c-34c00a3fa191", - "Body" : "{\"value\":\"testSecretRestoreVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/699c284a6f2c466394ce/68be4fd9e1034f968c69cc2d9a45b709\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "64", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretRestoreVal", + "attributes": { + "exp": 3483820800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "be8bfd7c-333b-4a6c-ae23-3260b93186de" + }, + "ResponseBody": { + "value": "testSecretRestoreVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/0e5feed1f7414db58c60/6984e1a198da4d26916dbc2461ab3311", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/699c284a6f2c466394ce/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/0e5feed1f7414db58c60/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7232", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1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UdEQUhYZzh0T19HZy1GODJwbXpSR19ibVRqcE95RWgyM3ZPZk4ydlR2MjBRNklJM2hpNDhRS0RRZExrN0ZSYWtGWjNmWWIwZ2ZrS01DNWhvOWl2N2F1b2tIRk41Um8xaEF2eFIwemdxaTdncnN5MzFYdjJGY0ZJZjFSREFPdFFDU1g2eTY4TEIwTGZnTjBPQnVkWGxqTkM1cXcwOXdxeklyT3BHZDA1Nmw4TU9Ydjl4VEZnczdaY0dJYkthcklQd2tSMm5IbTlUTWRFZUlMWlJwY0tPemRTbGxjek5FWVVuYzZDLUc3VWZhUGdmUU5HTUVoUVhFbTFPNkpITGpVYkc3SEV5SXZnSmhvNXBOUmwtZmVzTXVFendBZnNwMFU1YnFWZVp0bHVGamg0SjIzRjBmdkZkSGRUYTJLdHhOYy1BeGNQdVg5VE1IT2lva1NHaVA1c2Rrcm1RMlAxcGhkMTFILVdEcmRoZER2UGIwTUVYVVVSTEVBOGd2WHJLWVRGMllxbTJhd1ZVYk9yWmN1ajlzZTEzbGxqYUtSTFdPRkxxajl6XzdlUVZaa1JyWnBGbVd4QjRqdERpQ0ZDWWoyT0RPdnVKU2Q0ck1ROU8yU21QMjVyWVlGTldvbXNibWZCd2ZYSTNzSC03QmRIbHE2NlB0bXpxVGRRNTVUODlnZklGbzJGaG5haUU2ZkhxNTM2M2duc21vSkVWZnBfYUFYLWF3SFQ1TEZhYjlNVHZ1WDFLVWFEMk5xaU93ekZBaVRvRk9rUl9LaloyUFNaYzR2SDBkcWFOTzlJR2V2VmFESk9KbUIwSEZzRWNyaWVHT3lETlpUVkstQzluMWNZS1JtUV9WazQ0d0Z5QmlUTkhJdE9oRjJlSzhXRnlsRWhoZXFickpwNC5qTkVlUDlGMXhaUDAyVkpmQXRncENLSjZjRnBrU3g0RVBHVkJlUVFWMzhZ" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "6976", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5f75e4f8-6830-4951-baee-78a2e22d36bc", - "Body" : "{\"value\":\"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuc0hpenVwVGJiRUtaQ0JUTTBVMGtQR0VsSjU4SElfQnQ3Ui1JNVMxV2k3X0NqWkFvN1pvLURMdjIxT0lVZ1pIMmNOSGV4SGpwc0t5Q2NCTXoyODV3bk1qZFZZZ05IUF9ITGNUQ2JxckJVWDJQVmx6alRIbmxkV1JjRzhKc0dOeG1ibzhzWkwzMmNlZHhseTlsYTAzZ0g0OERuQTJFNHFyX1d2ZlVxaVY5cE1mNTVTMm1KTklCTG1EdEkwM29oM003UmZzZkxxb0J5ZzVTWkotbG0wbF91U01IZ1BXRUduYWl2OHpCWmxFQUp5aThpQ1lucHJjOW0zekJUMkY5MDR1eTR1TGI3TWs4eWZCRVJrU29kWWxWUDdVOEFsUGowRkxoS01DYzZueW5qRUZmeG01MXlpbEhZVGVxNW4xUV93YzZzbmQ1anJEaE9zU09tOUpoNk4wVHJBLndpOWlub2cxZ21CUXhMbEFRWFVPbVEuS3gzV1RnY0wwY0gxbHlVeDlkQmhrZFBwLXVtLU9udVhDUTlYZDZkRlFtbE9OT1B4UjJPeTl3TWhlRF9XWHNQZ3NtS0dYdFkzUm5pOGY1YWcwQj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Mmhod0ZRdVZDXzQ2aVZOeHM0SG9Sc1NQdlhGX0hCM1VMUHhQaWxQY1Q0ajVlcVJPMFR6aDZ6d2hQYkZSY1BiNGJZYXB2dXRxaXU0VmpPblJ5UEdwSVhCWHFNMTZValhxcHh1V1lqdWpqVTFQWW9XcFA2WHZKbW5rdmFXSzFBdmVKRVZ1TEI5OXpGSlN5YVhNZ3J5ZWxuUHYwcVlFNWFwNE4zbW1KMDVYaXpnTU9sLXJZNmJxWTZtaE9Wd1VTZVlGTDVZRjJYbmJJcE9FV0F4SkI5cmc0OUN2RE01NktQUm9sOUxzUmprdS1JS1l3UjF2aDlOeGZJV3lodDViaGFOeG1qY2wzeE5Ud1YtR1lTNFltVU5tWHdDVlVTRW5LREEwc21ER0Z2cFA0dFN0RXljczhDalRId2FaNU5KbjB2N01YaklfWjlfdVhzNDZQUnZ3VHY4al9jSnhOVUFuc1A4OXdPWER2cnNzUWdtdGdYSkxDMnZCQlV6NVlIdTY3NUpXdi16REItbEVyUDJsc094NXhhMEp2VmFhR3RDSEItTmg1VWdZTUhTMEwxRW1laTg5YXM0OUY1b0JEM21oZGh6c295MHh4emhBLXVsaVZXTkpMd21oM3V0c2JwWXZkN0Z2U0tmS0xOcUxZMkl4S3J6Ym1aQ21mMnE5aU9DcExwX1Jlak04NU5VelFSTmdnNW5WdEJTMERqZG5ydnpqbUhfUUlDakxQR240OHRkemNvcV9ZbHozakQ3UVZsTnBDY1VwVUc5VVFkYjROV1lUbWctOHZONmF0RS5WRzlxV1BBOEE5S3ZRN0M4clk1ODlNNGRpWUhTTmxWR1o0WnlTZ2VGTF9Z\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e34cd418-4c3b-4263-ad25-d84f8cc5a3a6" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/0e5feed1f7414db58c60", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/0e5feed1f7414db58c60/6984e1a198da4d26916dbc2461ab3311", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/699c284a6f2c466394ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "39dbe724-e66d-43a0-8de7-948c2fb8d771" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 0e5feed1f7414db58c60" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0ed7ab38-8757-4577-9440-e7354ce69fb0", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/699c284a6f2c466394ce\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/699c284a6f2c466394ce/68be4fd9e1034f968c69cc2d9a45b709\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0f1b0c47-d398-43e1-80fc-c545c836f0fb" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/0e5feed1f7414db58c60", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/0e5feed1f7414db58c60/6984e1a198da4d26916dbc2461ab3311", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/699c284a6f2c466394ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "96561ae4-29eb-407b-b163-f72bebf42e7c" + }, + "ResponseBody": null }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8620bdb5-e333-41c5-9188-1b9a3fbbd1a8", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/699c284a6f2c466394ce\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/699c284a6f2c466394ce/68be4fd9e1034f968c69cc2d9a45b709\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/0e5feed1f7414db58c60?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8c39ecbd-1b15-48c9-9341-0ba9fac44035" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 0e5feed1f7414db58c60" + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/699c284a6f2c466394ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "029769e6-4c4a-4195-94d9-3d75c066c26d", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/699c284a6f2c466394ce?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "794bb41b-9375-48fd-b4f9-dee0202c7687", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 699c284a6f2c466394ce\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "271", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a9987733-04af-4281-ad3a-3e4a9fea0fc8", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/699c284a6f2c466394ce/68be4fd9e1034f968c69cc2d9a45b709\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "699c284a6f2c466394ce" ] + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "7232", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuQ3ZTQU1mRHBFN2hGMnBYVUVuV1FvSGZBcEc4NG1KMi1IQl9EN3ZYZk55SXdaTUJVNWRpOWJ3a1V6b2R3YUlyQVluUkw2LUdzNENVcVc2cm8waFhTTTVBb0ozM1FvUUNwVUxXVS1XYWpaMjhpUmVycEpMaXRuNnRXX3VNel9BUjRkazF5ME8zYnZNUVRtZFRiSlYyNl80WmZORU1Nb002aTZ4cmtobTh3b3BoclVEQVQxYmxudzkyam5aN2V4bUg0Skw2UzNHOWVfemFUc01rcjEwcktBdkUtWFl5UGRjb2tlWVF4UGdRMXY0Q3RiamN1Q29OYzBIbks3NGVOVGdvRFRxQXZFM0dLdWdhOVV6ZnBORzFBU3VtNDJYLU9VQ0RadnpYRjdoYllWUVBPZ2lFRUNPWEo0cXpCYm9VZTluOGFzSFlmcVlXeFYtWnJid0p0eGNNVWF3LkwwcExvdnJyN3FEcVE1TUppQ1Q3V0EuSWZ4QXQ1RkRDQl9tRXNjYXI1NHdvVzRsYXFtUEN5WHVTQ1JMeE91NHgyaEY4RFlqSHQtTDUtU005TkdXTVQzbEdaa3BRYmNWbjQtN2IxOU1mUFJBRWhJQ2p4NEdPZmQtZmtqdDFkY1k1SDM5Sm83V2xlaFNIdWlvVE1fTDRxQzIwS3Z1S3BBX2NHRjd1b2VqWFc2U0hHeXV5akJ4TXNBYzhHaGZEWlpOQjQ5THZ6YkJMc0Z1OHUzOWo4U1BhMXZqbWVDSzZ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b3gxeHZudUdEQUhYZzh0T19HZy1GODJwbXpSR19ibVRqcE95RWgyM3ZPZk4ydlR2MjBRNklJM2hpNDhRS0RRZExrN0ZSYWtGWjNmWWIwZ2ZrS01DNWhvOWl2N2F1b2tIRk41Um8xaEF2eFIwemdxaTdncnN5MzFYdjJGY0ZJZjFSREFPdFFDU1g2eTY4TEIwTGZnTjBPQnVkWGxqTkM1cXcwOXdxeklyT3BHZDA1Nmw4TU9Ydjl4VEZnczdaY0dJYkthcklQd2tSMm5IbTlUTWRFZUlMWlJwY0tPemRTbGxjek5FWVVuYzZDLUc3VWZhUGdmUU5HTUVoUVhFbTFPNkpITGpVYkc3SEV5SXZnSmhvNXBOUmwtZmVzTXVFendBZnNwMFU1YnFWZVp0bHVGamg0SjIzRjBmdkZkSGRUYTJLdHhOYy1BeGNQdVg5VE1IT2lva1NHaVA1c2Rrcm1RMlAxcGhkMTFILVdEcmRoZER2UGIwTUVYVVVSTEVBOGd2WHJLWVRGMllxbTJhd1ZVYk9yWmN1ajlzZTEzbGxqYUtSTFdPRkxxajl6XzdlUVZaa1JyWnBGbVd4QjRqdERpQ0ZDWWoyT0RPdnVKU2Q0ck1ROU8yU21QMjVyWVlGTldvbXNibWZCd2ZYSTNzSC03QmRIbHE2NlB0bXpxVGRRNTVUODlnZklGbzJGaG5haUU2ZkhxNTM2M2duc21vSkVWZnBfYUFYLWF3SFQ1TEZhYjlNVHZ1WDFLVWFEMk5xaU93ekZBaVRvRk9rUl9LaloyUFNaYzR2SDBkcWFOTzlJR2V2VmFESk9KbUIwSEZzRWNyaWVHT3lETlpUVkstQzluMWNZS1JtUV9WazQ0d0Z5QmlUTkhJdE9oRjJlSzhXRnlsRWhoZXFickpwNC5qTkVlUDlGMXhaUDAyVkpmQXRncENLSjZjRnBrU3g0RVBHVkJlUVFWMzhZ" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "269", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "33ded4d3-5c14-4c00-8c7b-1652fed42fb5" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/0e5feed1f7414db58c60/6984e1a198da4d26916dbc2461ab3311", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "0e5feed1f7414db58c60" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyName[1].json index 70df4473eaf4e..7730b171c5bf2 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyName[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c22beb70-e537-4351-87e0-b48a47ef758a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ed6ef1c4-717e-41e2-92f5-417c5a147aa2", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "A value" + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6160eaa2-e59f-4df3-82d4-c8e05bd1029f" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyValue[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyValue[1].json index 8028a38aedd24..50f280a4749c8 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyValue[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretEmptyValue[1].json @@ -1,54 +1,121 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp50428?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp03197?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3289f396-df1c-4a20-a080-501b3d3ce577" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "264", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "136d97b8-7bee-44be-9e2c-3b1d015b6167", - "Body" : "{\"value\":\"\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp50428/d6343cedd0a4439a9dfc403e0eb7a17d\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp03197?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "12", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d51d924e-c032-4478-aca1-1eb8a90305f6" + }, + "ResponseBody": { + "value": "", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp03197/a7138e5adeb4434587fb79d2caed1c35", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp50428/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "264", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "bb3f07a6-22b6-4a07-b9cc-9e9ead0fdb4a", - "Body" : "{\"value\":\"\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp50428/d6343cedd0a4439a9dfc403e0eb7a17d\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javasecrettemp50428" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp03197/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "27424126-7d96-4357-a699-f9aa5c3e4c34" + }, + "ResponseBody": { + "value": "", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp03197/a7138e5adeb4434587fb79d2caed1c35", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "javasecrettemp03197" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretNull[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretWithMultipleTenants[1].json index 9d5e28cfdd1c5..e995b2d1a345d 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecretWithMultipleTenants[1].json @@ -1,54 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp83384?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp29629?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "6968b72c-b1e8-4cdc-acda-cab4c5671190" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0d291f02-cdab-4a76-a812-75d083490587", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp83384/4a8801d97e7b4070b3505fe617da4771\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp29629?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "14ab189d-fa6f-4779-b991-b4ebfb088960" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp29629/2716e252306244ffba4c3ebb5ecfb3b8", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp80097?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa000189-dff4-4a84-9cb0-57960c5f4409", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp80097/951caa45634e4b76b806ce3e84d177b4\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "074694da-204f-4865-9b68-aa168fdaa86b", "javasecrettemp83384", "javasecrettemp80097" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp33572?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e926a078-e9e1-4fdf-a466-d1913dbf2102" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp33572/c59d710f95e04ed8b20f50c21533180e", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "31188d01-ac51-42e9-aca3-acf20a067d3b", + "1": "javasecrettemp29629", + "2": "javasecrettemp33572" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecret[1].json index f086862dcdf68..3f74c4d82a8a2 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.setSecret[1].json @@ -1,29 +1,96 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp28909?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp41437?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7746baa0-ca44-4a7e-8020-c8798481f1a0" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "84b41430-e35c-4c29-8ae4-b72c1ebaabd6", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp28909/b27376d6a41e411fa3aa3ddf062e3e4c\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javasecrettemp28909" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp41437?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3ecffc94-f5f2-4efb-b336-72e40574448d" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp41437/c53459bf34a944d18eb0a57ee8635bc4", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javasecrettemp41437" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateDisabledSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateDisabledSecret[1].json index 4410af7dc2456..dbab0e18a3b53 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateDisabledSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateDisabledSecret[1].json @@ -1,54 +1,124 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testupdateofdisabledsecret6549070?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret9466440?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "077f401f-e8e1-4503-9d8c-bb54d653461b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "323", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a6b7a30e-ce72-4e96-b896-458030a09da1", - "Body" : "{\"value\":\"testSecretUpdateDisabledVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret6549070/d42ce6f3d638415dbabe3b9aef9d38c7\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret9466440?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "87", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretUpdateDisabledVal", + "attributes": { + "enabled": false, + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "321", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4d6ae103-dedb-4605-8644-119360bce359" + }, + "ResponseBody": { + "value": "testSecretUpdateDisabledVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testupdateofdisabledsecret9466440/b5a7cab0201040ce9e7b3dc12f1c3deb", + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testupdateofdisabledsecret6549070/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "403", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "132", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e6cd0d5c-c4a1-4bce-a753-c4a5f3bf489f", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation get is not allowed on a disabled secret.\",\"innererror\":{\"code\":\"SecretDisabled\"}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testupdateofdisabledsecret6549070" ] + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret9466440/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 403, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e7ba3a5e-0610-40c9-8722-2133060977a9" + }, + "ResponseBody": { + "error": { + "code": "Forbidden", + "message": "Operation get is not allowed on a disabled secret.", + "innererror": { + "code": "SecretDisabled" + } + } + } + } + ], + "Variables": { + "0": "testupdateofdisabledsecret9466440" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateSecret[1].json index 83a4fbbd3fdb9..584382dbf06ff 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretAsyncClientTest.updateSecret[1].json @@ -1,104 +1,234 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/4551bd524b794b7c95f5?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/6d57762bfcfe4f919719?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1b599499-7763-4966-a950-0919bd7e1e43" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a2be3224-ed1c-4ffe-addf-dc5bcd8c1da1", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/4551bd524b794b7c95f5/7362132ade504ce5a615787ab970f72f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/6d57762bfcfe4f919719?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "120", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretVal", + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "953f5404-d3de-4f2c-ae11-1caf86e88411" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719/199823c6abb244269ae062596101bb14", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/4551bd524b794b7c95f5/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/6d57762bfcfe4f919719/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "281e490e-0b32-40c7-a7b9-d64d50fd938b" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719/199823c6abb244269ae062596101bb14", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "103d3bdd-0cef-4a2c-ad19-1ab14bb1cb9f", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/4551bd524b794b7c95f5/7362132ade504ce5a615787ab970f72f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/6d57762bfcfe4f919719/199823c6abb244269ae062596101bb14?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "111", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "attributes": { + "enabled": true, + "exp": 2852668800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "332", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5e3b424e-f1b9-4f4d-aff0-c52efe2b5807" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719/199823c6abb244269ae062596101bb14", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/secrets/4551bd524b794b7c95f5/7362132ade504ce5a615787ab970f72f?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "334", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a010158f-0d46-4354-af4d-68bdf7c05485", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/4551bd524b794b7c95f5/7362132ade504ce5a615787ab970f72f\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/4551bd524b794b7c95f5/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d79d62f6-e0f3-4810-acae-d2e464ab6f09", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/4551bd524b794b7c95f5/7362132ade504ce5a615787ab970f72f\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "4551bd524b794b7c95f5" ] + { + "RequestUri": "https://REDACTED/secrets/6d57762bfcfe4f919719/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "81bc90c5-721e-464e-b56c-c802a76ec017" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719/199823c6abb244269ae062596101bb14", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } + } + ], + "Variables": { + "0": "6d57762bfcfe4f919719" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecretNotFound[1].json index a6a63ebcfc66d..b2c0ce100bd70 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "479b6220-db04-4bcc-aaa8-517ee1b622e1" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4a71bd3a-809a-4d6f-8286-3a9a2aefff49", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/non-existing/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5d8814e4-8bd5-43e9-aa57-327be8354111" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecret[1].json index 69963ebcdfe66..baa85b7290a9f 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.backupSecret[1].json @@ -1,54 +1,117 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/c2a8716849e549758060?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/af052f73b6a74bd8ad36?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9cc3505b-d16b-44ee-9828-518b09816b9a" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "301", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c82d7bb-57f6-496d-8be4-9a3e42151cf4", - "Body" : "{\"value\":\"testSecretBackupVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/c2a8716849e549758060/d777a02e02c24c2099d1a5c7245d17c3\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/af052f73b6a74bd8ad36?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "63", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretBackupVal", + "attributes": { + "exp": 2852668800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "990af093-9cd5-4198-bb9e-142c9934737a" + }, + "ResponseBody": { + "value": "testSecretBackupVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/af052f73b6a74bd8ad36/e4c664ff8dc3464c891f10e347e087dc", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/c2a8716849e549758060/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "6976", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eeb02756-9c6e-45ef-83f3-ee71a5032b74", - "Body" : "{\"value\":\"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuUjJsQ3lHOHYxS1lQQWFDejJMd2Zpa05WWVp4SFl2aWFmdlBzMHg0UFFmLXZmSjdGVmhLN19CUVdydWZQWWJHVDhHVXRlWXVDYjJmd0hjQkdPTms2QnB3eWVRVzVRQkN6NldkWHpCRXpsSHpkZVZQZFJ4WUU3NHpibDE3YU1VMDVpZmI0NkE4VVhYQ3U2S1RSeEh5cXpUU3JNcV9RUVpMblhyOEo3MkpGaEVfVHRkWlFBeXE0QUJIdGdpTFRuTzc0anpFYWt5TXBkQ1FST3dSYVYzaVFXUGNVdjRVWm12aGNWYnJBSS1TNVA4RmJuQjlGZFg1QnpySDZOSmhudDZNRlk4TW93ZEdKQWtod3p5bm44VE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OZmZHUFp3WlhnVWY5cEQyQ2txaXZGVWFRV0kySS5wSDZrNVJvdjZZLVo5MmM3bUs4Uko4Z3VUZDZWeHBzMlRDSk1iZi1QMWw0\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "c2a8716849e549758060" ] + { + "RequestUri": "https://REDACTED/secrets/af052f73b6a74bd8ad36/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7232", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "901bd711-e814-44be-a225-fc0e5954936e" + }, + "ResponseBody": { + "value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAucGNBcWtjNWFha09wUXlmeFJ3RXhRTnZJdkhQNVdJU0k2R1VjUEFPVDFBaUduY01iRHRNUDlMbERtRlZld21RNjFSb3lmNF9PaW1xSTBwcUIzRGxuOUhORldPZlJjdTZQbHRHQU1ISEo1djNlWkFTNF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Z0UHg3VmNhTmhxWm9ZcDRqejR2aXN6LUQ1NDA0cWNZOWE5NTk5VGxGemZiNUZHam9uTHRiTzZaSjhCNFlhQkdvLXZZYnFmZmdNbkxFdFBDdE5UZkRCNkRnbl91aEh6MmJTNnU5T3ZkS0NjQjZ3OHVhS2VVM2dxZjZ1azJxVWxkVmU3WkRSSEE0N2lQWW5yVHFKYzMzZ3JibGR2ODN4bVdOa0hQSUZhYXplYWpRYS0xQXNEQS00WERyZktvUjJNcTdGdG42T19uZTB3dng4RDZZS2cxY0NmUU1HY3VmN0NLcl8zcENsT211LVpVbkU5bks4dFFMS3FZU3VZYTJkMm9IU2R0S0xXdU1xcDdiVEVReGEzTVlJZDZqTnd3OVFvcDgtbGJ1OFpXY19yN1BaSmUwWVowQ1JVUGpBbXhIMW84THZZSDV4RUY3X3ViY1lDRUFOQjNiNHRnbExRQ3lIV25ocTRsenM4d1U3SkxRay5TVGVCbnJjMmVLT1I2RXdkQW5NNXVCNzEwYzJvVEtTMjlTeVFmNmhfclFV" + } + } + ], + "Variables": { + "0": "af052f73b6a74bd8ad36" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecretNotFound[1].json index 8e15e8c58b849..68383418c3074 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "56867e4e-1185-4aa2-8a6c-c8f0c3c509ec" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a4059b02-4871-4404-9cbd-6fc531a15e25", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/non-existing?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "caf42d88-1efa-4330-aadd-08c2191fe986" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecret[1].json index 838a8c9a86d2c..c6e78801bf8b1 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.deleteSecret[1].json @@ -1,104 +1,204 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/00773d37114440549e36?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/96b3e5a62a1f4e50b648?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4fdccb0f-df49-4909-9ce2-03eb6d38eb2f" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "301", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ef03346d-3a21-4cf5-8d4d-051b2fc6a650", - "Body" : "{\"value\":\"testSecretDeleteVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36/a10aa3b2c43442d5a096fced558d0c4b\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/96b3e5a62a1f4e50b648?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "63", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretDeleteVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "299", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "502c06dc-a518-49c1-85df-c2491bc9613a" + }, + "ResponseBody": { + "value": "testSecretDeleteVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648/cfc4a76aea5242eda324d53bbefa6172", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/00773d37114440549e36?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/96b3e5a62a1f4e50b648?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f9325bab-1359-41ac-851c-310491c48bbf" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/96b3e5a62a1f4e50b648", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648/cfc4a76aea5242eda324d53bbefa6172", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3e539f11-953a-49b0-bc09-860587a3c6f9", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/00773d37114440549e36\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36/a10aa3b2c43442d5a096fced558d0c4b\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/96b3e5a62a1f4e50b648?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "df67b3a0-6935-4334-8e7d-ec556261b1a8" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 96b3e5a62a1f4e50b648" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/00773d37114440549e36?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5901d82e-7946-4d7f-a733-29107e3530c7", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 00773d37114440549e36\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/00773d37114440549e36?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "21b2e9f4-6641-4362-952a-39ad8df29776", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/00773d37114440549e36\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36/a10aa3b2c43442d5a096fced558d0c4b\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "00773d37114440549e36" ] + { + "RequestUri": "https://REDACTED/deletedsecrets/96b3e5a62a1f4e50b648?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "20aadd57-3635-48fb-aac6-9c71f3bd17a9" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/96b3e5a62a1f4e50b648", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648/cfc4a76aea5242eda324d53bbefa6172", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "96b3e5a62a1f4e50b648" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecretNotFound[1].json index 02abf0531660c..7bd31c6a64975 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/non-existing?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f0a6c872-b2f2-44c7-bf65-c78ab6a41159" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f13e30ba-22ce-4893-b656-c04ad917ce57", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dd84551a-5ae7-4534-8d10-934a89762137" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecret[1].json index 49ec2c90453cc..bbd9d43fca8a8 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getDeletedSecret[1].json @@ -1,202 +1,246 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.io.UncheckedIOException", - "ErrorMessage" : "java.net.UnknownHostException: azsdktests.vault.azure.net" - } - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.io.UncheckedIOException", - "ErrorMessage" : "java.net.UnknownHostException: azsdktests.vault.azure.net" - } - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.io.UncheckedIOException", - "ErrorMessage" : "java.net.UnknownHostException: azsdktests.vault.azure.net" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9d7abeac-de60-4522-ac5e-01f2b1c7cd62" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "66", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetDeleteVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "307", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f8629ba2-c17c-4ef7-b677-4b4e4d342c2a" + }, + "ResponseBody": { + "value": "testSecretGetDeleteVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168/2b5c19483f6e4b51bc8170f4aee39ac2", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "518d7326-7552-4346-9fe6-43f1b8b2163f" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted98168", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168/2b5c19483f6e4b51bc8170f4aee39ac2", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "99", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cea8ee92-9be7-4919-8608-6d120104f200" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretgetdeleted98168" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "74036de5-d34f-4f49-81fd-d25fb0ada81e" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted98168", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168/2b5c19483f6e4b51bc8170f4aee39ac2", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretgetdeleted98168?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "427", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "353025d9-2ed4-46eb-9417-7825173cd43b" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted98168", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168/2b5c19483f6e4b51bc8170f4aee39ac2", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } } - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : null, - "Exception" : { - "ClassName" : "java.io.UncheckedIOException", - "ErrorMessage" : "java.net.UnknownHostException: azsdktests.vault.azure.net" - } - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "9768c2c4-a075-4599-8caa-f18efed5237e", - "Body" : "{\"value\":\"testSecretGetDeleteVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581/e54cb0588e4d49c5ba4888e528b2ce48\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "34b68965-2390-400c-a9f2-743b148fe153", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99581\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581/e54cb0588e4d49c5ba4888e528b2ce48\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "99", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f7853708-97fe-4e9a-a2df-b526a8273c65", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: testsecretgetdeleted99581\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "99", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a5fd2679-cbb2-4350-b20b-7366e2fc23c6", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: testsecretgetdeleted99581\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ba8c8da6-b375-4aca-bd84-c80ad67234a2", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99581\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581/e54cb0588e4d49c5ba4888e528b2ce48\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretgetdeleted99581?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "431", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "79b7fc7f-aef9-4fe9-9230-498be4ce960d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99581\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581/e54cb0588e4d49c5ba4888e528b2ce48\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretgetdeleted99581" ] + ], + "Variables": { + "0": "testsecretgetdeleted98168" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretNotFound[1].json index 64a031c755771..a542b720a3b91 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/non-existing/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4cb21aee-88f7-42eb-8a93-da97528a7603" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8b7a2afe-0f98-4d10-afb9-f34cd4c3c7ed", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/non-existing/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4f98e995-771e-49e3-a576-dce2842d65f6" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretSpecificVersion[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretSpecificVersion[1].json index 6483757856b1c..cda1c7bceec98 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretSpecificVersion[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecretSpecificVersion[1].json @@ -1,104 +1,211 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion99316f2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion6928176?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b996d0e0-ce1e-4337-be60-11853ac29f80" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "312", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e920b15c-7b43-44dd-a3a3-3f74992e686d", - "Body" : "{\"value\":\"testSecretGetVersionVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion99316f2/52070c366ee843e3a5d88c797f5ee0a6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion6928176?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "67", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetVersionVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "310", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7e851775-ff59-4f4b-98e0-b131c8254dd8" + }, + "ResponseBody": { + "value": "testSecretGetVersionVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion6928176/0f825fc91a764c5280ac4d9c6b548ddf", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion99316f2?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion6928176?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "50", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "newVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "293", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f417a1c4-ca83-4f0b-b3df-248220927923" + }, + "ResponseBody": { + "value": "newVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion6928176/994398b63d2948609bc83f8e087e061e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "295", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1fdea0d9-e0f1-47fa-b294-dd08fb78290b", - "Body" : "{\"value\":\"newVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion99316f2/7c8d574e2035438b831cf40360c6dcc0\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion6928176/0f825fc91a764c5280ac4d9c6b548ddf?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "310", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "b9c6ea56-98ec-4d16-ab34-7e5e3c06a673" + }, + "ResponseBody": { + "value": "testSecretGetVersionVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion6928176/0f825fc91a764c5280ac4d9c6b548ddf", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion99316f2/52070c366ee843e3a5d88c797f5ee0a6?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "312", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "b164ae40-07bf-49b5-ae36-9dd1cd2ec3c7", - "Body" : "{\"value\":\"testSecretGetVersionVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion99316f2/52070c366ee843e3a5d88c797f5ee0a6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretgetversion99316f2/7c8d574e2035438b831cf40360c6dcc0?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "295", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0214880b-5a33-4be1-a43e-82424c470220", - "Body" : "{\"value\":\"newVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion99316f2/7c8d574e2035438b831cf40360c6dcc0\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretgetversion99316f2" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretgetversion6928176/994398b63d2948609bc83f8e087e061e?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "293", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4c5a40ee-ce4f-4bdb-b866-4db889e963f1" + }, + "ResponseBody": { + "value": "newVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetversion6928176/994398b63d2948609bc83f8e087e061e", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretgetversion6928176" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecret[1].json index 20a423b5433da..9cc311001e9c5 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.getSecret[1].json @@ -1,54 +1,126 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretget134640?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretget28163e?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a692cd2b-c9db-46c0-b765-a30c9894ecdf" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "2d039d06-2341-4ba1-be10-e7453c417861", - "Body" : "{\"value\":\"testSecretGetVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget134640/dd8d4505bf7443e498bbe9b005f7ad81\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretget28163e?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretGetVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "295", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "169bc1fa-5b00-427c-98d0-944d74bed774" + }, + "ResponseBody": { + "value": "testSecretGetVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget28163e/667bff558f4d4f0b85bc3b7d324a48af", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretget134640/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "297", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "aeb70aaa-249d-41ce-aba9-26cbce5268c1", - "Body" : "{\"value\":\"testSecretGetVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget134640/dd8d4505bf7443e498bbe9b005f7ad81\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954152,\"updated\":1678954152,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretget134640" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretget28163e/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "295", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7f210b3e-d238-4cb7-950b-003487bd4468" + }, + "ResponseBody": { + "value": "testSecretGetVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretget28163e/667bff558f4d4f0b85bc3b7d324a48af", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretget28163e" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listDeletedSecrets[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listDeletedSecrets[1].json index a97a63478f753..015c0027c5ab2 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listDeletedSecrets[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listDeletedSecrets[1].json @@ -1,779 +1,988 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/b20b29a8ab5c472fae88?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1af51ec-9356-4c69-8471-a96ab97d5dcc", - "Body" : "{\"value\":\"listDeletedSecretVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/b20b29a8ab5c472fae88/ebc2d6e1bb0e484b8d9f76605258708b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/8283e0461be64632854e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4423138b-6bd8-4b9e-bc70-d135e8591401", - "Body" : "{\"value\":\"listDeletedSecretVal2\",\"id\":\"https://azsdktests.vault.azure.net/secrets/8283e0461be64632854e/96bb0806efb74bbda5f496374b125ed6\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/67b4466b450c4c748930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6301cd65-98f7-42f8-bd37-faab1c9d872b", - "Body" : "{\"value\":\"listDeletedSecretVal0\",\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930/8e2d5b244a5a4bc2b6a4d64d4c947061\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/b20b29a8ab5c472fae88?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "39a7a531-fc1e-4c99-bb85-a2e7af6e9a80", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/b20b29a8ab5c472fae88/ebc2d6e1bb0e484b8d9f76605258708b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "cacf0443-5163-4424-a29c-4fd871b937e9", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: b20b29a8ab5c472fae88\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e3ccab4c-8904-4a4a-8519-8a384ba4d0ea", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/b20b29a8ab5c472fae88/ebc2d6e1bb0e484b8d9f76605258708b\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/8283e0461be64632854e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8b0c268b-32fb-4070-a0d0-b92fee407ddd", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/8283e0461be64632854e\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/secrets/8283e0461be64632854e/96bb0806efb74bbda5f496374b125ed6\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/8283e0461be64632854e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "275fe826-2335-4f2e-aad3-06446aaaf9f3", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 8283e0461be64632854e\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/8283e0461be64632854e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "a38a8971-f200-410e-bd19-1acc2c4f42b4", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 8283e0461be64632854e\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/8283e0461be64632854e?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "78b334f8-ccbe-41d7-833f-6e1894c8830f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/8283e0461be64632854e\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/secrets/8283e0461be64632854e/96bb0806efb74bbda5f496374b125ed6\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/67b4466b450c4c748930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "acf3063b-5085-4d16-89c1-73d2e13b5f9e", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/67b4466b450c4c748930\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930/8e2d5b244a5a4bc2b6a4d64d4c947061\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/67b4466b450c4c748930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "06ba6ca2-2ef5-450a-a356-337d9e352dc9", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 67b4466b450c4c748930\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/67b4466b450c4c748930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:16 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3f64e445-f888-4d54-b03f-69eda2b3df78", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 67b4466b450c4c748930\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/67b4466b450c4c748930?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c983628c-3d28-4ded-8ee0-db91baf0cd0d", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/67b4466b450c4c748930\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930/8e2d5b244a5a4bc2b6a4d64d4c947061\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2704", - "x-ms-request-id" : "8919e4e3-a98c-45af-b2f4-206e48eb910f", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/00773d37114440549e36\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67\",\"deletedDate\":1678954160,\"scheduledPurgeDate\":1679558960,\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5eb71cea580a4fe7805f\",\"deletedDate\":1678951249,\"scheduledPurgeDate\":1679556049,\"id\":\"https://azsdktests.vault.azure.net/secrets/5eb71cea580a4fe7805f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/651b74016b264eccb959\",\"deletedDate\":1678951247,\"scheduledPurgeDate\":1679556047,\"id\":\"https://azsdktests.vault.azure.net/secrets/651b74016b264eccb959\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/67b4466b450c4c748930\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDODJPVGxETWpnMFFUWkdNa00wTmpZek9UUkRSUzgyT0VKRk5FWkVPVVV4TURNMFJqazJPRU0yT1VORE1rUTVRVFExUWpjd09TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2704", - "x-ms-request-id" : "aab08b2b-79bc-4434-a79d-12f36d27dba3", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/00773d37114440549e36\",\"deletedDate\":1678954156,\"scheduledPurgeDate\":1679558956,\"id\":\"https://azsdktests.vault.azure.net/secrets/00773d37114440549e36\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954156,\"updated\":1678954156,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/48f84876e9fe4721ae67\",\"deletedDate\":1678954160,\"scheduledPurgeDate\":1679558960,\"id\":\"https://azsdktests.vault.azure.net/secrets/48f84876e9fe4721ae67\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5b17fd8b294a44449fe3\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/5b17fd8b294a44449fe3\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/5eb71cea580a4fe7805f\",\"deletedDate\":1678951249,\"scheduledPurgeDate\":1679556049,\"id\":\"https://azsdktests.vault.azure.net/secrets/5eb71cea580a4fe7805f\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/651b74016b264eccb959\",\"deletedDate\":1678951247,\"scheduledPurgeDate\":1679556047,\"id\":\"https://azsdktests.vault.azure.net/secrets/651b74016b264eccb959\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/67b4466b450c4c748930\",\"deletedDate\":1678954155,\"scheduledPurgeDate\":1679558955,\"id\":\"https://azsdktests.vault.azure.net/secrets/67b4466b450c4c748930\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDODJPVGxETWpnMFFUWkdNa00wTmpZek9UUkRSUzgyT0VKRk5FWkVPVVV4TURNMFJqazJPRU0yT1VORE1rUTVRVFExUWpjd09TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDODJPVGxETWpnMFFUWkdNa00wTmpZek9UUkRSUzgyT0VKRk5FWkVPVVV4TURNMFJqazJPRU0yT1VORE1rUTVRVFExUWpjd09TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:17 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2255", - "x-ms-request-id" : "051021ae-ccbe-411e-9fc7-feb0c32ddaab", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/8283e0461be64632854e\",\"deletedDate\":1678954153,\"scheduledPurgeDate\":1679558953,\"id\":\"https://azsdktests.vault.azure.net/secrets/8283e0461be64632854e\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/835d6aa27d7a416e89e8\",\"deletedDate\":1678951248,\"scheduledPurgeDate\":1679556048,\"id\":\"https://azsdktests.vault.azure.net/secrets/835d6aa27d7a416e89e8\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b20b29a8ab5c472fae88\",\"deletedDate\":1678954152,\"scheduledPurgeDate\":1679558952,\"id\":\"https://azsdktests.vault.azure.net/secrets/b20b29a8ab5c472fae88\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954151,\"updated\":1678954151,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/b3a11ceabdcb4579ad41\",\"deletedDate\":1678951241,\"scheduledPurgeDate\":1679556041,\"id\":\"https://azsdktests.vault.azure.net/secrets/b3a11ceabdcb4579ad41\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951241,\"updated\":1678951241,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ba68f2544f924ef8a919\",\"deletedDate\":1678951258,\"scheduledPurgeDate\":1679556058,\"id\":\"https://azsdktests.vault.azure.net/secrets/ba68f2544f924ef8a919\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RVFVRTNNRUV5TlRnNE0wRTBNRFpCT1VVNU5pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RVFVRTNNRUV5TlRnNE0wRTBNRFpCT1VVNU5pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "2320", - "x-ms-request-id" : "600ff990-aae9-4b3e-9ed8-2c6c37082f4c", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/daa70a25883a406a9e96\",\"deletedDate\":1678951245,\"scheduledPurgeDate\":1679556045,\"id\":\"https://azsdktests.vault.azure.net/secrets/daa70a25883a406a9e96\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e1153c4818144fe5af9c\",\"deletedDate\":1678954163,\"scheduledPurgeDate\":1679558963,\"id\":\"https://azsdktests.vault.azure.net/secrets/e1153c4818144fe5af9c\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e557cc42f34e42398e03\",\"deletedDate\":1678951255,\"scheduledPurgeDate\":1679556055,\"id\":\"https://azsdktests.vault.azure.net/secrets/e557cc42f34e42398e03\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/e7aa1022ea90424aacf8\",\"deletedDate\":1678951243,\"scheduledPurgeDate\":1679556043,\"id\":\"https://azsdktests.vault.azure.net/secrets/e7aa1022ea90424aacf8\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678951242,\"updated\":1678951242,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/ed1519e539c64cd1890e\",\"deletedDate\":1678954162,\"scheduledPurgeDate\":1679558962,\"id\":\"https://azsdktests.vault.azure.net/secrets/ed1519e539c64cd1890e\",\"attributes\":{\"enabled\":true,\"exp\":3799353600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOUpUVkJQVWxSRFJWSlVVRXREVXpJM05EWXhRamcxTHpWR1JUTkRNemxDTnpNeVJUUTFOREE0T1RNd05qUkdSVFl5UWtRM01VRkVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDQhTURBd01EWXlJWE5sWTNKbGRDOUpUVkJQVWxSRFJWSlVVRXREVXpJM05EWXhRamcxTHpWR1JUTkRNemxDTnpNeVJUUTFOREE0T1RNd05qUkdSVFl5UWtRM01VRkVJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "ca8c8168-bc3b-4d6c-b11c-f6223ae2912b", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRFF6T1RBNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VRFF6T1RBNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "3aee5a3b-8db3-4daa-8a96-96371b905493", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFdEZXVE15T0RNMk9FSTBNQzg0UlRjeU5FSkVSVUUwTlRVME1qWkRRa1ZDUXpkQk5EQTNNRE0wTjBORE9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFdEZXVE15T0RNMk9FSTBNQzg0UlRjeU5FSkVSVUUwTlRVME1qWkRRa1ZDUXpkQk5EQTNNRE0wTjBORE9TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "318", - "x-ms-request-id" : "ba75d2cc-f596-4449-b2df-6651a506821a", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVk5VUkVWTVJWUkZSRU5GVWxReE5EVXhOemd4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ESTVJWE5sWTNKbGRDOU1TVk5VUkVWTVJWUkZSRU5GVWxReE5EVXhOemd4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "366", - "x-ms-request-id" : "fecd0d76-3bb3-494e-b8d8-88c7b1b875c6", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTNJWE5sWTNKbGRDOU1TVk5VVTBWRFVrVlVORE15T0RRNU5DODRSa1U1UmpjeU1qbEdSVFUwT1VNMU9EVXhOelZHUmpjME5FRkNOakl4TnlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTNJWE5sWTNKbGRDOU1TVk5VVTBWRFVrVlVORE15T0RRNU5DODRSa1U1UmpjeU1qbEdSVFUwT1VNMU9EVXhOelZHUmpjME5FRkNOakl4TnlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "35108f4f-3345-4ee6-933a-0b513f348d1e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRBMU16Y3lRVGhETTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRBMU16Y3lRVGhETTBRNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "b920086b-23a7-44b2-823b-4c135f85a997", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZESXdPRGczT1RBek5ETTJMemM0TVVRek56VXdRalUzUXpSR09VVTVSalF4UlVNMlFrSkZRa1kwT0RNeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZESXdPRGczT1RBek5ETTJMemM0TVVRek56VXdRalUzUXpSR09VVTVSalF4UlVNMlFrSkZRa1kwT0RNeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:18 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "311", - "x-ms-request-id" : "afd85ca0-73fa-4c47-adec-01dd80183a6e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNM05qazFOVE0yTWtZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRNM05qazFOVE0yTWtZeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "d67c3403-77ba-48b3-951c-f05f0bb29b8b", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEVTROVGcxTWtZM1F6Y3dMelk1TVRZeE56VTBNa1E0T1RSQ1FqTTRNMEV5UmtRME9FWXlNVGhFTTBJd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEVTROVGcxTWtZM1F6Y3dMelk1TVRZeE56VTBNa1E0T1RSQ1FqTTRNMEV5UmtRME9FWXlNVGhFTTBJd0lUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "306", - "x-ms-request-id" : "666bb8c7-e5c8-4c31-8e69-95349f1e5448", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5VVJWTlVRMFZTVkRjME1qVTFOVVl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5VVJWTlVRMFZTVkRjME1qVTFOVVl4SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "371", - "x-ms-request-id" : "9b034c6b-5515-4744-9cf0-c33f38e2dc4e", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEazBNamM1UmtORk9UZ3dMekk1TWpZeVJERkdRa1E1TkRReVJVWkNPVUUxTURJMU1rRTNSa1ZHUWpjNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EVTVJWE5sWTNKbGRDOVVSVk5VUTBWU1ZEazBNamM1UmtORk9UZ3dMekk1TWpZeVJERkdRa1E1TkRReVJVWkNPVUUxTURJMU1rRTNSa1ZHUWpjNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "721", - "x-ms-request-id" : "53fd536e-ce89-4568-bb1c-7d68acb01a39", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted53874\",\"deletedDate\":1678951238,\"scheduledPurgeDate\":1679556038,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted53874\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:19 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1588", - "x-ms-request-id" : "d7057e3f-4949-4215-b902-77c54d5034e7", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted91499\",\"deletedDate\":1678951241,\"scheduledPurgeDate\":1679556041,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted91499\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99109\",\"deletedDate\":1678954149,\"scheduledPurgeDate\":1679558949,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99109\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretgetdeleted99581\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetdeleted99581\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEUTBORGswTmpJdlJFUXhNRFJDTURBd1FVTkZORFExTmtFd09UVkdOMFU0TXpjME1VRTJOa0VoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/deletedsecrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEUTBORGswTmpJdlJFUXhNRFJDTURBd1FVTkZORFExTmtFd09UVkdOMFU0TXpjME1VRTJOa0VoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:11:20 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "28", - "x-ms-request-id" : "fc4d7199-ec59-4d99-825f-36b7954c44f1", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "67b4466b450c4c748930", "b20b29a8ab5c472fae88", "8283e0461be64632854e" ] + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "16d75bde-9c39-4a19-b0c6-be6c5d4cb298" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal1", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dd85bac6-cb30-41c3-b30e-8f06069d379b" + }, + "ResponseBody": { + "value": "listDeletedSecretVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5/747ce3a3acd0421eb61bc98552a2cd2f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/8540624955f64154aefa?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal0", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cb274fdb-e11a-42d8-a0d8-ecae35801088" + }, + "ResponseBody": { + "value": "listDeletedSecretVal0", + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa/fff66e51aabf4efaa032acffba31c4c4", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/fc45701ab4d940c78284?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listDeletedSecretVal2", + "attributes": { + "exp": 3799353600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5200e552-8745-415e-9a6c-18c25b6fda32" + }, + "ResponseBody": { + "value": "listDeletedSecretVal2", + "id": "https://azkvrecordtests.vault.azure.net/secrets/fc45701ab4d940c78284/76f3c6bdeb62470397d5a81c14c8503f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bafc8acf-6978-40c4-ba56-ee266d3722dc" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/245e266116664d398cd5", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5/747ce3a3acd0421eb61bc98552a2cd2f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "4bcd3de7-c35b-4ea2-a25d-851e08603ed7" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 245e266116664d398cd5" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "96985458-df88-4768-8029-1f9db8737627" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 245e266116664d398cd5" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/245e266116664d398cd5?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "627d09fc-1cdb-43dd-9e16-63335f8b48e1" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/245e266116664d398cd5", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5/747ce3a3acd0421eb61bc98552a2cd2f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/8540624955f64154aefa?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "dcd13f07-57f1-4406-bd5e-ecf38a35e441" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/8540624955f64154aefa", + "deletedDate": 1681267736, + "scheduledPurgeDate": 1681872536, + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa/fff66e51aabf4efaa032acffba31c4c4", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/8540624955f64154aefa?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8f8c2bdb-35ca-4026-a5f0-b8c254c70180" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: 8540624955f64154aefa" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/8540624955f64154aefa?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "aaee7f42-3d3f-4740-9d27-114ad2d267e6" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/8540624955f64154aefa", + "deletedDate": 1681267736, + "scheduledPurgeDate": 1681872536, + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa/fff66e51aabf4efaa032acffba31c4c4", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/secrets/fc45701ab4d940c78284?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "25982aad-04b0-47c7-9efb-6f02f73626da" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/fc45701ab4d940c78284", + "deletedDate": 1681267737, + "scheduledPurgeDate": 1681872537, + "id": "https://azkvrecordtests.vault.azure.net/secrets/fc45701ab4d940c78284/76f3c6bdeb62470397d5a81c14c8503f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/fc45701ab4d940c78284?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3cfb9f7b-d259-4d62-b8fb-39a8829c93db" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: fc45701ab4d940c78284" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/fc45701ab4d940c78284?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "240da6f3-bf55-4cbd-9e2f-d853f20d7245" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: fc45701ab4d940c78284" + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets/fc45701ab4d940c78284?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c19af729-edda-4818-9bd0-9683b4bb9166" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/fc45701ab4d940c78284", + "deletedDate": 1681267737, + "scheduledPurgeDate": 1681872537, + "id": "https://azkvrecordtests.vault.azure.net/secrets/fc45701ab4d940c78284/76f3c6bdeb62470397d5a81c14c8503f", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2678", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:50:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c8b90ff8-2184-456a-9ddb-eb1060ff712e" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/245e266116664d398cd5", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/37479b25348843799e32", + "deletedDate": 1681267746, + "scheduledPurgeDate": 1681872546, + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/8540624955f64154aefa", + "deletedDate": 1681267736, + "scheduledPurgeDate": 1681872536, + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/96b3e5a62a1f4e50b648", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/9b060325716346f4b897", + "deletedDate": 1681267748, + "scheduledPurgeDate": 1681872548, + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/a347d05895ec471b96e6", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOUJSakExTWtZM00wSTJRVGMwUWtRNFFVUXpOaTlGTkVNMk5qUkdSamhFUXpNME5qUkRPRGt4UmpFd1JUTTBOMFV3T0RkRVF5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2678", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "bb3357af-5f24-480c-bf0d-37d46ed5d954" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/245e266116664d398cd5", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/37479b25348843799e32", + "deletedDate": 1681267746, + "scheduledPurgeDate": 1681872546, + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/8540624955f64154aefa", + "deletedDate": 1681267736, + "scheduledPurgeDate": 1681872536, + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/96b3e5a62a1f4e50b648", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/96b3e5a62a1f4e50b648", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/9b060325716346f4b897", + "deletedDate": 1681267748, + "scheduledPurgeDate": 1681872548, + "id": "https://azkvrecordtests.vault.azure.net/secrets/9b060325716346f4b897", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/a347d05895ec471b96e6", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/a347d05895ec471b96e6", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOUJSakExTWtZM00wSTJRVGMwUWtRNFFVUXpOaTlGTkVNMk5qUkdSamhFUXpNME5qUkRPRGt4UmpFd1JUTTBOMFV3T0RkRVF5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNDAhTURBd01EWXdJWE5sWTNKbGRDOUJSakExTWtZM00wSTJRVGMwUWtRNFFVUXpOaTlGTkVNMk5qUkdSamhFUXpNME5qUkRPRGt4UmpFd1JUTTBOMFV3T0RkRVF5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1073", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "957dd602-01cb-4e99-9a59-79fed87cf7b2" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/db7b6ca68ebe4f1291ab", + "deletedDate": 1681267744, + "scheduledPurgeDate": 1681872544, + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/fc45701ab4d940c78284", + "deletedDate": 1681267737, + "scheduledPurgeDate": 1681872537, + "id": "https://azkvrecordtests.vault.azure.net/secrets/fc45701ab4d940c78284", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5qazFPRE0xUWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5qazFPRE0xUWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1179", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0e73c3ef-eb83-4060-beed-9e9048bf9387" + }, + "ResponseBody": { + "value": [ + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted12938", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted12938", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretgetdeleted98168", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretgetdeleted98168", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": "https://azkvrecordtests.vault.azure.net:443/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEZ3dOVE16UlVZdlF6bEZNelJGUWpnNE9UWkROREF5TjBFNU56UXpOVE14TWpjelFUYzNOa1loTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25" + } + }, + { + "RequestUri": "https://REDACTED/deletedsecrets?api-version=7.4\u0026$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNTYhTURBd01EY3pJWE5sWTNKbGRDOVVSVk5VVlZCRVFWUkZUMFpFU1ZOQlFreEZSRk5GUTFKRlZEZ3dOVE16UlVZdlF6bEZNelJGUWpnNE9UWkROREF5TjBFNU56UXpOVE14TWpjelFUYzNOa1loTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9\u0026maxresults=25", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "28", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:51:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d23040a2-3a8f-437d-8a8e-68bcb11c0253" + }, + "ResponseBody": { + "value": [], + "nextLink": null + } + } + ], + "Variables": { + "0": "8540624955f64154aefa", + "1": "245e266116664d398cd5", + "2": "fc45701ab4d940c78284" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecretVersions[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecretVersions[1].json index 7bd6e98ea2094..b65ca1f57312c 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecretVersions[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecretVersions[1].json @@ -1,129 +1,298 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/fc68313000714f78bc96?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "58251d4b-e570-4c85-9e2b-8e7870c8af91" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eaabc324-6092-4606-b886-cee53c205c62", - "Body" : "{\"value\":\"listSecretVersionVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/dbb22828940b40dfa4ed1abf8c839ea8\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal1", + "attributes": { + "exp": 3797280000 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "639f51b8-5583-4408-b42c-e10aedf16e05" + }, + "ResponseBody": { + "value": "listSecretVersionVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/04370ba202414b59abd47750bc7b98bc", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/fc68313000714f78bc96?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal2", + "attributes": { + "exp": 3797366400 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "77166b59-a0a9-49b7-9817-f07dc01884b0" + }, + "ResponseBody": { + "value": "listSecretVersionVal2", + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/3e048ad318104a1fbdf836f0aeba7d69", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "da48020d-20ca-4f3a-b354-55d518409bd3", - "Body" : "{\"value\":\"listSecretVersionVal2\",\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/f4852e97351b4d56aa655601bf7500a0\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal3", + "attributes": { + "exp": 3797452800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "483414a6-2853-4e96-9881-ba391b79c77d" + }, + "ResponseBody": { + "value": "listSecretVersionVal3", + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/cdb19c5171f94ec0829fb0ae01353bfc", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/fc68313000714f78bc96?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "65", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVersionVal4", + "attributes": { + "exp": 3797539200 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "301", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "859508ba-724d-489d-abd4-6c2e25e0d190" + }, + "ResponseBody": { + "value": "listSecretVersionVal4", + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/4d59510e4c0d4314b24d3e257605cc85", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6e726065-1d69-4ae0-a82b-48cfbd2c1127", - "Body" : "{\"value\":\"listSecretVersionVal3\",\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/11445018be074428a141d4bd66d3fb60\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/fc68313000714f78bc96?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "303", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "80b1277b-af29-4834-a9b6-18fd16f7184b", - "Body" : "{\"value\":\"listSecretVersionVal4\",\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/4a1e3af596b5481abfb8c9a169ba175a\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/fc68313000714f78bc96/versions?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1115", - "x-ms-request-id" : "de87da43-df74-4802-8b8b-29f82df1f4eb", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/11445018be074428a141d4bd66d3fb60\",\"attributes\":{\"enabled\":true,\"exp\":3797452800,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/4a1e3af596b5481abfb8c9a169ba175a\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/dbb22828940b40dfa4ed1abf8c839ea8\",\"attributes\":{\"enabled\":true,\"exp\":3797280000,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/fc68313000714f78bc96/f4852e97351b4d56aa655601bf7500a0\",\"attributes\":{\"enabled\":true,\"exp\":3797366400,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "fc68313000714f78bc96" ] + { + "RequestUri": "https://REDACTED/secrets/4c6e3c44e0584bd8b10d/versions?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1107", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d18a0f14-c84f-425b-b50a-0c73ca4aebe5" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/04370ba202414b59abd47750bc7b98bc", + "attributes": { + "enabled": true, + "exp": 3797280000, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/3e048ad318104a1fbdf836f0aeba7d69", + "attributes": { + "enabled": true, + "exp": 3797366400, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/4d59510e4c0d4314b24d3e257605cc85", + "attributes": { + "enabled": true, + "exp": 3797539200, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d/cdb19c5171f94ec0829fb0ae01353bfc", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "4c6e3c44e0584bd8b10d" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecrets[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecrets[1].json index 542cdfc1c5bcb..8cbe4c1eba5ff 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecrets[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.listSecrets[1].json @@ -1,179 +1,330 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/listsecret2132239?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/listsecret695835b?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "631c007a-59a2-4a6a-ae81-65d492a32ff4" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "293", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4fa7f3fe-be96-4f5a-917e-16f92075c75d", - "Body" : "{\"value\":\"listSecretVal0\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret2132239/30f826df7a2549dca8709530a0567d15\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/listsecret695835b?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "58", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVal0", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "ccb7b6e8-a8d1-44c9-9d71-85ca24816c19" + }, + "ResponseBody": { + "value": "listSecretVal0", + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret695835b/b0b13463adaa4090bfab15c1082da6ec", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/listsecret5928080?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/listsecret9739538?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "58", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "listSecretVal1", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e525296d-c213-439a-9243-979a96341640" + }, + "ResponseBody": { + "value": "listSecretVal1", + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret9739538/1375ab1a350f464f8e22c0e1821b89c4", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "293", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "4f766fe6-2114-4722-a32f-1ecd0090bd97", - "Body" : "{\"value\":\"listSecretVal1\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret5928080/ba1d40cd124f4d5795216c715a72ea8d\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets?maxresults=25&api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5108", - "x-ms-request-id" : "0ae5fde3-7e00-4089-a2c9-ab415f50bd98", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/15172c52dd914fd2b3bf\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/1aa58f6804ad4c7fa7e1\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678951241,\"updated\":1678951241,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/4ea75cdbb73e463f8bec\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951243,\"updated\":1678951243,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/7a711a2f01c645ad95a0\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/ac59136d52ac4358bc8f\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951248,\"updated\":1678951248,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/bb5cc90016744eae8133\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/bf4d4a2c87664c9caecb\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/ee197c49cb3b4db9b5ac\",\"attributes\":{\"enabled\":true,\"exp\":3797539200,\"created\":1678951243,\"updated\":1678951243,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem45586c37\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem70052b83\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpem92624d14\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1581722236,\"exp\":1739402236,\"created\":1678951649,\"updated\":1678951649,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs27461b85\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951657,\"updated\":1678951657,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/importcertpkcs75353a38\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1677892443,\"exp\":1709428443,\"created\":1678951664,\"updated\":1678951664,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"key\":\"val\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp02227\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp03630\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp03784\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp09357\",\"attributes\":{\"enabled\":true,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREUyTlRJeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREUyTlRJeElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "5493", - "x-ms-request-id" : "587aab1b-23ef-4479-9882-9dca937a2304", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp16521\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp25951\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp31468\",\"attributes\":{\"enabled\":true,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp41965\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp43590\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp50428\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey020515346\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951062,\"exp\":1710574062,\"created\":1678951662,\"updated\":1678951662,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey140384932\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey30234f065\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1710574060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey3491808e4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey492960bb6\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey628397873\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1710574054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey683522e3c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1710574056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/listcertkey958720254\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret075001c\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret2132239\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret42736f6\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4328494\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret4695512\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5Ua3lPREE0TUNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5TVNWTlVVMFZEVWtWVU5Ua3lPREE0TUNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "6358", - "x-ms-request-id" : "4822cae5-cc6c-4b2f-8d24-93991a539442", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret5928080\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret67478ec\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951238,\"updated\":1678951238,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/listsecret7250531\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951240,\"updated\":1678951240,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/myalias\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678944848,\"exp\":1710567848,\"created\":1678945448,\"updated\":1678945448,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey06611606\",\"attributes\":{\"enabled\":true,\"created\":1678951012,\"updated\":1678951012,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/secretkey53683f37\",\"attributes\":{\"enabled\":true,\"created\":1678951011,\"updated\":1678951011,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert0041741853c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert05138d67\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951065,\"exp\":1710574065,\"created\":1678951665,\"updated\":1678951666,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert056438d4a20\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert127097d0dc8\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert15963b9a102\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951061,\"exp\":1710574061,\"created\":1678951661,\"updated\":1678951661,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert18963f6fb20\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert224271757ba\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert26201762259\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1710574055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert27558598b2c\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1742110069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert27808513219\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert30284660cd8\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951054,\"exp\":1742110054,\"created\":1678951654,\"updated\":1678951654,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert310473c68b3\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert324948604ee\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951063,\"exp\":1710574063,\"created\":1678951663,\"updated\":1678951663,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert35510d74ced\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert47882934afa\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951067,\"exp\":1742110067,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRRNU9UQTNSa1UzTUVGRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJMklYTmxZM0psZEM5VVJWTlVRMFZTVkRRNU9UQTNSa1UzTUVGRElUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "7569", - "x-ms-request-id" : "3003d022-e2f2-4df3-a139-bff53630016a", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert49907fe70ac\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951051,\"exp\":1710574051,\"created\":1678951651,\"updated\":1678951651,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert510992ef0be\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951056,\"exp\":1742110056,\"created\":1678951656,\"updated\":1678951656,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert5677070ba11\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951253,\"exp\":1710574253,\"created\":1678951853,\"updated\":1678951853,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert56810496c6b\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951060,\"exp\":1742110060,\"created\":1678951660,\"updated\":1678951660,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert6210194afab\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951059,\"exp\":1742110059,\"created\":1678951659,\"updated\":1678951659,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert630101e0f5b\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678953549,\"exp\":1742112549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert6384478e5bf\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1742110058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert708698d2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951084,\"exp\":1710574084,\"created\":1678951684,\"updated\":1678951686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert721471bd873\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951075,\"exp\":1710574075,\"created\":1678951675,\"updated\":1678951675,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert72180ce45d5\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678953549,\"exp\":1710576549,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert72544647\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951079,\"exp\":1710574079,\"created\":1678951680,\"updated\":1678951681,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert7280530dd15\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951082,\"exp\":1742110082,\"created\":1678951682,\"updated\":1678951682,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert742555f1\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951072,\"exp\":1710574072,\"created\":1678951672,\"updated\":1678951672,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert838336ea\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951671,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert879909fb\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951085,\"exp\":1710574085,\"created\":1678951685,\"updated\":1678951685,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert88427430\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951087,\"exp\":1710574087,\"created\":1678951687,\"updated\":1678951687,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert92201a19a66\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951066,\"exp\":1742110066,\"created\":1678951667,\"updated\":1678951667,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert92673e6be72\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951055,\"exp\":1742110055,\"created\":1678951655,\"updated\":1678951655,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert937620dadf7\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951058,\"exp\":1710574058,\"created\":1678951658,\"updated\":1678951658,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testcert98347e92\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951069,\"exp\":1710574069,\"created\":1678951670,\"updated\":1678951670,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion09939\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951095,\"exp\":1710574095,\"created\":1678951695,\"updated\":1678951695,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testlistcertversion88662\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1678951078,\"exp\":1710574078,\"created\":1678951678,\"updated\":1678951678,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget144381\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951244,\"updated\":1678951244,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretget64150e\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951245,\"updated\":1678951245,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":\"https://azsdktests.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25\"}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net:443/secrets?api-version=7.4&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXlJWE5sWTNKbGRDOVVSVk5VVTBWRFVrVlVSMFZVUkVWTVJWUkZSRGt4TkRrNUlUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=25", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-region" : "westus", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "Expires" : "-1", - "Content-Length" : "1509", - "x-ms-request-id" : "155cc912-d962-4479-b986-9ac915c986e7", - "x-ms-keyvault-service-version" : "1.9.736.1", - "Body" : "{\"value\":[{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion8506350\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretgetversion9085392\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951246,\"updated\":1678951246,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover06743f\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover127013\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678951239,\"updated\":1678951239,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret4449462\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678951244,\"updated\":1678951244,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret6056105\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678951247,\"updated\":1678951247,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "listsecret2132239", "listsecret5928080" ] + { + "RequestUri": "https://REDACTED/secrets?maxresults=25\u0026api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "3532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "34a84eb8-a55a-4780-8e5f-36ac9d9c3818" + }, + "ResponseBody": { + "value": [ + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/0e5feed1f7414db58c60", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/245e266116664d398cd5", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/37479b25348843799e32", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/4c6e3c44e0584bd8b10d", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/6d57762bfcfe4f919719", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/70e66709020c4163afd0", + "attributes": { + "enabled": true, + "exp": 3797452800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/8540624955f64154aefa", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/db7b6ca68ebe4f1291ab", + "attributes": { + "enabled": true, + "exp": 3799353600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret33101b1", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret695835b", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/listsecret9739538", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "contentType": "application/x-pkcs12", + "id": "https://azkvrecordtests.vault.azure.net/secrets/myalias", + "managed": true, + "attributes": { + "enabled": true, + "nbf": 1681262971, + "exp": 1712885971, + "created": 1681263571, + "updated": 1681263571, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + }, + { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testupdateofdisabledsecret9466440", + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + ], + "nextLink": null + } + } + ], + "Variables": { + "0": "listsecret695835b", + "1": "listsecret9739538" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecretNotFound[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecretNotFound[1].json index e3ba8cc0499e1..5785a475cfaf0 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecretNotFound[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecretNotFound[1].json @@ -1,29 +1,73 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/non-existing/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0d9a7459-4894-4b20-9fbd-617d3f271aa3" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:08 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "309", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c41916cc-5922-480e-997a-5614d19115ca", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] + { + "RequestUri": "https://REDACTED/deletedsecrets/non-existing/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "558b9327-8769-4523-a073-175948aa8c91" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) non-existing was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } + } + ], + "Variables": {} } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecret[1].json index 89cbb9cc6b189..9afba51d9d8fd 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.recoverDeletedSecret[1].json @@ -1,179 +1,351 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover076715?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8a72b751-aa5a-42dc-82e8-b3c70a5272db" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "d7c6d822-7efd-47bf-a5eb-ada80a8626a6", - "Body" : "{\"value\":\"testSecretRecoverVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715/f1edbeae4e764f91981aad348a92cdd2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "64", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretRecoverVal", + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "8c87a149-3563-4b51-9077-5da3e5742a1a" + }, + "ResponseBody": { + "value": "testSecretRecoverVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559/e20737040c1845a38e60f18ecac1e945", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover076715?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7831f771-e8ac-4078-ba4c-3e502cfadb9e" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretrecover308559", + "deletedDate": 1681267735, + "scheduledPurgeDate": 1681872535, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559/e20737040c1845a38e60f18ecac1e945", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "427", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "5e4f15a3-2c5e-4878-bb67-0230d5903bfb", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretrecover076715\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715/f1edbeae4e764f91981aad348a92cdd2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "949f5b6d-0f72-496d-b39b-f522b9cc994d" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretrecover308559" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretrecover076715?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "20f72c05-8348-4f60-a9e9-4e0f9e452cd5" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: testsecretrecover308559" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "97", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "66696d1e-f887-4437-8216-9f20732c3a24", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: testsecretrecover076715\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover308559?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a69feff1-725f-4284-9cac-218b1699453d" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/testsecretrecover308559", + "deletedDate": 1681267735, + "scheduledPurgeDate": 1681872535, + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559/e20737040c1845a38e60f18ecac1e945", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretrecover076715?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/testsecretrecover308559/recover?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "272", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "675fa8a1-eeda-4d42-91c2-8db635273921" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559/e20737040c1845a38e60f18ecac1e945", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "427", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "420a9620-0377-4262-af69-52fe395aedb7", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/testsecretrecover076715\",\"deletedDate\":1678954150,\"scheduledPurgeDate\":1679558950,\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715/f1edbeae4e764f91981aad348a92cdd2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover308559/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "320", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "cda1f123-6ae5-49d7-aad2-0d8ba3520c4b" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "A secret with (name/id) testsecretrecover308559 was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182" + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/testsecretrecover076715/recover?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:10 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "274", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0e565fa8-9562-49d5-8856-0d1548505519", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715/f1edbeae4e764f91981aad348a92cdd2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover076715/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:11 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "320", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "eb648bdb-a251-4e3c-9656-f716ba6f4d16", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"A secret with (name/id) testsecretrecover076715 was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testsecretrecover076715/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "305", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1aa5cf4-ac37-432c-be55-cd3bea7838f8", - "Body" : "{\"value\":\"testSecretRecoverVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testsecretrecover076715/f1edbeae4e764f91981aad348a92cdd2\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954150,\"updated\":1678954150,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testsecretrecover076715" ] + { + "RequestUri": "https://REDACTED/secrets/testsecretrecover308559/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3f154df7-486b-425a-98c0-066c0aac37ad" + }, + "ResponseBody": { + "value": "testSecretRecoverVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testsecretrecover308559/e20737040c1845a38e60f18ecac1e945", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "testsecretrecover308559" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecretFromMalformedBackup[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecretFromMalformedBackup[1].json index bbf29eb596f1b..6fca1d09304b7 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecretFromMalformedBackup[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecretFromMalformedBackup[1].json @@ -1,29 +1,75 @@ { - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "68bf5606-0921-4b7b-97d9-f60401d374d8" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "400", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "78", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "70cb9fc4-eceb-451c-8ae6-36a5a9755def", - "Body" : "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob is corrupt.\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "bm9uLWV4aXN0aW5n" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "78", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0e0d4002-5135-4fd8-9a18-1d6760f75d47" + }, + "ResponseBody": { + "error": { + "code": "Malformed backup blob", + "message": "Backup blob is corrupt." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecret[1].json index 2a3b1435f3c6e..8a655532271a6 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.restoreSecret[1].json @@ -1,201 +1,371 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "a0c19271-b2de-4359-bdd4-1104b2c3a54b" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "302", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "8c4de1ee-c895-4e3f-a09e-a709900e5be3", - "Body" : "{\"value\":\"testSecretRestoreVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/6467c3576dae4d898255/31455f40797e45e681dff0805fe30a50\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "64", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretRestoreVal", + "attributes": { + "exp": 3483820800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "300", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "52616e55-8903-4749-b6ef-e0337b440d3a" + }, + "ResponseBody": { + "value": "testSecretRestoreVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/e63b7982f318473e8f9a/f39ba58873054868a6556882fe5da42e", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/6467c3576dae4d898255/backup?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/e63b7982f318473e8f9a/backup?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "7232", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "14ee2ad6-4b17-4d5a-bf00-f02fe5bc0a0b" + }, + "ResponseBody": { + "value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAucUVHU0pOMWIxSXJnNXRaZlFYTnh2X3FnRDFwRXQxWUVSVVE4djkyazcxOFlpUGZsallOakxHa3FIanpzTWNmSVY4TmNpOXZUek5hbHcyRmczVlkyMFBxOUc3eGYxSkp6N1RiOEVLbUNvMjdCcTFjbTZIUWlfb2FCenVMSGZkRGNwb2tkQ2xmS3ZmeWx2VGwxaWpkSjdjTzFwSGNTYmdwVGM1MTQ2R0RZMVZScndPSXNQVExPV2ZzSFJjdXdZR1F1Um1UV2pxSVR1X2l0YnZPdEl1YmhyM1dPOFB6TC1nTEpvWkdtVGlRQ0VfUDE4NFE2STFvQlQxTXFPcE1VWFRmdTM4bGZlTWlVanpOX2pPeG5XZVdLZmFsQks0QThFZDBz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ZxVDFzZ1FKdWhFUG5PZi05SjhCTU9PT2Y2Y3JoN1RCcVc3VjllSWlMazVRUkdMdkMwOUlYV2huQkJlZk5FQnFhdklmMWFQLU5PMDlqdkRzQWgtbzNsLXI1UUg4NlJkNk00dDhITkJiSFY5al92SXBvRlNTY0MzVnJyTi1ZTVNfTmIzRHF5UUZjZUtrdWtfNDNoX2FxeXBHaVZDSEd1UXk2MElvSWx6WTR2OU1JVzJKT0N2azMxTXlVUUxpQS5QU2ZYR2JNVVR3eGMxVmdoY2dNZkRpTDJQX0kzODNJenBDRkZYMnNzLWxr" + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "6976", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "ab3c44a1-334f-4946-ac87-883657cab015", - "Body" : "{\"value\":\"KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuZGFLZHNDbWozdXRDZlJKd3hqUDNQUUQtU3lqd3dBTVFPb0c2MmlRVXZSZnV2UjhxNDZ6TnVYVVFvLWpkMHZfbUpBTzU1SWlOSG5jY1RGdFh5LUFpbDJia2FvNHVXN0kxYmhQRkNIa1I5TDJFSUZkN3k1bXhGQUJjN3VpMThjdlU4emlBMzhPRjY3OUhoc0t0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khHWWloN0dxbTRmbjVFc3VLYXYwLW9hdldBVE1ZdkFBa3U5dEZpV0ZwMDM1M0RqS2QzdFY5NWMzUzdYZXdjMDJxMG43TDdSZm1NVG5fcTZRMXoxdFEwTWRtM3dPeWcyQVB5ZFdqRGFlZVF2ejhBR2dpTmFNcHRiM25Tald6NC5DaThLRnlITFNxdGgzbmd3Snk3R3g5T2E3MXptcjNsTW5ySlpjTXoteDlF\"}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0cc1c3ab-901c-49bf-a4fc-aaaf7444ff1a" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/e63b7982f318473e8f9a", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/e63b7982f318473e8f9a/f39ba58873054868a6556882fe5da42e", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/secrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9394b67a-ead2-46b0-acee-db9663ca8d94" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: e63b7982f318473e8f9a" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0e3a5789-1732-45e2-9005-f4b5b034563f", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/6467c3576dae4d898255\",\"deletedDate\":1678954154,\"scheduledPurgeDate\":1679558954,\"id\":\"https://azsdktests.vault.azure.net/secrets/6467c3576dae4d898255/31455f40797e45e681dff0805fe30a50\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "e1c59ead-2102-49b7-9205-268704848858" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: e63b7982f318473e8f9a" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "417", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "637e6a41-b23a-49e1-8b12-0dd9d09e65ac" + }, + "ResponseBody": { + "recoveryId": "https://azkvrecordtests.vault.azure.net/deletedsecrets/e63b7982f318473e8f9a", + "deletedDate": 1681267734, + "scheduledPurgeDate": 1681872534, + "id": "https://azkvrecordtests.vault.azure.net/secrets/e63b7982f318473e8f9a/f39ba58873054868a6556882fe5da42e", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:14 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "0b5aba13-421f-410d-8a76-da9ab2b54cd0", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 6467c3576dae4d898255\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/deletedsecrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "85411bbc-e75f-457e-a132-8fe97dc7c026" + }, + "ResponseBody": null }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/deletedsecrets/e63b7982f318473e8f9a?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "94", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "24846967-594f-4352-9c6f-42b116a12660" + }, + "ResponseBody": { + "error": { + "code": "SecretNotFound", + "message": "Deleted Secret not found: e63b7982f318473e8f9a" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "421", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e0af630b-1645-495d-91a4-9fdff0e2d285", - "Body" : "{\"recoveryId\":\"https://azsdktests.vault.azure.net/deletedsecrets/6467c3576dae4d898255\",\"deletedDate\":1678954154,\"scheduledPurgeDate\":1679558954,\"id\":\"https://azsdktests.vault.azure.net/secrets/6467c3576dae4d898255/31455f40797e45e681dff0805fe30a50\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "X-Content-Type-Options" : "nosniff", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "204", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "777040c1-ecfd-4c40-bc00-29cfc97cbe24", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/deletedsecrets/6467c3576dae4d898255?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "404", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "94", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "45d3a9ba-1ce8-40ff-822b-9762340aa6d6", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: 6467c3576dae4d898255\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "POST", - "Uri" : "https://REDACTED.vault.azure.net/secrets/restore?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:10:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "271", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "fa8e4df2-0341-4b32-b5e4-0cb56a1b7f42", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/6467c3576dae4d898255/31455f40797e45e681dff0805fe30a50\",\"attributes\":{\"enabled\":true,\"exp\":3483820800,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "6467c3576dae4d898255" ] + { + "RequestUri": "https://REDACTED/secrets/restore?api-version=7.4", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "7232", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "KUF6dXJlS2V5VmF1bHRTZWNyZXRCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUkwTXpnMVlqQTNZaTFrTlRRM0xUUXlaVFV0WVdVNVpTMDJNVEJrWXpNNVpHWmhaamdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAucUVHU0pOMWIxSXJnNXRaZlFYTnh2X3FnRDFwRXQxWUVSVVE4djkyazcxOFlpUGZsallOakxHa3FIanpzTWNmSVY4TmNpOXZUek5hbHcyRmczVlkyMFBxOUc3eGYxSkp6N1RiOEVLbUNvMjdCcTFjbTZIUWlfb2FCenVMSGZkRGNwb2tkQ2xmS3ZmeWx2VGwxaWpkSjdjTzFwSGNTYmdwVGM1MTQ2R0RZMVZScndPSXNQVExPV2ZzSFJjdXdZR1F1Um1UV2pxSVR1X2l0YnZPdEl1YmhyM1dPOFB6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EZ2JKSVZtTGZBVDFjUk9iRVE4Z2J6OUNYNDlNeEtRUWdHRkFsRVRIcUVUcWVHMVNTY0lUUGd1emk4bmFhN2ZlMHZxVDFzZ1FKdWhFUG5PZi05SjhCTU9PT2Y2Y3JoN1RCcVc3VjllSWlMazVRUkdMdkMwOUlYV2huQkJlZk5FQnFhdklmMWFQLU5PMDlqdkRzQWgtbzNsLXI1UUg4NlJkNk00dDhITkJiSFY5al92SXBvRlNTY0MzVnJyTi1ZTVNfTmIzRHF5UUZjZUtrdWtfNDNoX2FxeXBHaVZDSEd1UXk2MElvSWx6WTR2OU1JVzJKT0N2azMxTXlVUUxpQS5QU2ZYR2JNVVR3eGMxVmdoY2dNZkRpTDJQX0kzODNJenBDRkZYMnNzLWxr" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "269", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:49:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c3c268ad-49f2-420e-a41a-0bf9869cf626" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/e63b7982f318473e8f9a/f39ba58873054868a6556882fe5da42e", + "attributes": { + "enabled": true, + "exp": 3483820800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "e63b7982f318473e8f9a" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyName[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyName[1].json index b58cea990924b..dc28a6222abc7 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyName[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyName[1].json @@ -1,29 +1,76 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "0a41bd7f-b68f-4524-b933-3e7fd886e030" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "405", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "70", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "40405cba-ab4c-41ac-86d0-275ab314048b", - "Body" : "{\"error\":{\"code\":\"MethodNotAllowed\",\"message\":\"HTTP PUT not allowed\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file + { + "RequestUri": "https://REDACTED/secrets/?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "35", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "A value", + "attributes": {} + }, + "StatusCode": 405, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "70", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f0880520-4f0d-4818-b661-d735d4d53728" + }, + "ResponseBody": { + "error": { + "code": "MethodNotAllowed", + "message": "HTTP PUT not allowed" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyValue[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyValue[1].json index ab1329bf772c8..39969b8ee3dfc 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyValue[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretEmptyValue[1].json @@ -1,54 +1,122 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp41965?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp59406?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "78249755-87cb-46e7-b111-7d1719da9588" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "264", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "293b1103-b6cc-4f43-81e2-895ca8169067", - "Body" : "{\"value\":\"\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp41965/ccd9f83aead74ca2aa7301adf5f0694a\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp59406?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "28", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "", + "attributes": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c3e79d9b-bc82-4f1b-9930-bc0293647237" + }, + "ResponseBody": { + "value": "", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp59406/aeffe8b94ddf41de8fd986108f297b56", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp41965/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:09 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "264", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "c73c8f4d-a645-4e13-8c6c-f849a657bb1f", - "Body" : "{\"value\":\"\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp41965/ccd9f83aead74ca2aa7301adf5f0694a\",\"attributes\":{\"enabled\":true,\"created\":1678954149,\"updated\":1678954149,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javasecrettemp41965" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp59406/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "262", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "60a7f89a-cc81-421a-a324-20539c0e6a6d" + }, + "ResponseBody": { + "value": "", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp59406/aeffe8b94ddf41de8fd986108f297b56", + "attributes": { + "enabled": true, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } + } + ], + "Variables": { + "0": "javasecrettemp59406" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretNull[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretNull[1].json index ba5f37f8f8555..f721723386d8a 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretNull[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretNull[1].json @@ -1,4 +1,4 @@ { - "networkCallRecords" : [ ], - "variables" : [ ] -} \ No newline at end of file + "Entries": [], + "Variables": {} +} diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretWithMultipleTenants[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretWithMultipleTenants[1].json index 29c51602b6ef5..29e7899e307b0 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretWithMultipleTenants[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecretWithMultipleTenants[1].json @@ -1,54 +1,153 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp60966?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp13611?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "f18bdb7c-6eef-413f-82e6-b1a5ff89d249" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "dd217788-b913-4989-9f2f-916669e821de", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp60966/38b7cfc9a7514229be6ce3f5dc631f91\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp13611?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "2130cd91-c678-4981-9955-8b4ecb0e68ac" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp13611/6d7bad7462dd45e8a00888fc7afa92b9", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp43909?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "f1f3dfb3-1b08-48c2-89c6-f1805a17a992", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp43909/20995c86b65a433ea6ce10f0bf8c3849\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954154,\"updated\":1678954154,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "73eac855-d54f-48c3-b9c6-7a63b58286ed", "javasecrettemp60966", "javasecrettemp43909" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp53529?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "d288cb00-ca7e-4490-b647-faffd735a6be" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp53529/9bba101ea9a641bab142b3dfeaeafa1d", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "46f9e4b4-88b4-44a8-9647-72e5b8613eb1", + "1": "javasecrettemp13611", + "2": "javasecrettemp53529" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecret[1].json index e7dff6ebce1e2..2762840a32aa3 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.setSecret[1].json @@ -1,29 +1,96 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/javasecrettemp73673?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp43964?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "707d6446-e2e5-436e-909b-2b6192644474" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "384", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "33a54d87-75d1-4d57-b58f-09a841f3aa21", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"text\",\"id\":\"https://azsdktests.vault.azure.net/secrets/javasecrettemp73673/f9a9aba2f7b744b296cdd12ab329cd78\",\"attributes\":{\"enabled\":true,\"nbf\":949237199,\"exp\":2527113600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"foo\":\"baz\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "javasecrettemp73673" ] + { + "RequestUri": "https://REDACTED/secrets/javasecrettemp43964?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "147", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "tags": { + "foo": "baz" + }, + "contentType": "text", + "attributes": { + "nbf": 949237199, + "exp": 2527113600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "5c5a60e1-88f1-4f82-886f-b257790352d7" + }, + "ResponseBody": { + "value": "Chocolate is hidden in the toothpaste cabinet", + "contentType": "text", + "id": "https://azkvrecordtests.vault.azure.net/secrets/javasecrettemp43964/c6156e4a84094b1e81133bd60eec82a2", + "attributes": { + "enabled": true, + "nbf": 949237199, + "exp": 2527113600, + "created": 1681267735, + "updated": 1681267735, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "foo": "baz" + } + } + } + ], + "Variables": { + "0": "javasecrettemp43964" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateDisabledSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateDisabledSecret[1].json index f49848892821e..0a31d7a368986 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateDisabledSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateDisabledSecret[1].json @@ -1,54 +1,124 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testupdateofdisabledsecret04122f1?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret80533ef?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "c35f8c82-8e10-4e54-b75e-1788874af189" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "323", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "e7bafd33-cfb9-4a7b-95a9-27c30b899f9d", - "Body" : "{\"value\":\"testSecretUpdateDisabledVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/testupdateofdisabledsecret04122f1/33ec96e7ec1a42909888e382d23021a9\",\"attributes\":{\"enabled\":false,\"exp\":2537049600,\"created\":1678954155,\"updated\":1678954155,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret80533ef?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "87", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretUpdateDisabledVal", + "attributes": { + "enabled": false, + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "321", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "7bd7da71-bd7b-44cd-814d-2670d22fdcbe" + }, + "ResponseBody": { + "value": "testSecretUpdateDisabledVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/testupdateofdisabledsecret80533ef/c9e34eb8896c4027a9743531273a776f", + "attributes": { + "enabled": false, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/testupdateofdisabledsecret04122f1/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "403", - "Date" : "Thu, 16 Mar 2023 08:09:15 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "132", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "be8d710f-49c3-4dc5-a2c8-02245cf0a129", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation get is not allowed on a disabled secret.\",\"innererror\":{\"code\":\"SecretDisabled\"}}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "testupdateofdisabledsecret04122f1" ] + { + "RequestUri": "https://REDACTED/secrets/testupdateofdisabledsecret80533ef/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 403, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "78fcb980-d833-42b3-9a4a-e5ab37d02695" + }, + "ResponseBody": { + "error": { + "code": "Forbidden", + "message": "Operation get is not allowed on a disabled secret.", + "innererror": { + "code": "SecretDisabled" + } + } + } + } + ], + "Variables": { + "0": "testupdateofdisabledsecret80533ef" + } } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateSecret[1].json b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateSecret[1].json index ff1e94a8e089d..95242432fa998 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateSecret[1].json +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/resources/session-records/SecretClientTest.updateSecret[1].json @@ -1,104 +1,234 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://REDACTED.vault.azure.net/secrets/aa9644f366bd4563b786?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + "Entries": [ + { + "RequestUri": "https://REDACTED/secrets/2cf31612958e4cf0878f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "WWW-Authenticate": "Bearer authorization=\u0022https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\u0022, resource=\u0022https://vault.azure.net\u0022", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "9648cc25-e48b-4e69-8d03-22620b0974e5" + }, + "ResponseBody": { + "error": { + "code": "Unauthorized", + "message": "AKV10000: Request is missing a Bearer or PoP token." + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "708e9986-4711-44bd-8c97-6a95fd9a6b4c", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/aa9644f366bd4563b786/453a5b6355604d8b9f53c5f66c917ed0\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/2cf31612958e4cf0878f?api-version=7.4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "120", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "value": "testSecretVal", + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "attributes": { + "exp": 2537049600 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "1033bf4e-9565-428a-9169-01cd4051294f" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f/699c5b030a0a4f4c865c3e7442bced95", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/aa9644f366bd4563b786/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" + { + "RequestUri": "https://REDACTED/secrets/2cf31612958e4cf0878f/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "fe973a08-d1db-4951-aa84-fd0e472c9d61" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f/699c5b030a0a4f4c865c3e7442bced95", + "attributes": { + "enabled": true, + "exp": 2537049600, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:12 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "6c4d328d-028f-4d7e-835d-7d88381e3d39", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/aa9644f366bd4563b786/453a5b6355604d8b9f53c5f66c917ed0\",\"attributes\":{\"enabled\":true,\"exp\":2537049600,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" + { + "RequestUri": "https://REDACTED/secrets/2cf31612958e4cf0878f/699c5b030a0a4f4c865c3e7442bced95?api-version=7.4", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "111", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": { + "tags": { + "second tag": "second value", + "first tag": "first value" + }, + "attributes": { + "enabled": true, + "exp": 2852668800 + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "332", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "3f2134f4-6e6d-46a8-8754-bbfbbfd7a413" + }, + "ResponseBody": { + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f/699c5b030a0a4f4c865c3e7442bced95", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } }, - "Exception" : null - }, { - "Method" : "PATCH", - "Uri" : "https://REDACTED.vault.azure.net/secrets/aa9644f366bd4563b786/453a5b6355604d8b9f53c5f66c917ed0?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "334", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "1db029b2-c4f7-4559-b904-096ff3e594b4", - "Body" : "{\"id\":\"https://azsdktests.vault.azure.net/secrets/aa9644f366bd4563b786/453a5b6355604d8b9f53c5f66c917ed0\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://REDACTED.vault.azure.net/secrets/aa9644f366bd4563b786/?api-version=7.4", - "Headers" : { - "User-Agent" : "azsdk-java-client_name/client_version (18.0.2; Windows 11; 10.0)", - "Content-Type" : "application/json" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 16 Mar 2023 08:09:13 GMT", - "Strict-Transport-Security" : "max-age=31536000;includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-keyvault-network-info" : "conn_type=Ipv4;addr=187.190.190.225;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus", - "Expires" : "-1", - "Content-Length" : "358", - "x-ms-keyvault-service-version" : "1.9.736.1", - "x-ms-request-id" : "3b40863c-8553-4adc-ae9d-385630d50e27", - "Body" : "{\"value\":\"testSecretVal\",\"id\":\"https://azsdktests.vault.azure.net/secrets/aa9644f366bd4563b786/453a5b6355604d8b9f53c5f66c917ed0\",\"attributes\":{\"enabled\":true,\"exp\":2852668800,\"created\":1678954153,\"updated\":1678954153,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7},\"tags\":{\"second tag\":\"second value\",\"first tag\":\"first value\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "aa9644f366bd4563b786" ] + { + "RequestUri": "https://REDACTED/secrets/2cf31612958e4cf0878f/?api-version=7.4", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Content-Length": "0", + "Content-Type": "application/json", + "User-Agent": "azsdk-java-client_name/client_version (11.0.6; Windows 10; 10.0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 12 Apr 2023 02:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000;includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=172.92.148.195;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus", + "x-ms-keyvault-service-version": "1.9.749.1", + "x-ms-request-id": "01cf9538-8686-4006-907b-ef00790d1dcf" + }, + "ResponseBody": { + "value": "testSecretVal", + "id": "https://azkvrecordtests.vault.azure.net/secrets/2cf31612958e4cf0878f/699c5b030a0a4f4c865c3e7442bced95", + "attributes": { + "enabled": true, + "exp": 2852668800, + "created": 1681267734, + "updated": 1681267734, + "recoveryLevel": "CustomizedRecoverable\u002BPurgeable", + "recoverableDays": 7 + }, + "tags": { + "second tag": "second value", + "first tag": "first value" + } + } + } + ], + "Variables": { + "0": "2cf31612958e4cf0878f" + } }