Skip to content

Commit

Permalink
Fix default TTL for AWS secrets (#5203)
Browse files Browse the repository at this point in the history
The default TTL was being offered as 30 minutes, and when unchanged, the
UI wouldn't send the TTL back to the backend, causing it to use the
default of 60m. Fix the TTL to default back to 1 hour.
  • Loading branch information
joelthompson authored and meirish committed Aug 28, 2018
1 parent c9a4fdf commit e53560f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/models/aws-credential.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default DS.Model.extend({
}),
ttl: attr({
editType: 'ttl',
defaultValue: '3600s',
label: 'TTL',
helpText:
'Specifies the TTL for the use of the STS token. Valid only when credential_type is assumed_role or federation_token.',
Expand Down

0 comments on commit e53560f

Please sign in to comment.