---
updatedAt: 2026-07-20T19:20:34.000Z
agentTools:
  projectIndex: https://developer.tenable.com/llms.txt
---

# Create Azure key with keyless authentication

Creates a new Microsoft Azure key with keyless authentication in the business of the current user.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Attack Surface Management API",
    "version": "1.0.0",
    "title": "Attack Surface Management"
  },
  "tags": [
    {
      "name": "Azure Keys",
      "description": "Interact with Azure keys"
    }
  ],
  "paths": {
    "/business/azure-keys/keyless": {
      "post": {
        "tags": [
          "Azure Keys"
        ],
        "summary": "Create Azure key with keyless authentication",
        "description": "Creates a new Microsoft Azure key with keyless authentication in the business of the current user.",
        "operationId": "createKeylessAzureKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "A name for the Azure key."
                  },
                  "tenant_id": {
                    "type": "string",
                    "description": "The Microsoft Azure tenant ID."
                  },
                  "client_id": {
                    "type": "string",
                    "description": "The Microsoft Azure client ID."
                  }
                },
                "required": [
                  "tenant_id",
                  "client_id",
                  "name"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returned if Tenable Attack Surface Management successfully created the Microsoft Azure key.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "The ID of the newly created Microsoft Azure key."
                    }
                  },
                  "required": [
                    "id"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Returned if you do not have permissions to create a Microsoft Azure key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Returned if an internal error occurred in Tenable Attack Surface Management.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "x-swagger-router-controller": "AzureKeys"
      }
    }
  },
  "servers": [
    {
      "url": "https://asm.cloud.tenable.com/api/1.0"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "The error code."
          },
          "message": {
            "type": "string",
            "description": "A description explaining the error."
          }
        }
      }
    }
  }
}
```