Microsoft Azure · Example Payload

Microsoft Azure Secrets Set Example

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Microsoft Azure Secrets Set 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.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Secrets_Set",
  "method": "PUT",
  "path": "/secrets/{secret-name}",
  "summary": "Microsoft Azure Set a Secret",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "SecretsSetRequestExample",
      "example": {
        "value": "example_value",
        "tags": "example_value",
        "contentType": "example_value",
        "secretAttributes": {
          "enabled": true,
          "nbf": 10,
          "exp": 10,
          "created": 10,
          "updated": 10,
          "recoveryLevel": "example_value",
          "recoverableDays": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "SecretsSet200Example",
      "example": {
        "value": "example_value",
        "id": "abc123",
        "contentType": "example_value",
        "attributes": {
          "enabled": true,
          "nbf": 10,
          "exp": 10,
          "created": 10,
          "updated": 10,
          "recoveryLevel": "example_value",
          "recoverableDays": 10
        },
        "tags": "example_value",
        "kid": "500123",
        "managed": true
      }
    },
    {
      "status": "default",
      "contentType": "application/json",
      "name": "SecretsSetdefaultExample",
      "example": {
        "error": {
          "code": "example_value",
          "message": "example_value",
          "innererror": {
            "code": "example_value",
            "innererror": "example_value"
          }
        }
      }
    }
  ]
}