external-secrets / kubernetes-external-secrets

Integrate external secret management systems with Kubernetes
MIT License
2.6k stars 404 forks source link

How self-signed cert on Azure KV can decode ? #872

Closed Tomonori-YOSHIKAWA closed 2 years ago

Tomonori-YOSHIKAWA commented 2 years ago

I am trying pull out selfsigned certification from azure KV with a following example. But the Externalsecret resource on my k8s cluster showed an error message as follows.

How does this work ?


Hereunder is the log from the Externalsecret resource

status: conditions:


Hereunder is the manifest I applied

apiVersion: external-secrets.io/v1alpha1 kind: ExternalSecret metadata: name: example-external-secret namespace: dev spec: refreshInterval: 1h secretStoreRef: kind: ClusterSecretStore name: cluster-secret-store target: name: secret-to-be-created template: type: kubernetes.io/tls data: tls.crt: "{{ .tlscert | pkcs12cert | pemCertificate }}" tls.key: "{{ .tlscert | pkcs12key | pemPrivateKey }}" data:

Tomonori-YOSHIKAWA commented 2 years ago

I am wondering if pkcs12certPass and pkcs12keyPass should be used instead of pkcs12cert and pkcs12key respectively. But, if so, I do find any usages about how I can place its password into their helper functions.

Any examples ?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 30 days with no activity.