Microsoft Azure Keys Create Example is an example object payload from Microsoft Azure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"operationId": "Keys_Create",
"method": "POST",
"path": "/keys/{key-name}/create",
"summary": "Microsoft Azure Create a Key",
"requestExamples": [
{
"contentType": "application/json",
"name": "KeysCreateRequestExample",
"example": {
"kty": "EC",
"key_size": 10,
"key_ops": [
"encrypt"
],
"attributes": {
"enabled": true,
"nbf": 10,
"exp": 10,
"created": 10,
"updated": 10,
"recoveryLevel": "Purgeable",
"recoverableDays": 10,
"exportable": true,
"hsmPlatform": "example_value"
},
"tags": "example_value",
"crv": "P-256",
"release_policy": {
"contentType": "example_value",
"immutable": true,
"data": "example_value"
},
"exportable": true
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "KeysCreate200Example",
"example": {
"key": {
"kid": "500123",
"kty": "EC",
"key_ops": [
{}
],
"n": "example_value",
"e": "example_value",
"d": "example_value",
"dp": "example_value",
"dq": "example_value",
"qi": "example_value",
"p": "example_value",
"q": "example_value",
"k": "example_value",
"crv": "P-256",
"x": "example_value",
"y": "example_value"
},
"attributes": {
"enabled": true,
"nbf": 10,
"exp": 10,
"created": 10,
"updated": 10,
"recoveryLevel": "Purgeable",
"recoverableDays": 10,
"exportable": true,
"hsmPlatform": "example_value"
},
"tags": "example_value",
"managed": true,
"release_policy": {
"contentType": "example_value",
"immutable": true,
"data": "example_value"
}
}
},
{
"status": "default",
"contentType": "application/json",
"name": "KeysCreatedefaultExample",
"example": {
"error": {
"code": "example_value",
"message": "example_value",
"innererror": {
"code": "example_value",
"innererror": "example_value"
}
}
}
}
]
}