Questions tagged [akv2k8s]

7 questions
1
vote
0 answers

akv2k8s is unable to inject secrets into environment

I created a new AKS cluster and deployed a simple nginx pod. All works well. Then I added a secret injected through the environment and the replicaSet fails to start with the following error: mark@L-R910LPKW:~/chip/toolbox/k8s [test ≡ +0 ~2 -0 !]$ k…
mark
  • 59,016
  • 79
  • 296
  • 580
1
vote
2 answers

unexpected error creating SSL Cert: certificate and private key does not have a matching public key: tls: private key does not match public key

I have a pfx certificate stored as secret in azurekeyvault as you can see I have used akv2k8s tool to create kubernetes secret for accessing azurekeyvault in azure kubernetes cluster. the kubernetes secret got created successfully as you can…
0
votes
0 answers

Azure Key Vault to Kubernetes method creates two env-injector

I am trying to use akv2k8s method to sync azure key vault secrets to kubernetes. This is the link: https://akv2k8s.io/why-akv2k8s/. When I am trying to install with helm, two envinjector are getting installed and the docs say that you should at most…
0
votes
1 answer

Helm Chart: error converting YAML to JSON: yaml: mapping values are not allowed in this context

I am trying to install akv28s secrets using helm template but it fails, I am unable to diagnose the issue in helm, have tried online yaml validators but no help. Using --debug flags renders me the expected manifest values.yaml akv2k8s: enabled:…
0
votes
2 answers

How to add HealthChecks for AzureKeyVault health status

I was trying to add HealthChecks for AzureKeyVault to my project and added following nuget package for that : And in code, added following : var url =…
Sukhi
  • 45
  • 1
  • 7
0
votes
1 answer

secret-inject@azurekeyvault waiting forever

I would like to use akv2k8s.io for adding key vault into kubernetes using helm chart. apiVersion: spv.no/v2beta1 kind: AzureKeyVaultSecret metadata: name: secret-sync namespace: akv-test-butfa spec: vault: name: akv2k8s-butfa # name of…
Thanh Nguyen Van
  • 10,292
  • 6
  • 35
  • 53
-1
votes
1 answer

How to access private key as PrivateKey object from a pfx certificate stored in Azure key vault using Java?

CertificateClient certificateClient = new CertificateClientBuilder().vaultUrl().credential(new DefaultAzureCredentialBuilder().build()).buildClient(); KeyVaultCertificateWithPolicy certificate = certificateClient.getCertificate("certificateName")