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: sandboxThe 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using AWS SSO, which isn't natively supported by
restic. Therefore, I need to set someAWS_env variables manually, before the actualresticcommand 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
resticcommand?Beta Was this translation helpful? Give feedback.
All reactions