insxsync 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/insxsync.rb +1 -1
- data/lib/insxsync/version.rb +1 -1
- metadata +1 -1
data/lib/insxsync.rb
CHANGED
@@ -148,7 +148,7 @@ module InsxSync
|
|
148
148
|
|
149
149
|
# this assumes the role on the production account to access CGE backups
|
150
150
|
sts = AWS::STS.new(:access_key_id=>accessKeyId, :secret_access_key=>secretAccessKey)
|
151
|
-
role = sts.assume_role(:role_arn => 'arn:aws:iam::677931414594:role/insxsync
|
151
|
+
role = sts.assume_role(:role_arn => 'arn:aws:iam::677931414594:role/insxsync', :role_session_name => SecureRandom.uuid.gsub(/-/,''), :duration_seconds => 60 * 15)
|
152
152
|
|
153
153
|
# store role credentials
|
154
154
|
creds = role[:credentials]
|
data/lib/insxsync/version.rb
CHANGED