Azure / Azure/azure-powershell

[Eng]: [Cosmos DB][ClientEncryption] Fix New/Update AzCosmosDbClientEncryptionKey to validate key which is passed as part of KeyWrapMetadata

Open
#24,776 2 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad CosmosDB Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

Currently we don't validate if the user has passed the complete key along with Key identifier which later causes issue during key rotation during rewrap since latest key version is picked up instead of the version actually used to wrap it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.