Skip to content

Commit 42d9181

Browse files
ncamillucciNicola Camillucci
andauthored
[KeyVault] Add oct-HSM support to JsonWebKeyType (#44193)
Co-authored-by: Nicola Camillucci <ncamillucci@microsoft.com>
1 parent 51498dd commit 42d9181

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

specification/keyvault/resource-manager/Microsoft.KeyVault/KeyVault/back-compatible.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ using Azure.Core;
212212

213213
@@clientName(JsonWebKeyType.`EC-HSM`, "EC_HSM", "python");
214214
@@clientName(JsonWebKeyType.`RSA-HSM`, "RSA_HSM", "python");
215+
@@clientName(JsonWebKeyType.`oct-HSM`, "oct_HSM", "python");
215216

216217
// Override the order of path parameters
217218
#suppress "@azure-tools/typespec-azure-core/casing-style" "customization"

specification/keyvault/resource-manager/Microsoft.KeyVault/KeyVault/models.tsp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ union JsonWebKeyType {
3636
RSA: "RSA",
3737
#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3838
`RSA-HSM`: "RSA-HSM",
39+
40+
#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
41+
@Versioning.added(KeyVault.Versions.v2026_03_01_preview)
42+
`oct-HSM`: "oct-HSM",
3943
}
4044

4145
/**

specification/keyvault/resource-manager/Microsoft.KeyVault/KeyVault/preview/2026-03-01-preview/openapi.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3472,7 +3472,8 @@
34723472
"EC",
34733473
"EC-HSM",
34743474
"RSA",
3475-
"RSA-HSM"
3475+
"RSA-HSM",
3476+
"oct-HSM"
34763477
],
34773478
"x-ms-enum": {
34783479
"name": "JsonWebKeyType",
@@ -3493,6 +3494,10 @@
34933494
{
34943495
"name": "RSA-HSM",
34953496
"value": "RSA-HSM"
3497+
},
3498+
{
3499+
"name": "oct-HSM",
3500+
"value": "oct-HSM"
34963501
}
34973502
]
34983503
}

0 commit comments

Comments
 (0)