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.
This commit is contained in:
Joel Thompson 2018-08-28 00:30:17 -04:00 committed by Matthew Irish
parent abe86a48f4
commit 9f99ac44f4

View file

@ -20,6 +20,7 @@ export default DS.Model.extend({
}), }),
ttl: attr({ ttl: attr({
editType: 'ttl', editType: 'ttl',
defaultValue: '3600s',
label: 'TTL', label: 'TTL',
helpText: helpText:
'Specifies the TTL for the use of the STS token. Valid only when credential_type is assumed_role or federation_token.', 'Specifies the TTL for the use of the STS token. Valid only when credential_type is assumed_role or federation_token.',