homebrew-core/Formula/aws-keychain.rb

19 lines
558 B
Ruby
Raw Normal View History

class AwsKeychain < Formula
desc "Uses OS X keychain for storage of AWS credentials."
homepage "https://github.com/pda/aws-keychain"
url "https://github.com/pda/aws-keychain/archive/v3.0.0.tar.gz"
sha256 "3c9882d3b516b629303ca9a045fc50f6eb75fda25cd2452f10c47eda205e051f"
2016-03-15 12:17:33 +00:00
bottle :unneeded
def install
bin.install "aws-keychain"
end
test do
# It is not possible to create a new keychain without triggering a prompt.
2016-03-15 12:17:22 +00:00
assert_match /Store multiple AWS IAM access keys/,
shell_output("#{bin}/aws-keychain --help", 1)
end
end