diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-15T13·16+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-15T13·18+0100 |
commit | 8956ae19879e0367250002b94e399d8c771f37a1 (patch) | |
tree | 713b1dd7ec831df06a65e0a93d45d3826e36aa55 /src/libstore/s3.hh | |
parent | 897ca33a1c5df5da77e854dd7dd88dadea4681c8 (diff) |
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-...
Diffstat (limited to 'src/libstore/s3.hh')
-rw-r--r-- | src/libstore/s3.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/s3.hh b/src/libstore/s3.hh index 08a7fbf96e98..4f996400343c 100644 --- a/src/libstore/s3.hh +++ b/src/libstore/s3.hh @@ -14,7 +14,7 @@ struct S3Helper ref<Aws::Client::ClientConfiguration> config; ref<Aws::S3::S3Client> client; - S3Helper(const std::string & region); + S3Helper(const std::string & profile, const std::string & region); ref<Aws::Client::ClientConfiguration> makeConfig(const std::string & region); |