1 Answer
- Newest
- Most votes
- Most comments
0
You can create secrets without a /
Or those with a / you can reference a secrect using it’s unique name(arn)
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: aws-secrets
spec:
provider: aws
parameters:
objects: |
- objectName: "arn:aws:secretsmanager:us-east-2:111122223333:secret:MySecret2-d4e5f6"
- objectName: "MySecret3"
objectType: "secretsmanager"
- objectName: "MySecret4"
objectType: "secretsmanager"
objectVersionLabel: "AWSCURRENT"
This page may help you find the answer your looking for coming at it from a different angle https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_csi_driver.html
Relevant content
- asked 2 years ago
- asked 2 months ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
Thanks for the reply. It’s csi driver you mentioned, I am using external operator. Is there way to achieve this using external secret operator?