diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/common.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/common.json index 49b1026fce06..62e88433aed2 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/common.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/common.json @@ -76,5 +76,16 @@ "modelAsString": true } } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/secrets.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/secrets.json index f2072d8a3c01..417dbbda91aa 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/secrets.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-04-01-preview/secrets.json @@ -271,6 +271,12 @@ "schema": { "$ref": "#/definitions/SecretListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "common.json#/definitions/CloudError" + } } }, "x-ms-examples": { @@ -300,24 +306,24 @@ "nbf": { "x-ms-client-name": "NotBefore", "type": "integer", - "format": "unixtime", + "format": "int64", "description": "Not before date in seconds since 1970-01-01T00:00:00Z." }, "exp": { "x-ms-client-name": "Expires", "type": "integer", - "format": "unixtime", + "format": "int64", "description": "Expiry date in seconds since 1970-01-01T00:00:00Z." }, "created": { "type": "integer", - "format": "unixtime", + "format": "int64", "readOnly": true, "description": "Creation time in seconds since 1970-01-01T00:00:00Z." }, "updated": { "type": "integer", - "format": "unixtime", + "format": "int64", "readOnly": true, "description": "Last updated time in seconds since 1970-01-01T00:00:00Z." }