github.com/Venafi/vcert/v5@v5.10.2/pkg/certificate/customField.go (about) 1 package certificate 2 3 // CustomField can be used for adding additional information to certificate. For example: custom fields or Origin. 4 // By default, Type is CustomFieldPlain. For adding Origin set Type: CustomFieldOrigin 5 // For adding multiple values to a single custom field: 6 // 7 // request.CustomFields = []CustomField{ 8 // {Name: "name1", Value: "value1"} 9 // {Name: "name1", Value: "value2"} 10 // } 11 type CustomField struct { 12 Type CustomFieldType `yaml:"-"` 13 Name string `yaml:"name"` 14 Value string `yaml:"value"` 15 }