open-vault/ui/app/models/mount-options.js
2018-08-28 00:03:55 -05:00

13 lines
501 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
export default Fragment.extend({
version: attr('number', {
label: 'Version',
helpText:
'The KV Secrets engine can operate in different modes. Version 1 is the original generic secrets engine the allows for storing of static key/value pairs. Version 2 added more features including data versioning, TTLs, and check and set.',
possibleValues: [2, 1],
defaultFormValue: 2,
}),
});