---
title: "POST /v1/{+parent}/certificateMapEntries"
method: POST
path: "/v1/{+parent}/certificateMapEntries"
tags: ["projects"]
---

# POST /v1/{+parent}/certificateMapEntries

`POST /v1/{+parent}/certificateMapEntries`

Creates a new CertificateMapEntry in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `certificateMapEntryId` string

## Request body

- CertificateMapEntry — Defines a certificate map entry.
  - `state` 'SERVING_STATE_UNSPECIFIED' | 'ACTIVE' | 'PENDING' — Output only. A serving state of this Certificate Map Entry.
  - `hostname` string — A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.
  - `certificates` string[] — Optional. A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.
  - `description` string — Optional. One or more paragraphs of text description of a certificate map entry.
  - `labels` object — Optional. Set of labels associated with a Certificate Map Entry.
  - `matcher` 'MATCHER_UNSPECIFIED' | 'PRIMARY' — A predefined matcher for particular cases, other than SNI selection.
  - `name` string — Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
  - `updateTime` string, google-datetime — Output only. The update timestamp of a Certificate Map Entry.
  - `createTime` string, google-datetime — Output only. The creation timestamp of a Certificate Map Entry.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/certificatemanager.md) · [All operations](https://skmtc.net/google/apis/certificatemanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/certificatemanager/versions/2a5bf0361fcc/schema)
