ssssh 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ssssh +4 -1
  3. data/lib/ssssh/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec83c64bc73fb62f33c58e3d27dc8cef20b26d7c
4
- data.tar.gz: 1aa27d50991b8b39e64c9cfe283ba933eba4c774
3
+ metadata.gz: 291dadded604c64efd0f187163a97298cac70635
4
+ data.tar.gz: 6dd5ff9044c82ff3f578d44b851e737957749294
5
5
  SHA512:
6
- metadata.gz: 7c541acd7989e44f795e47e273ec33efce13dfea19a6136d48f12cab94d637aa65d1ee803417dc8b2048acb32144c174c670e83dcf64dd5acb503bce37f7952a
7
- data.tar.gz: 0d34316967b4225e652ec721a7cce6133379440e8a9c3230ed79c643361eb371b8eac5935aa7cbcd53829bfa8a71d9d8c54a92078aedad09123c0c4c3d6e35ff
6
+ metadata.gz: 095224ff011ef4d8b322ea5c2d8a9a1ea76c59b22df60f79fce1a32da939554bf66c50c880a37f8232d83f22248748eaab73fa2ba2884dff1551b09e92722063
7
+ data.tar.gz: b8f07e960a363bce39022944e64f1a36c66c23b86b249a5c588c14c131148bbf414c77e90606124bee5d1e83a22721c8bcf92ba08d065faf47537c87e921629a
data/bin/ssssh CHANGED
@@ -8,6 +8,9 @@ require "multi_json"
8
8
  require "net/http"
9
9
  require "ssssh/version"
10
10
 
11
+ # AWS_SECURITY_TOKEN is a deprecated alias for AWS_SESSION_TOKEN
12
+ ENV["AWS_SESSION_TOKEN"] ||= ENV["AWS_SECURITY_TOKEN"]
13
+
11
14
  Clamp do
12
15
 
13
16
  option ["-C", "--context"], "KEY=VALUE",
@@ -24,7 +27,7 @@ Clamp do
24
27
  :environment_variable => "AWS_SECRET_ACCESS_KEY",
25
28
  :attribute_name => :secret_access_key
26
29
  option "--session-token", "KEY", "AWS security token",
27
- :environment_variable => "AWS_SECURITY_TOKEN",
30
+ :environment_variable => "AWS_SESSION_TOKEN",
28
31
  :attribute_name => :session_token
29
32
 
30
33
  option "--debug", :flag, "enable debugging"
@@ -1,3 +1,3 @@
1
1
  module Ssssh
2
- VERSION = "1.3.0".freeze
2
+ VERSION = "1.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams