Skip to content

The createOrUpdate operation of Key Vault Managed Hardware Security Module should fail when this resource is soft deleted #18732

Open
@neil-yechenwei

Description

@neil-yechenwei

After tested, I found the createOrUpdate operation of Key Vault Managed Hardware Security Module would always succeed even if this resource is soft deleted. Per my understanding, this operation should fail and throw error message like below this or others when this resource is soft deleted. So could you help take a look this issue? Thanks.

The example of the error:

{
    "error": {
        "code": "ConflictError",
        "message": "A KV MHSM with the same name already exists in deleted state. You need to either recover or purge existing KV MHSM."
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    KeyVaultService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions