# Example AliCloudPCAIssuer (Namespace-scoped)
apiVersion: alicloudpca.cert-manager.io/v1alpha1
kind: AliCloudPCAIssuer
metadata:
  name: example-issuer
  namespace: default
spec:
  # CA Identifier - the ID of your AliCloud Private CA
  caIdentifier: "12345678-1234-1234-1234-123456789012"

  # Region where the Private CA resides
  region: "cn-hangzhou"
---
# Example Certificate using this issuer
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: example-cert
  namespace: default
spec:
  secretName: example-cert-tls
  dnsNames:
    - example.com
    - www.example.com
  issuerRef:
    name: example-issuer
    kind: AliCloudPCAIssuer
    group: alicloudpca.cert-manager.io
