Skip to content

Commit

Permalink
Remove value attribute from certificate object (#15684)
Browse files Browse the repository at this point in the history
* Remove value attribute from certificate object

* Fix prettier errors
  • Loading branch information
vasanthrajams authored Oct 13, 2021
1 parent e2ba2ed commit 66a8fb3
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 137 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"vaultBaseUrl": "https://myhsmvault.managedhsm.azure.net/",
"api-version": "7.3-preview"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"parameters": {
"vaultBaseUrl": "https://myvault.vault.azure.net/",
"vaultBaseUrl": "https://myhsmvault.managedhsm.azure.net/",
"api-version": "7.3-preview"
},
"responses": {
"200": {
"body": {
"key_format": "jwk",
"transfer_key": {
"kid": "https://myvault.vault.azure.net/transfer_key",
"kid": "https://myhsmvault.managedhsm.azure.net/transfer_key",
"kty": "RSA",
"key_ops": [
"encrypt"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"parameters": [
{
"name": "vaultBaseUrl",
"description": "The vault name, for example https://myvault.vault.azure.net.",
"description": "The vault name, for example https://myhsmvault.managedhsm.azure.net.",
"required": true,
"type": "string",
"in": "path",
Expand Down Expand Up @@ -233,7 +233,7 @@
"certificates": {
"type": "array",
"items": {
"$ref": "#/definitions/SecurityDomainCertificateItem"
"$ref": "#/definitions/SecurityDomainJsonWebKey"
},
"minItems": 3,
"maxItems": 10,
Expand All @@ -252,17 +252,6 @@
"certificates"
]
},
"SecurityDomainCertificateItem": {
"properties": {
"value": {
"$ref": "#/definitions/SecurityDomainJsonWebKey",
"description": "Customer generated certificate containing public key in JWK format"
}
},
"required": [
"value"
]
},
"TransferKey": {
"properties": {
"key_format": {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"202": {
"headers": {
"Retry-After": 5,
"Azure-AsyncOperation": "https://myvault.vault.azure.net/securitydomain/upload/pending"
"Azure-AsyncOperation": "https://myhsmvault.managedhsm.azure.net/securitydomain/upload/pending"
},
"body": {
"status": "InProgress",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"parameters": [
{
"name": "vaultBaseUrl",
"description": "The vault name, for example https://myvault.vault.azure.net.",
"description": "The vault name, for example https://myhsmvault.managedhsm.azure.net.",
"required": true,
"type": "string",
"in": "path",
Expand Down Expand Up @@ -233,7 +233,7 @@
"certificates": {
"type": "array",
"items": {
"$ref": "#/definitions/SecurityDomainCertificateItem"
"$ref": "#/definitions/SecurityDomainJsonWebKey"
},
"minItems": 3,
"maxItems": 10,
Expand All @@ -252,17 +252,6 @@
"certificates"
]
},
"SecurityDomainCertificateItem": {
"properties": {
"value": {
"$ref": "#/definitions/SecurityDomainJsonWebKey",
"description": "Customer generated certificate containing public key in JWK format"
}
},
"required": [
"value"
]
},
"TransferKey": {
"properties": {
"key_format": {
Expand Down

0 comments on commit 66a8fb3

Please sign in to comment.