aws-keychain 3.0 (new formula)
The aim of aws-keychain is to run commands that require AWS credentials without ever storing those credentials unencrypted on disk. Mac OS X's keychain is used for storage, and credentials are passed to commands via the well known environment variables that all tools look for.
This commit is contained in:
parent
0b1589840b
commit
75214901cc
1 changed files with 17 additions and 0 deletions
17
Formula/aws-keychain.rb
Normal file
17
Formula/aws-keychain.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
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"
|
||||
|
||||
def install
|
||||
bin.install "aws-keychain"
|
||||
end
|
||||
|
||||
test do
|
||||
# aws-keychain is a simple shell script wrapper around built-in
|
||||
# keychain utilities. It is not possible to create a new
|
||||
# keychain without triggering a keychain prompt.
|
||||
system "aws-keychain --help || true"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue