mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
Allow short-lived AWS credentials
Add SESSION_TOKEN to aws-secret and the pod environment. (Fixes #3)
This commit is contained in:
@@ -92,6 +92,7 @@ Create a secret for irsa-manager to access AWS:
|
||||
kubectl create secret generic aws-secret -n irsa-manager-system \
|
||||
--from-literal=aws-access-key-id=<your-access-key-id> \
|
||||
--from-literal=aws-secret-access-key=<your-secret-access-key> \
|
||||
--from-literal=aws-session-token=<your-aws-session-token> # Optional \
|
||||
--from-literal=aws-region=<your-region> \
|
||||
--from-literal=aws-role-arn=<your-role-arn> # Optional: Set this if you want to switch roles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user