// TODO: make this required for making a transformation
label:'Name',
fieldValue:'id',
readOnly:true,
subText:'The name for your transformation. This cannot be edited later.',
}),
type:attr('string',{
defaultValue:'fpe',
label:'Type',
possibleValues:TYPES,
subText:
'Vault provides two types of transformations: Format Preserving Encryption (FPE) is reversible, while Masking is not. This cannot be edited later.',
}),
tweak_source:attr('string',{
defaultValue:'supplied',
label:'Tweak source',
possibleValues:TWEAK_SOURCE,
subText:`A tweak value is used when performing FPE transformations. This can be supplied, generated, or internal.`,// TODO: I do not include the link here. Need to figure out the best way to approach this.
}),
masking_character:attr('string',{
characterLimit:1,
defaultValue:'*',
label:'Masking character',
subText:'Specify which character you’d like to mask your data.',
}),
template:attr('array',{
editType:'searchSelect',
fallbackComponent:'string-list',
label:'Template',// TODO: make this required for making a transformation