---
title: Test Sidecar Injection and Secret Retrieval
slug: kronpam-how-to-guides-180/test-sidecar-injection-and-secret-retrieval
docTags: 
createdAt: 2026-09-02T07:42:47.990Z
---

Deploy a test pod into the target namespace to verify the injector is working.

```linux
kubectl run test-pod --image=nginx -n <TARGET_NAMESPACE>
kubectl get pod test-pod -n <TARGET_NAMESPACE>
```

**Expected:&#x20;**&#x32;/2 Running (two containers: the application + aapm-client).

## Check Injected Secrets

```linux
kubectl get pod test-pod -n <TARGET_NAMESPACE> -o jsonpath='{.spec.containers[*].name}'
```

## Check Created Keystore Files

```linux
kubectl exec test-pod -c aapm-client -n <TARGET_NAMESPACE> -- ls -la /keystore
```

**Expected:&#x20;**&#x7B;label}.env and config files for each userLabel.

## Check aapm-client Logs

```linux
kubectl logs test-pod -c aapm-client -n <TARGET_NAMESPACE> --tail=20
```

**Expected:&#x20;**&#x70;ollSecrets completed (without any error/fallback line).
