---
title: "POST /v1/private-connections/{name}/certificate"
method: POST
path: "/v1/private-connections/{name}/certificate"
---

# POST /v1/private-connections/{name}/certificate

`POST /v1/private-connections/{name}/certificate`

Updates the certificate associated with a Private Connection.

## Path parameters

- `name` string, required — Unique name for a Private Connection within an account.

## Request body

- object
  - `certificate` string, required — String type for certificate or certificate chain.

## Response `200`

Success

- UpdatePrivateConnectionCertificateOutput — Output containing the updated Private Connection summary.
  - `name` string, required — The name of the Private Connection.
  - `type` 'SELF_MANAGED' | 'SERVICE_MANAGED', required — The type of the Private Connection.
  - `resourceGatewayId` string — The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.
  - `hostAddress` string — IP address or DNS name of the target resource. Only present for service-managed Private Connections.
  - `vpcId` string — VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.
  - `resourceConfigurationId` string — The Resource Configuration ARN. Only present for self-managed Private Connections.
  - `status` 'ACTIVE' | 'CREATE_IN_PROGRESS' | 'CREATE_FAILED' | 'DELETE_IN_PROGRESS' | 'DELETE_FAILED', required — The status of the Private Connection.
  - `certificateExpiryTime` string, date-time — The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.
  - `dnsResolution` 'PUBLIC' | 'IN_VPC' — DNS resolution mode for the Private Connection's resource gateway.
  - `failureMessage` string — Message describing the reason for a failed Private Connection update, if applicable.

## Other responses

- `480` — ValidationException
- `481` — ContentSizeExceededException
- `482` — ServiceQuotaExceededException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — AccessDeniedException
- `486` — ResourceNotFoundException
- `487` — ThrottlingException
- `488` — InvalidParameterException

---

[API](https://skmtc.net/aws/apis/devops-agent.md) · [All operations](https://skmtc.net/aws/apis/devops-agent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/devops-agent/versions/ca2af02d3853/schema)
