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 +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -0
- data/lib/miasma-aws/api/sts.rb +1 -0
- data/lib/miasma-aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b60fe45e2017fafefbd93c32a5769335d5ac7be0c0f193c18f7bb596d4298df
|
4
|
+
data.tar.gz: 02d312475710aef97e801089100ad72ae7e99db0bb26b2c30b54fce483e4c115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1284e8fd6b2f34529ab2d1ac9fe0770117663c899f1e2103191700ccaed5f1df3a16c743eb0a14f1e3669ea33681ea3651669eb6666646f702c89ff3aff626e4
|
7
|
+
data.tar.gz: b6bc4ca94914823aa7dad765fdbcadc34c98710c36d70e56ca1c2b519a925a077a3cfbdd5f4300a7d873ad32be8224eb07f2089bb7df4888f5ef22fd406cfe48
|
data/CHANGELOG.md
CHANGED
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
|
|
data/lib/miasma-aws/api/sts.rb
CHANGED
@@ -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 => "/",
|
data/lib/miasma-aws/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: miasma
|