Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for Kubernetes
  • Comparing with other Yandex Cloud services
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
    • Overview
      • Overview
      • Gwin policies
      • Installing Gwin
      • Migrating apps from an ALB ingress controller to Gwin
        • Gateway
        • GatewayPolicy
        • GRPCRoute
        • HTTPRoute
        • Ingress
        • IngressBackendGroup
        • IngressPolicy
        • RoutePolicy
        • Service
        • ServicePolicy
        • TLSRoute
        • YCCertificate
        • YCStorageBucket
  • Release notes

In this article:

  • Cheatsheet
  • YCCertificateSpec
  • YCCertificateReference
  1. Application Load Balancer tools
  2. Gwin
  3. Resource configuration
  4. YCCertificate

YCCertificate

Written by
Yandex Cloud
Updated at September 24, 2025
  • Cheatsheet
  • YCCertificateSpec
    • YCCertificateReference

YCCertificate is a Gwin custom resource for referencing TLS certificates from Yandex Certificate Manager. It allows you to use certificates managed by Yandex Cloud in your Gateway and Ingress resources for TLS termination.

  • Cheatsheet
  • YCCertificateSpec
    • YCCertificateReference

CheatsheetCheatsheet

Note

Specification provided below is not valid configuration.

It's just demonstration of all YCCertificate fields.

apiVersion: gwin.yandex.cloud/v1
kind: YCCertificate
metadata:
  name: example-certificate
  namespace: example-ns
spec:
  certificateRef:
    # Option 1: Reference by certificate ID
    certificateID: "fpq6gvvm6piu********"
    
    # Option 2: Reference by certificate name and folder ID
    certificateName: "my-certificate"
    folderID: "b1g0itj57rbj********"
    
    # Option 3: Reference by certificate name only (uses controller's folder)
    certificateName: "my-certificate"

Reference the YCCertificate in a Gateway resource:

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: example-gateway
spec:
  gatewayClassName: gwin-default
  listeners:
    - name: https
      protocol: HTTPS
      port: 443
      tls:
        mode: Terminate
        certificateRefs:
          - group: gwin.yandex.cloud
            kind: YCCertificate
            name: example-certificate
            namespace: example-ns
Field Description
metadata ObjectMeta
Standard Kubernetes metadata.
spec YCCertificateSpec
Certificate specification.

YCCertificateSpecYCCertificateSpec

YCCertificateSpec defines the desired state of YCCertificate.

Appears in: YCCertificate

Field Description
certificateRef YCCertificateReference
Reference to the Yandex Cloud Certificate Manager certificate.

YCCertificateReferenceYCCertificateReference

YCCertificateReference is a reference to a Yandex Certificate Manager certificate. You can specify either certificateID or certificateName+folderID. You can specify only certificateName if folder is same as controller folder.

Appears in: YCCertificateSpec

Field Description
certificateID string
Direct reference to certificate by its ID. This is the most specific way to reference a certificate.
Example: fpq6gvvm6piu********
certificateName string
Name of the certificate in Yandex Cloud Certificate Manager. Must be used with folderID or rely on controller's default folder.
Example: my-certificate
folderID string
Folder ID where the certificate is located. If not specified, controller's folder is used.
Example: b1g0itj57rbj********

Was the article helpful?

Previous
TLSRoute
Next
YCStorageBucket
© 2025 Direct Cursus Technology L.L.C.