Skip to content

Commit e53560f

Browse files
joelthompsonmeirish
authored andcommitted
Fix default TTL for AWS secrets (#5203)
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.
1 parent c9a4fdf commit e53560f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/app/models/aws-credential.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default DS.Model.extend({
2020
}),
2121
ttl: attr({
2222
editType: 'ttl',
23+
defaultValue: '3600s',
2324
label: 'TTL',
2425
helpText:
2526
'Specifies the TTL for the use of the STS token. Valid only when credential_type is assumed_role or federation_token.',

0 commit comments

Comments
 (0)