> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Windows Server PKI syncs

> List the Windows Server PKI Syncs.



## OpenAPI

````yaml GET /api/v1/cert-manager/syncs/windows-server
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v1/cert-manager/syncs/windows-server:
    get:
      tags:
        - PKI Syncs
      description: List the Windows Server PKI Syncs.
      operationId: listWindowsServerPkiSyncs
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  pkiSyncs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                          maxLength: 256
                        description:
                          type: string
                          nullable: true
                        destination:
                          type: string
                          enum:
                            - windows-server
                        isAutoSyncEnabled:
                          type: boolean
                        destinationConfig:
                          type: object
                          properties:
                            destinationPath:
                              type: string
                              minLength: 1
                              maxLength: 4096
                            host:
                              type: string
                              minLength: 1
                              maxLength: 253
                            port:
                              type: integer
                              minimum: 1
                              maximum: 65535
                              description: >-
                                The port to reach the target host on. Defaults
                                to the protocol's standard port.
                            sslEnabled:
                              type: boolean
                              description: >-
                                Reach the host over HTTPS WinRM instead of HTTP
                                with NTLM message encryption.
                            sslRejectUnauthorized:
                              type: boolean
                              description: >-
                                Verify the host's WinRM certificate when using
                                HTTPS.
                            sslCertificate:
                              type: string
                              maxLength: 8192
                              description: >-
                                CA certificate (PEM) used to verify a
                                self-signed WinRM HTTPS listener (HTTPS only).
                          required:
                            - destinationPath
                          additionalProperties: false
                        syncOptions:
                          type: object
                          properties:
                            canRemoveCertificates:
                              type: boolean
                              default: false
                            includeRootCa:
                              type: boolean
                              default: false
                            includePrivateKey:
                              type: boolean
                              default: true
                            exportFormat:
                              type: string
                              enum:
                                - pem
                                - pkcs12
                                - jks
                              default: pkcs12
                            pemCertificateExtension:
                              type: string
                              enum:
                                - pem
                                - crt
                              default: pem
                            combineCertificateChain:
                              type: boolean
                              default: false
                            keystoreAlias:
                              type: string
                              minLength: 1
                              maxLength: 128
                              description: >-
                                Alias of the private key entry in a PKCS#12 or
                                JKS keystore. Defaults to the certificate's file
                                base name. JKS stores aliases in lowercase.
                            includeTruststore:
                              type: boolean
                              description: >-
                                Java KeyStore only: also deliver
                                '<name>.truststore.jks' holding the chain and
                                root CA as trusted certificates.
                            fileAccessRules:
                              type: array
                              items:
                                type: object
                                properties:
                                  identity:
                                    type: string
                                    minLength: 1
                                    maxLength: 256
                                  access:
                                    type: string
                                    enum:
                                      - read
                                      - modify
                                      - full-control
                                required:
                                  - identity
                                  - access
                                additionalProperties: false
                              maxItems: 20
                            healthCheckCommand:
                              type: string
                              maxLength: 8192
                              nullable: true
                            postSyncCommand:
                              type: string
                              maxLength: 8192
                              nullable: true
                            certificateNameSchema:
                              type: string
                              minLength: 1
                          required:
                            - certificateNameSchema
                          additionalProperties: false
                        subscriberId:
                          type: string
                          format: uuid
                          nullable: true
                        connectionId:
                          type: string
                          format: uuid
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                        syncStatus:
                          type: string
                          nullable: true
                        lastSyncedAt:
                          type: string
                          format: date-time
                          nullable: true
                        lastHealthCheckRanAt:
                          type: string
                          format: date-time
                          nullable: true
                        lastHealthCheckStatus:
                          type: string
                          enum:
                            - pending
                            - running
                            - succeeded
                            - failed
                          nullable: true
                        lastHealthCheckMessage:
                          type: string
                          nullable: true
                        filters:
                          type: object
                          properties:
                            profileIds:
                              type: array
                              items:
                                type: string
                                format: uuid
                            certificateOrderIds:
                              type: array
                              items:
                                type: string
                                format: uuid
                            metadata:
                              type: array
                              items:
                                type: object
                                properties:
                                  key:
                                    type: string
                                  value:
                                    type: string
                                required:
                                  - key
                                additionalProperties: false
                          additionalProperties: false
                          nullable: true
                          description: >-
                            Which of the Application's certificates this sync
                            holds. A certificate must match every field that is
                            set, and a sync with no filters holds nothing.
                      required:
                        - id
                        - name
                        - destination
                        - isAutoSyncEnabled
                        - destinationConfig
                        - syncOptions
                        - connectionId
                        - createdAt
                        - updatedAt
                      additionalProperties: false
                required:
                  - pkiSyncs
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.