-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustom-create.example.yaml
More file actions
37 lines (32 loc) · 1.11 KB
/
custom-create.example.yaml
File metadata and controls
37 lines (32 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Example template for: sopa create custom --template examples/custom-create.example.yaml
#
# This creates a container-like object. Adjust parentDN/rdn for your directory.
#
# Notes:
# - attribute "name" can be a short name (e.g. "cn") or fully-qualified (e.g. "addata:cn")
# - "type" supports: string|int|bool|base64|hex (or an explicit xsd:* type)
# - use either "value" (single) or "values" (multi)
# - do NOT include ad:relativeDistinguishedName or ad:container-hierarchy-parent (auto-set)
#
# parentDN: the container DN
# rdn: relative DN for the new object
parentDN: "DC=CRETA,DC=LOCAL"
rdn: "CN=SOPA-CUSTOM-EXAMPLE"
attributes:
- name: objectClass
type: string
value: container
- name: cn
type: string
value: SOPA-CUSTOM-EXAMPLE
- name: description
type: string
value: "Created via sopa create custom"
# Example multi-valued attribute (if you use one)
# - name: someMulti
# type: string
# values: ["one", "two"]
# Example binary attribute using hex -> converted to xsd:base64Binary
# - name: someBinary
# type: hex
# value: "deadbeef"