rapid7 / awsaml

Awsaml is an application for providing automatically rotated temporary AWS credentials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README.md: "brew cask" is no longer a supported command

wvu opened this issue · comments

commented

https://github.com/rapid7/awsaml/blob/master/README.md#setup-on-macos-with-homebrew

wvu@kharak:~$ brew cask install https://raw.githubusercontent.com/rapid7/awsaml/master/brew/cask/awsaml.rb # brew cask is no more
Error: Unknown command: cask
wvu@kharak:~$ brew install --cask https://raw.githubusercontent.com/rapid7/awsaml/master/brew/cask/awsaml.rb
Traceback (most recent call last):
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of awsaml formula file from an arbitrary URL is unsupported!  (UsageError)
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of awsaml formula file from an arbitrary URL is unsupported!  (UsageError)
wvu@kharak:~$ cd Downloads/
wvu@kharak:~/Downloads$ wget https://raw.githubusercontent.com/rapid7/awsaml/master/brew/cask/awsaml.rb
--2021-05-20 17:41:50--  https://raw.githubusercontent.com/rapid7/awsaml/master/brew/cask/awsaml.rb
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 362 [text/plain]
Saving to: ‘awsaml.rb’

awsaml.rb                                          100%[================================================================================================================>]     362  --.-KB/s    in 0s

2021-05-20 17:41:50 (12.8 MB/s) - ‘awsaml.rb’ saved [362/362]

wvu@kharak:~/Downloads$ brew install --cask awsaml.rb
==> Downloading https://github.com/rapid7/awsaml/releases/download/v2.2.2/awsaml-v2.2.2-darwin-x64.zip
==> Downloading from https://github-releases.githubusercontent.com/50682822/ea434080-d604-11e9-9db9-cc6baf627480?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210520%2Fus-east
######################################################################## 100.0%
==> Installing Cask awsaml
==> Moving App 'Awsaml.app' to '/Applications/Awsaml.app'
🍺  awsaml was successfully installed!
wvu@kharak:~/Downloads$