{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-dev-azure-keyvault-certificate-get",
  "title": "Azure Key Vault Get Public Certificate",
  "section": "Library asset reference",
  "description": "Get Public Certificate for the explicitly selected Azure scope. Returns one bounded page or selected resource metadata.",
  "kind": "node",
  "url": "/wiki/reference-dev-azure-keyvault-certificate-get/",
  "markdown": "/wiki/reference-dev-azure-keyvault-certificate-get/index.md",
  "json": "/wiki/reference-dev-azure-keyvault-certificate-get/index.json",
  "headings": [
    {
      "id": "operation-arguments",
      "title": "Operation arguments",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "provider-operation-contract",
      "title": "Provider operation contract",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "azure-keyvault",
  "pack": "pack_azure",
  "contract": {
    "key": "dev.azure-keyvault.certificate-get",
    "slug": "dev-azure-keyvault-certificate-get",
    "name": "Azure Key Vault Get Public Certificate",
    "kind": "node",
    "family": "azure-keyvault",
    "packId": "pack_azure",
    "category": "Developer integrations",
    "description": "Get Public Certificate for the explicitly selected Azure scope. Returns one bounded page or selected resource metadata.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "certificateName",
        "name": "CertificateName",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "certificateVersion",
        "name": "CertificateVersion",
        "type": "string",
        "typeName": "Text",
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "status",
        "name": "Status",
        "type": "number",
        "typeName": "Number",
        "required": true
      },
      {
        "id": "request_id",
        "name": "Request Id",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "operation_url",
        "name": "Operation Url",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "item",
        "name": "Item",
        "type": "@dev.azure-keyvault.type.certificate",
        "typeName": "Azure Public Certificate",
        "typeKey": "dev.azure-keyvault.type.certificate",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "id",
        "name": "Id",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "public_certificate",
        "name": "Public Certificate",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "baseUrl": {
          "type": "string",
          "maxLength": 2000
        },
        "allowHttp": {
          "type": "boolean",
          "default": false
        },
        "tokenSecret": {
          "type": "string",
          "maxLength": 120
        },
        "username": {
          "type": "string",
          "maxLength": 160
        },
        "usernameSecret": {
          "type": "string",
          "maxLength": 120
        },
        "passwordSecret": {
          "type": "string",
          "maxLength": 120
        },
        "requestTimeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 120000,
          "default": 15000
        },
        "maxBytes": {
          "type": "integer",
          "minimum": 1024,
          "maximum": 3000000,
          "default": 1048576
        },
        "maxPages": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20,
          "default": 1
        },
        "maxItems": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5000,
          "default": 1000
        },
        "confirmWrites": {
          "type": "boolean",
          "default": false
        }
      },
      "additionalProperties": true
    },
    "documentation": "Get Public Certificate for the explicitly selected Azure scope. Returns one bounded page or selected resource metadata.\n\nGET /certificates/{certificateName}/{certificateVersion}. Read operation.\n\nInputs: certificateName (optional), certificateVersion (optional). Missing inputs may come from the selected connection profile config or explicit node defaults. Outputs: status, request_id, operation_url, item, id, public_certificate. Optional outputs are absent when the provider omits them. HTTP202 is acceptance, not completed work; operation_url exposes a same-origin asynchronous status URL when supplied.\n\nSetup: configure baseUrl (https://sample-vault.vault.azure.net), bearer credentials through encrypted secret names or Connections. Default secret name: AZURE_KEYVAULT_ACCESS_TOKEN. Connection credentials accessToken/apiKey or username/password are resolved at execution. Never put credentials in literal inputs, baseUrl or logs. Required access: certificates/get; public DER certificate only, no backing secret/private-key read.\n\nBounds: requestTimeoutMs=15000 (100..120000), maxBytes=1048576 (1024..3000000), maxItems=1000 (1..5000), maxPages=1 (1..20). One bounded request; use the provider-specific explicit paging inputs where offered. HTTPS is required; private HTTP needs allowHttp=true. TLS validation remains enabled. Redirects, cross-origin/escaped continuation URLs and repeated continuations fail. No implicit retries. Error text contains provider/status only, never raw response bodies or credentials. Reconcile an uncertain external action before another attempt.\n\nSynthetic example inputs:\n\n```json\n{\n  \"certificateName\": \"sample-certificate\",\n  \"certificateVersion\": \"00000000000000000000000000000001\"\n}\n```\n\nThis example is documentation, not a run. \n\nSource: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/keyvault/data-plane/Legacy/stable/7.4/certificates.json",
    "runtime": "javascript",
    "tags": [
      "azure-keyvault",
      "developer-packs",
      "read"
    ],
    "source": "developer-catalog",
    "operation": {
      "key": "certificate-get",
      "method": "GET",
      "path": "/certificates/{certificateName}/{certificateVersion}",
      "effect": "read",
      "description": "Get Public Certificate for the explicitly selected Azure scope. Returns one bounded page or selected resource metadata.",
      "scopes": "certificates/get; public DER certificate only, no backing secret/private-key read.",
      "arguments": {
        "certificateName": {
          "type": "string",
          "required": true,
          "description": ""
        },
        "certificateVersion": {
          "type": "string",
          "required": true,
          "description": ""
        }
      },
      "response": {
        "kind": "item",
        "type": "certificate",
        "select": {
          "id": [
            "id"
          ],
          "public_certificate": [
            "cer"
          ]
        }
      },
      "sampleInputs": {
        "certificateName": "sample-certificate",
        "certificateVersion": "00000000000000000000000000000001"
      },
      "sampleResponse": {
        "id": "https://sample-vault.vault.azure.net/certificates/sample-certificate/00000000000000000000000000000001",
        "kid": "https://sample-vault.vault.azure.net/keys/sample-certificate/00000000000000000000000000000001",
        "sid": "https://sample-vault.vault.azure.net/secrets/sample-certificate/00000000000000000000000000000001",
        "cer": "U1lOVEhFVElDLVBVQkxJQy1DRVJUSUZJQ0FURQ==",
        "attributes": {
          "enabled": true,
          "exp": 1893456000
        },
        "policy": {
          "x509_props": {
            "subject": "CN=sample.example.com"
          }
        }
      },
      "sources": [
        "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/keyvault/data-plane/Legacy/stable/7.4/certificates.json"
      ]
    }
  }
}
