chocolateyinstall.ps1 533 B

12345678910111213
  1. $ErrorActionPreference = 'Stop';
  2. $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
  3. $packageArgs = @{
  4. packageName = $env:ChocolateyPackageName
  5. fileFullPath = "$toolsDir\aws-iam-authenticator.exe"
  6. url64bit = 'https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.6.27/aws-iam-authenticator_0.6.27_windows_amd64.exe'
  7. checksum64 = '6ce12a69d0270d3ec97fcfc21caccd671b633ff51a31f41b0340dbe1c48bcba7'
  8. checksumType64 = 'sha256'
  9. }
  10. Get-ChocolateyWebFile @packageArgs