From 8956ae19879e0367250002b94e399d8c771f37a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 15 Nov 2017 14:16:04 +0100 Subject: Add a "profile" option to S3BinaryCacheStore This allows specifying the AWS configuration profile to use. E.g. nix copy --from s3://my-cache?profile=aws-dev-account /nix/store/cf3isrlqavvd5w7rpky1fa8j9lcnlggm-... --- src/libstore/s3.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/s3.hh') diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh index 08a7fbf96..4f9964003 100644 --- a/src/libstore/s3.hh +++ b/src/libstore/s3.hh @@ -14,7 +14,7 @@ struct S3Helper ref config; ref client; - S3Helper(const std::string & region); + S3Helper(const std::string & profile, const std::string & region); ref makeConfig(const std::string & region); -- cgit v1.2.3