Allow short-lived AWS credentials

Add SESSION_TOKEN to aws-secret and the pod
environment. (Fixes #3)
This commit is contained in:
Brian Ristuccia
2024-08-22 16:43:49 -04:00
parent 23efcfc904
commit 3b9e63251b
5 changed files with 14 additions and 0 deletions
+6
View File
@@ -59,6 +59,12 @@ spec:
name: aws-secret
key: aws-secret-access-key
# optional: true
- name: AWS_SESSION_TOKEN
valueFrom:
secretKeyRef:
name: aws-secret
key: aws-session-token
# optional: true
- name: AWS_REGION
valueFrom:
secretKeyRef: