Replies: 1 comment 6 replies
-
Hi, Have you tried using the Basically, you need to create a profile in
This profile makes use of SSO but you just need to configure it with your authentication mechanism. From there you can login to AWS from the terminal:
You need to set your
... or in the resticprofile configuration: profile_to_aws:
env:
AWS_PROFILE: sandbox The temporary credentials will be stored in an sso cache file which will be picked up by restic. If you don't use SSO I think you can still store your temporary credentials in the Now, about your original question: |
Beta Was this translation helpful? Give feedback.
-
I'm using AWS SSO, which isn't natively supported by
restic
. Therefore, I need to set someAWS_
env variables manually, before the actualrestic
command is executed.I've tried to do that in a
run-before
, but then the variables only seem to be set in a subshell and vanish again when that is done.Is there some other way to run a script which sets environment variables for the
restic
command?Beta Was this translation helpful? Give feedback.
All reactions