open-vault/ui/app/models/kmip/ca.js
Matthew Irish 9fccccb0ec
UI KMIP CA (#6983)
* move download-button and toolbar-download-button to core addon

* add ca model and adapter and show CA on the engine configuration page

* add other side of model relationship for kmip ca<->config
2019-06-26 11:02:05 -05:00

10 lines
206 B
JavaScript

import DS from 'ember-data';
const { attr, belongsTo } = DS;
export default DS.Model.extend({
config: belongsTo('kmip/config', { async: false }),
caPem: attr('string', {
label: 'CA PEM',
}),
});