miasma-aws 0.3.28 → 0.3.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbff818c0f191e8f97f7e15055992af6bc2ec5150ab0d98a9ec57266ac8b461c
4
- data.tar.gz: 32eeb2065158634f06153f80e36d251656e8b8685899a3a144fa8d7328c2f82c
3
+ metadata.gz: 7b60fe45e2017fafefbd93c32a5769335d5ac7be0c0f193c18f7bb596d4298df
4
+ data.tar.gz: 02d312475710aef97e801089100ad72ae7e99db0bb26b2c30b54fce483e4c115
5
5
  SHA512:
6
- metadata.gz: 8be5a33e304893b01596439d4949f6e3f52ae1e8bd098d910df841d22dfda4aaf875406713cc1183dcff36cd0d2ef66d82b703a539f56e1b30ab1e05d6ebbb83
7
- data.tar.gz: 12576a3785f5f014593b44f23bf0cf8fa54d7adcccc8fcee70299e72fbe4eca8dd5d197bed4ff8003502c848191d2561f1e51bab8b341bd11d50adb3204e5b43
6
+ metadata.gz: 1284e8fd6b2f34529ab2d1ac9fe0770117663c899f1e2103191700ccaed5f1df3a16c743eb0a14f1e3669ea33681ea3651669eb6666646f702c89ff3aff626e4
7
+ data.tar.gz: b6bc4ca94914823aa7dad765fdbcadc34c98710c36d70e56ca1c2b519a925a077a3cfbdd5f4300a7d873ad32be8224eb07f2089bb7df4888f5ef22fd406cfe48
@@ -1,3 +1,6 @@
1
+ # v3.2.30
2
+ * [enhancement] Add duration option for sts token
3
+
1
4
  # v3.2.28
2
5
  * [enhancement] Output event timestamps in local time
3
6
  * [enhancement] Add storage resource mapping
data/README.md CHANGED
@@ -46,6 +46,7 @@ Miasma.api(
46
46
  * `aws_sts_session_token` - MFA related session token
47
47
  * `aws_sts_session_token_code` - Six digit code from MFA device
48
48
  * `aws_sts_mfa_serial_number` - Serial number or ARN of MFA device
49
+ * `aws_sts_duration` - Specify duration of validity for token
49
50
 
50
51
  ### S3 related attributes
51
52
 
@@ -54,6 +54,7 @@ module Miasma
54
54
  params["RoleArn"] = role_arn
55
55
  params["RoleSessionName"] = args[:session_name] || SecureRandom.uuid.tr("-", "")
56
56
  params["ExternalId"] = args[:external_id] if args[:external_id]
57
+ params["DurationSeconds"] = args[:duration] if args[:duration]
57
58
  end
58
59
  result = request(
59
60
  :path => "/",
@@ -1,4 +1,4 @@
1
1
  module MiasmaAws
2
2
  # Current library version
3
- VERSION = Gem::Version.new("0.3.28")
3
+ VERSION = Gem::Version.new("0.3.30")
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.28
4
+ version: 0.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-04 00:00:00.000000000 Z
11
+ date: 2019-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: miasma