Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2923,8 +2923,8 @@
},
"kty": {
"type": "string",
"description": "Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Kty is usually set to RSA",
"enum": [ "EC", "RSA", "RSA-HSM", "oct" ],
"description": "JsonWebKey key type (kty).",
"enum": [ "EC", "EC-HSM", "RSA", "RSA-HSM", "oct" ],
"x-ms-enum": {
"name": "JsonWebKeyType",
"modelAsString": true
Expand All @@ -2937,6 +2937,15 @@
"description": "Supported key operations."
}
},
"crv": {
"type": "string",
"description": "Elliptic curve name. For valid values, see JsonWebKeyECName.",
"enum": [ "P-256", "P-384", "P-521", "SECP256K1" ],
"x-ms-enum": {
"name": "JsonWebKeyECName",
"modelAsString": true
}
},
"n": {
"type": "string",
"format": "base64url",
Expand All @@ -2950,7 +2959,7 @@
"d": {
"type": "string",
"format": "base64url",
"description": "RSA private exponent."
"description": "RSA private exponent, or the D component of an EC private key."
},
"dp": {
"x-ms-client-name": "DP",
Expand Down Expand Up @@ -2980,6 +2989,16 @@
"format": "base64url",
"description": "RSA secret prime, with p < q."
},
"x": {
"type": "string",
"format": "base64url",
"description": "X component of an EC public key."
},
"y": {
"type": "string",
"format": "base64url",
"description": "Y component of an EC public key."
},
"k": {
"type": "string",
"format": "base64url",
Expand Down Expand Up @@ -3815,13 +3834,23 @@
"kty": {
"type": "string",
"minLength": 1,
"description": "The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet",
"enum": [ "EC", "RSA", "RSA-HSM", "oct" ],
"description": "The type of key to create. For valid values, see JsonWebKeyType.",
"enum": [ "EC", "EC-HSM", "RSA", "RSA-HSM", "oct" ],
"x-ms-enum": {
"name": "JsonWebKeyType",
"modelAsString": true
}
},
"crv": {
"x-ms-client-name": "curve",
"type": "string",
"description": "Elliptic curve name. For valid values, see JsonWebKeyECName.",
"enum": [ "P-256", "P-384", "P-521", "SECP256K1" ],
"x-ms-enum": {
"name": "JsonWebKeyECName",
"modelAsString": true
}
},
"key_size": {
"type": "integer",
"format": "int32",
Expand Down Expand Up @@ -3908,7 +3937,7 @@
"type": "string",
"minLength": 1,
"description": "The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.",
"enum": [ "PS256", "PS384", "PS512", "RS256", "RS384", "RS512", "RSNULL" ],
"enum": [ "PS256", "PS384", "PS512", "RS256", "RS384", "RS512", "RSNULL", "ES256", "ES384", "ES512", "ECDSA256" ],
"x-ms-enum": {
"name": "JsonWebKeySignatureAlgorithm",
"modelAsString": true
Expand All @@ -3929,7 +3958,7 @@
"type": "string",
"minLength": 1,
"description": "The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.",
"enum": [ "PS256", "PS384", "PS512", "RS256", "RS384", "RS512", "RSNULL" ],
"enum": [ "PS256", "PS384", "PS512", "RS256", "RS384", "RS512", "RSNULL", "ES256", "ES384", "ES512", "ECDSA256" ],
"x-ms-enum": {
"name": "JsonWebKeySignatureAlgorithm",
"modelAsString": true
Expand Down