homebrew-core/Formula/aws-keychain.rb

19 lines
559 B
Ruby

class AwsKeychain < Formula
desc "Uses macOS 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"
bottle :unneeded
def install
bin.install "aws-keychain"
end
test do
# It is not possible to create a new keychain without triggering a prompt.
assert_match /Store multiple AWS IAM access keys/,
shell_output("#{bin}/aws-keychain --help", 1)
end
end