<p>I have multiple secrets in AWS Secrets Manager and I would like them to all end up in the same file when mounted in the Kubernetes container. How do I specify the manifest file to do that?</p>
<p>My manifest file looks like the below. I end up with two secrets files called <code>/mnt/credentials-a.json</code> and <code>/mnt/credentials-b.json</code>. How do I combine them both into one file called <code>/mnt/credentials.json</code>?</p>
<pre><code>apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
  name: test-secrets
spec:
  provider: aws
  parameters:
    objects: |
      - objectName: &quot;arn:aws:secretsmanager:us-west-2:111122223333:secret:test1-TYabcD&quot;
        objectAlias: credentials-a.json
      - objectName: &quot;arn:aws:secretsmanager:us-west-2:111122223333:secret:test2-AfabcY&quot;
        objectAlias: credentials-b.json
</code></pre>

Nova
<p>The brute force solution is to use the &quot;Plaintext&quot; tab in AWS Secrets Manager and put all the secrets in one secret ARN. I don't have an elegant solution, but I am not looking for form, I am looking for function.</p>
