5 <link rel=
"stylesheet" href=
"onc_spec.css" >
6 <script src=
"onc_spec.js"></script>
7 <title>Open Network Configuration Format
</title>
11 <section id=
"root" class=
"not_in_toc">
12 <h1>Open Network Configuration Format
</h1>
14 <section class=
"not_in_toc">
16 <div id=
"outline"></div>
22 We would like to create a simple, open, but complete format to describe
23 multiple network configurations for WiFi, Ethernet, Cellular,
24 Bluetooth/WiFi-Direct, and VPN connections in a single file format, in order
25 to simplify and automate network configuration for users.
32 Configuring networks is a painful and error-prone experience for users. It
33 is a problem shared across desktop, laptop, tablet, and phone users of all
34 operating system types. It is exacerbated in business and schools which
35 often have complex network configurations (VPNs and
802.1X networking) that
36 change often and have many connected devices. Configuration of WiFi is
37 still done manually, often by administrators physically standing next to
38 users working on devices. Certificate distribution is particularly painful
39 which often results in admins instead using passphrases to protect networks
40 or using protocols without client certificates that instead use LDAP
41 passwords for authentication. Even after networks are configured, updates to
42 the network configuration require another round of manual changes, and
43 accidental changes by a user or malicious changes by an attacker can break
44 connectivity or make connections less private or secure.
50 We propose a single-file format for network configuration that is
51 human-readable, can describe all of the common kinds of network
52 configurations, supports integrity checking, certificate and key
53 provisioning, and updating. The file can be encrypted with a single
54 passphrase so that upon entering the passphrase the entire configuration is
55 loaded. The format can be described as an open format to enable multiple OS
56 vendors to interoperate and share configuration editors.
60 This format neither supports configuring browser settings nor allows setting
61 other types of system policies.
66 <h1>Infrastructure
</h1>
68 A standalone configuration editor will be created, downloadable as a Chrome
69 app. This editor will allow creating, modifying, and encrypting an open
70 network configuration file in a way that is intuitive for a system
75 This file format may be delivered to a user and manually imported into a
80 This file format may be created by an administrator, stored in a policy
81 repository, and automatically pushed to a device.
88 <h1>Detailed Design
</h1>
90 We use JSON format for the files. The fields in a JSON file are always
91 case-sensitive, so the exact case of the fields in this section must be
92 matched. In addition, the values that are called out as explicit constants
93 must also match the case specified (e.g. WiFi must not be written as wifi,
94 etc.). This document describes a minimum set of required fields and optional
95 fields. Other fields may be created, however, see the
96 implementation-specific fields for guidelines for these fields.
100 The JSON consists of a top level dictionary containing
101 a
<span class=
"field">Type
</span> field which must have either the
102 value
<span class=
"value">EncryptedConfiguration
</span>
103 or
<span class=
"value">UnencryptedConfiguration
</span>.
107 For a description of the
<span class=
"type">EncryptedConfiguration
</span>
108 type, see the section on Encrypted Configuration
109 below. The
<span class=
"type">EncryptedConfiguration
</span> format encrypts
110 an unencrypted JSON object.
114 <h1>GUIDs and Updating
</h1>
116 This format allows for importing updated network configurations and
117 certificates by providing GUIDs to each network configuration and
118 certificate so they can be modified or even removed in future updates.
122 GUIDs are non-empty strings that are meant to be stable and unique. When
123 they refer to the same entity, they should be the same between ONC files. No
124 two different networks or certificates should have the same GUID, similarly
125 a network and certificate should not have the same GUID. A single ONC file
126 should not contain the same entity twice (with the same GUID). Failing any
127 of these tests indicates the ONC file is not valid.
131 Any GUID referred to in an ONC file must be present in the same ONC file. In
132 particular, it is an error to create a certificate in one ONC file and refer
133 to it in a NetworkConfiguration in another ONC file and not define it there,
134 even if the previous ONC file has been imported.
139 <h1>Implementation-specific fields
</h1>
141 As there are many different kinds of connections and some that are not yet
142 anticipated may require new fields. This format allows arbitrary other
147 Fields and values should follow these general guidelines:
152 Certificates (with and without keys) should always be placed in the
153 certificate section - specifically certificate contents should not be
154 placed in fields directly. Referring to certificates should be done using
155 a field whose name ends in Ref and whose value is the GUID of the
156 certificate, or if the certificate is not contained in this file, its
157 pattern can be described using a field ending in Pattern of
158 <span class=
"type">CertificatePattern
</span> type.
161 Fields should exist in the most-specific object in the hierarchy and
162 should be named CamelCase style.
165 Booleans and integers should be used directly instead of using a
166 stringified version of the type.
171 Any editor of network configuration information should allows the user to
172 modify any fields that are implementation-specific. It may not be present
173 directly in the UI but it should be able to import files with such settings
174 and leave preserve these settings on export.
179 <h1>Unencrypted Configuration
</h1>
181 When the top level
<span class=
"field">Type
</span> field
182 is
<span class=
"value">UnencryptedConfiguration
</span>, the top level JSON
183 has the
<span class=
"type">UnencryptedConfiguration
</span>
184 type.
<span class=
"type">UnencryptedConfiguration
</span> type contains the
188 <dl class=
"field_list">
189 <dt class=
"field">Type
</dt>
191 <span class=
"field_meta">
192 (optional, defaults to
<span class=
"value">UnencryptedConfiguration
194 <span class=
"type">string
</span>
196 Must be
<span class=
"value">UnencryptedConfiguration
</span>.
199 <dt class=
"field">NetworkConfigurations
</dt>
201 <span class=
"field_meta">
203 <span class=
"type">array of NetworkConfiguration
</span>
205 Describes WiFi, Ethernet, VPN, and wireless connections.
208 <dt class=
"field">Certificates
</dt>
210 <span class=
"field_meta">
212 <span class=
"type">array of Certificate
</span>
214 Contains certificates stored in X
.509 or PKCS#
12 format.
218 At least one actual configuration field
219 (
<span class=
"field">NetworkConfigurations
</span> or
220 <span class=
"field">Certificates
</span>) should be present, however it should
221 not be considered an error if no such field is present.
224 <h1>Network Configuration
</h1>
226 Field
<span class=
"field">NetworkConfigurations
</span> is an array
227 of
<span class=
"type">NetworkConfiguration
</span> typed
228 objects. The
<span class=
"type">NetworkConfiguration
</span> type contains
232 <dl class=
"field_list">
233 <dt class=
"field">Ethernet
</dt>
235 <span class=
"field_meta">
236 (required if
<span class=
"field">Type
</span> is
237 <span class=
"value">Ethernet
</span>, otherwise ignored)
238 <span class=
"type">Ethernet
</span>
243 <dt class=
"field">GUID
</dt>
245 <span class=
"field_meta">
247 <span class=
"type">string
</span>
249 A unique identifier for this network connection, which exists to make it
250 possible to update previously imported configurations. Must be a non-empty
254 <dt class=
"field">IPAddressConfigType
</dt>
256 <span class=
"field_meta">
257 (optional if
<span class=
"field">Remove
</span> is
258 <span class=
"value">false
</span>, otherwise ignored. Defaults to
259 <span class=
"value">DHCP
</span> if
260 <span class=
"field">NameServersConfigType
</span> is specified)
261 <span class=
"type">string
</span>
264 <span class=
"rule_id"></span>
265 Allowed values are
<span class=
"value">DHCP
</span> and
266 <span class=
"value">Static
</span>.
268 Determines whether the IP Address configuration is statically configured,
269 see
<span class=
"field">StaticIPConfig
</span>, or automatically configured
273 <dt class=
"field">NameServersConfigType
</dt>
275 <span class=
"field_meta">
276 (optional if
<span class=
"field">Remove
</span> is
277 <span class=
"value">false
</span>, otherwise ignored. Defaults to
278 <span class=
"value">DHCP
</span> if
279 <span class=
"field">IPAddressConfigType
</span> is specified)
280 <span class=
"type">string
</span>
283 <span class=
"rule_id"></span>
284 Allowed values are
<span class=
"value">DHCP
</span> and
285 <span class=
"value">Static
</span>.
287 Determines whether the NameServers configuration is statically configured,
288 see
<span class=
"field">StaticIPConfig
</span>, or automatically configured
292 <dt class=
"field">IPConfigs
</dt>
294 <span class=
"field_meta">
295 (optional for connected networks, read-only)
296 <span class=
"type">array of IPConfig
</span>
298 Array of IPConfig properties associated with this connection.
301 <dt class=
"field">StaticIPConfig
</dt>
303 <span class=
"field_meta">
304 (required if
<span class=
"field">IPAddressConfigType
</span> or
305 <span class=
"field">NameServersConfigType
</span> is set to
306 <span class=
"value">Static
</span>)
307 <span class=
"type">IPConfig
</span>
309 Each property set in this IPConfig object overrides the respective
310 parameter received over DHCP.
311 If
<span class=
"field">IPAddressConfigType
</span> is set to
312 <span class=
"value">Static
</span>,
<span class=
"field">IPAddress
</span>
313 and
<span class=
"field">Gateway
</span> are required.
314 If
<span class=
"field">NameServersConfigType
</span> is set to
315 <span class=
"value">Static
</span>,
<span class=
"field">NameServers
</span>
319 <dt class=
"field">SavedIPConfig
</dt>
321 <span class=
"field_meta">
322 (optional for connected networks, read-only)
323 <span class=
"type">IPConfig
</span>
325 IPConfig property containing the configuration that was received from the
326 DHCP server prior to applying any StaticIPConfig parameters.
329 <dt class=
"field">Name
</dt>
331 <span class=
"field_meta">
332 (required if
<span class=
"field">Remove
</span> is
333 <span class=
"value">false
</span>, otherwise ignored)
334 <span class=
"type">string
</span>
336 A user-friendly description of this connection. This name will not be used
337 for referencing and may not be unique. Instead it may be used for
338 describing the network to the user.
341 <dt class=
"field">Remove
</dt>
343 <span class=
"field_meta">
344 (optional, defaults to
<span class=
"value">false
</span>)
345 <span class=
"type">boolean
</span>
347 If set, remove this network configuration (only GUID should be set).
350 <dt class=
"field">ProxySettings
</dt>
352 <span class=
"field_meta">
353 (optional if
<span class=
"field">Remove
</span> is
354 <span class=
"value">false
</span>, otherwise ignored)
355 <span class=
"type">ProxySettings
</span>
357 Proxy settings for this network
360 <dt class=
"field">VPN
</dt>
362 <span class=
"field_meta">
363 (required if
<span class=
"field">Type
</span> is
364 <span class=
"value">VPN
</span>, otherwise ignored)
365 <span class=
"type">VPN
</span>
370 <dt class=
"field">WiFi
</dt>
372 <span class=
"field_meta">
373 (required if
<span class=
"field">Type
</span> is
374 <span class=
"value">WiFi
</span>, otherwise ignored)
375 <span class=
"type">WiFi
</span>
380 <dt class=
"field">WiMAX
</dt>
382 <span class=
"field_meta">
383 (required if
<span class=
"field">Type
</span> is
384 <span class=
"value">WiMAX
</span>, otherwise ignored)
385 <span class=
"type">WiMAX
</span>
390 <dt class=
"field">Cellular
</dt>
392 <span class=
"field_meta">
393 (required if
<span class=
"field">Type
</span> is
394 <span class=
"value">Cellular
</span>, otherwise ignored)
395 <span class=
"type">Cellular
</span>
400 <dt class=
"field">Type
</dt>
402 <span class=
"field_meta">
403 (required if
<span class=
"field">Remove
</span> is
404 <span class=
"value">false
</span>, otherwise ignored)
405 <span class=
"type">string
</span>
408 <span class=
"rule_id"></span>
409 Allowed values are
<span class=
"value">Cellular
</span>,
410 <span class=
"value">Ethernet
</span>,
<span class=
"value">WiFi
</span>,
411 <span class=
"value">Cellular
</span> and
<span class=
"value">VPN
</span>.
413 Indicates which kind of connection this is.
416 <dt class=
"field">ConnectionState
</dt>
418 <span class=
"field_meta">
419 (optional, read-only)
420 <span class=
"type">string
</span>
422 The current connection state for this network, provided by the system.
424 <span class=
"rule_id"></span>
426 <span class=
"value">Connected
</span>,
427 <span class=
"value">Connecting
</span>,
428 <span class=
"value">NotConnected
</span>
432 <dt class=
"field">RestrictedConnectivity
</dt>
434 <span class=
"field_meta">
435 (optional, defaults to
<span class=
"value">false
</span>, read-only)
436 <span class=
"type">boolean
</span>
438 True if a connnected network has limited connectivity to the Internet,
439 e.g. a connection is behind a portal or a cellular network is not
440 activated or requires payment.
443 <dt class=
"field">Connectable
</dt>
445 <span class=
"field_meta">
446 (optional, read-only)
447 <span class=
"type">boolean
</span>
449 True if the system indicates that the network can be connected to without
450 any additional configuration.
453 <dt class=
"field">ErrorState
</dt>
455 <span class=
"field_meta">
456 (optional, read-only)
457 <span class=
"type">string
</span>
459 The current error state for this network, if any. Error states are
460 provided by the system and are not explicitly defined here. They may or
461 may not be human-readable. This field will be empty or absent if the
462 network is not in an error state.
465 <dt class=
"field">MacAddress
</dt>
467 <span class=
"field_meta">
468 (optional, read-only)
469 <span class=
"type">string
</span>
471 The MAC address for the network. Only applies to connected non-virtual
472 networks. The format is
00:
11:
22:AA:BB:CC.
475 <dt class=
"field">Source
</dt>
477 <span class=
"field_meta">
478 (optional, read-only)
479 <span class=
"type">string
</span>
481 Indicates whether the network is configured and how it is configured:
483 <li><span class=
"value">User
</span>: Configured for the active
484 user only, i.e. an unshared configuration.
</li>
485 <li><span class=
"value">Device
</span>: Configured for all users of the
486 device (e.g laptop), i.e. a shared configuration.
</li>
487 <li><span class=
"value">UserPolicy
</span>: Configured by the user
488 policy for the active user.
</li>
489 <li><span class=
"value">DevicePolicy
</span>: Configured by the device
490 policy for the device.
</li>
491 <li><span class=
"value">None
</span>: Not configured, e.g. a visible
492 but unconfigured WiFi network.
</li>
495 <span class=
"rule_id"></span>
497 <span class=
"value">User
</span>,
498 <span class=
"value">Device
</span>,
499 <span class=
"value">UserPolicy
</span>,
500 <span class=
"value">DevicePolicy
</span>,
501 <span class=
"value">None
</span>
505 <dt class=
"field">Priority
</dt>
507 <span class=
"field_meta">
509 <span class=
"type">integer
</span>
511 Provides a suggested priority value for this network. May be used by the
512 system to determine which network to connect to when multiple configured
513 networks are available (or may be ignored).
519 <h1>Ethernet networks
</h1>
521 For Ethernet connections,
<span class=
"field">Type
</span> must be set to
522 <span class=
"value">Ethernet
</span> and the
523 field
<span class=
"field">Ethernet
</span> must be set to an object of
524 type
<span class=
"type">Ethernet
</span> containing the following fields:
527 <dl class=
"field_list">
528 <dt class=
"field">Authentication
</dt>
530 <span class=
"field_meta">
532 <span class=
"type">string
</span>
535 <span class=
"rule_id"></span>
536 Allowed values are
<span class=
"value">None
</span> and
537 <span class=
"value">8021X
</span>.
541 <dt class=
"field">EAP
</dt>
543 <span class=
"field_meta">
544 (required if
<span class=
"field">Authentication
</span> is
545 <span class=
"value">8021X
</span>, otherwise ignored)
546 <span class=
"type">EAP
</span>
556 Objects of type
<span class=
"type">IPConfig
</span> are used to report the
557 actual IP configuration of a connected network (see
558 <span class=
"field">IPConfigs
</span>), the IP configuration received from
559 DHCP (see
<span class=
"field">SavedIPConfig
</span>) and to configure a
560 static IP configuration (see
<span class=
"field">StaticIPConfig
</span>).
563 <dl class=
"field_list">
564 <dt class=
"field">Type
</dt>
566 <span class=
"field_meta">
568 <span class=
"type">string
</span>
571 <span class=
"rule_id"></span>
572 Allowed values are
<span class=
"value">IPv4
</span>
573 and
<span class=
"value">IPv6
</span>
575 Describes the type of configuration this is.
578 <dt class=
"field">IPAddress
</dt>
580 <span class=
"field_meta">
582 <span class=
"type">string
</span>
584 Describes the IPv4 or IPv6 address of a connection, depending on the value
585 of
<span class=
"field">Type
</span> field. It should not contain the
586 routing prefix (i.e. should not end in something like /
64).
589 <dt class=
"field">RoutingPrefix
</dt>
591 <span class=
"field_meta">
592 (required if
<span class=
"field">IPAddress
</span> is set. Otherwise
594 <span class=
"type">integer
</span>
597 <span class=
"rule_id"></span>
598 Must be a number in the range [
1,
32] for IPv4 and [
1,
128] for IPv6
601 Describes the routing prefix.
604 <dt class=
"field">Gateway
</dt>
606 <span class=
"field_meta">
607 (required if
<span class=
"field">IPAddress
</span> is set. Otherwise
609 <span class=
"type">string
</span>
611 Describes the gateway address to use for the configuration. Must match
612 address type specified in
<span class=
"field">Type
</span> field. If not
613 specified, DHCP values will be used.
616 <dt class=
"field">NameServers
</dt>
618 <span class=
"field_meta">
620 <span class=
"type">array of string
</span>
622 Array of addresses to use for name servers. Address format must match that
623 specified in the
<span class=
"field">Type
</span> field. If not specified,
624 DHCP values will be used.
627 <dt class=
"field">SearchDomains
</dt>
629 <span class=
"field_meta">
631 <span class=
"type">array of string
</span>
633 Array of strings to append to names for resolution. Items in this array
634 should not start with a dot. Example:
<span class=
"snippet">[
635 "corp.acme.org",
"acme.org" ]
</span>. If not specified, DHCP values will
639 <dt class=
"field">WebProxyAutoDiscoveryUrl
</dt>
641 <span class=
"field_meta">
642 (optional if part of
<span class=
"field">IPConfigs
</span>, read-only)
643 <span class=
"type">string
</span>
645 The Web Proxy Auto-Discovery URL for this network as reported over DHCP.
652 <h1>WiFi networks
</h1>
654 For WiFi connections,
<span class=
"field">Type
</span> must be set to
655 <span class=
"value">WiFi
</span> and the
656 field
<span class=
"field">WiFi
</span> must be set to an object of
657 type
<span class=
"type">WiFi
</span> containing the following fields:
660 <dl class=
"field_list">
661 <dt class=
"field">AllowGatewayARPPolling
</dt>
663 <span class=
"field_meta">
664 (optional, defaults to
<span class=
"value">true
</span>)
665 <span class=
"type">boolean
</span>
667 Indicaties if ARP polling of default gateway is allowed.
668 When it is allowed, periodic ARP messages will be sent to
669 the default gateway. This is used for monitoring the status
670 of the current connection.
673 <dt class=
"field">AutoConnect
</dt>
675 <span class=
"field_meta">
676 (optional, defaults to
<span class=
"value">false
</span>)
677 <span class=
"type">boolean
</span>
679 Indicating that the network should be connected to automatically when in
683 <dt class=
"field">EAP
</dt>
685 <span class=
"field_meta">
686 (required if
<span class=
"field">Security
</span> is
687 <span class=
"value">WEP-
8021X
</span> or
688 <span class=
"value">WPA-EAP
</span>, otherwise ignored)
689 <span class=
"type">EAP
</span>
694 <dt class=
"field">HexSSID
</dt>
696 <span class=
"field_meta">
697 (optional if
<span class=
"field">SSID
</span> is set, if so defaults to
698 a hex representation of
<span class=
"field">SSID
</span>)
699 <span class=
"type">string
</span>
701 Hex representation of the network's SSID.
704 <dt class=
"field">HiddenSSID
</dt>
706 <span class=
"field_meta">
707 (optional, defaults to
<span class=
"value">false
</span>)
708 <span class=
"type">boolean
</span>
710 Indicating if the SSID will be broadcast.
713 <dt class=
"field">Passphrase
</dt>
715 <span class=
"field_meta">
716 (required if
<span class=
"field">Security
</span> is
717 <span class=
"value">WEP-PSK
</span> or
718 <span class=
"value">WPA-PSK
</span>, otherwise ignored)
719 <span class=
"type">string
</span>
721 Describes the passphrase for WEP/WPA/WPA2
722 connections. If
<span class=
"value">WEP-PSK
</span> is used, the passphrase
723 must be of the format
0x
<hex-number
>, where
<hex-number
> is
724 40,
104,
128, or
232 bits.
727 <dt class=
"field">RoamThreshold
</dt>
729 <span class=
"field_meta">
731 <span class=
"type">integer
</span>
733 The roam threshold for this network, which is the signal-to-noise value
734 (in dB) below which we will attempt to roam to a new network. If this
735 value is not set, the default value will be used.
738 <dt class=
"field">Security
</dt>
740 <span class=
"field_meta">
742 <span class=
"type">string
</span>
745 <span class=
"rule_id"></span>
746 Allowed values are
<span class=
"value">None
</span>,
747 <span class=
"value">WEP-PSK
</span>,
748 <span class=
"value">WEP-
8021X
</span>,
749 <span class=
"value">WPA-PSK
</span>, and
750 <span class=
"value">WPA-EAP
</span>.
754 <dt class=
"field">SSID
</dt>
756 <span class=
"field_meta">
757 (optional if
<span class=
"field">HexSSID
</span> is set, otherwise
759 <span class=
"type">string
</span>
761 Property to access the decoded SSID of a network.
<br/>
762 If this field is set, but
<span class=
"field">HexSSID
</span> is not,
763 its value will be UTF-
8 encoded and the hex representation will be
764 assigned to
<span class=
"field">HexSSID
</span>. To configure a non-UTF-
8
765 SSID, field
<span class=
"field">HexSSID
</span> must be used.
<br/>
766 When reading the configuration of a network, both this field and
767 <span class=
"field">HexSSID
</span> might be set. Then this field is the
768 decoding of
<span class=
"field">HexSSID
</span>. If possible the HexSSID is
769 decoded using UTF-
8, otherwise an encoding is guessed on a best effort
773 <dt class=
"field">SignalStrength
</dt>
775 <span class=
"field_meta">
776 (optional, read-only)
777 <span class=
"type">integer
</span>
779 The current signal strength for this network in the range [
0,
100],
780 provided by the system. If the network is not in range this field will
781 be set to '
0' or not present.
785 <span class=
"rule_id"></span>
786 At least one of the fields
<span class=
"field">HexSSID
</span> or
787 <span class=
"field">SSID
</span> must be present. If both
788 <span class=
"field">HexSSID
</span> and
<span class=
"field">SSID
</span>
789 are set, the values must be consistent.
795 <h1>VPN networks
</h1>
797 There are many kinds of VPNs with widely varying configuration options. We
798 offer standard configuration options for a few common configurations at this
799 time, and may add more later. For all others, implementation specific fields
804 For VPN connections,
<span class=
"field">Type
</span> must be set
805 to
<span class=
"value">VPN
</span> and the
806 field
<span class=
"field">VPN
</span> must be set to an object of
807 type
<span class=
"type">VPN
</span> containing the following fields:
810 <dl class=
"field_list">
811 <dt class=
"field">AutoConnect
</dt>
813 <span class=
"field_meta">
814 (optional, defaults to
<span class=
"value">false
</span>)
815 <span class=
"type">boolean
</span>
817 Indicating that the network should be connected to automatically.
820 <dt class=
"field">Host
</dt>
822 <span class=
"field_meta">
824 <span class=
"type">string
</span>
826 Host name or IP address of server to connect to. The only scenario that
827 does not require a host is a VPN that encrypts but does not tunnel
828 traffic. Standalone IPsec (v1 or v2, cert or PSK based -- this is not the
829 same as L2TP over IPsec) is one such setup. For all other types of VPN,
830 the
<span class=
"field">Host
</span> field is required.
833 <dt class=
"field">IPsec
</dt>
835 <span class=
"field_meta">
836 (required if
<span class=
"field">Type
</span> is
837 <span class=
"value">IPsec
</span> or
838 <span class=
"value">L2TP-IPsec
</span>, otherwise ignored)
839 <span class=
"type">IPsec
</span>
841 IPsec layer settings.
844 <dt class=
"field">L2TP
</dt>
846 <span class=
"field_meta">
847 (required if
<span class=
"field">Type
</span> is
848 <span class=
"value">L2TP-IPsec
</span>, otherwise ignored)
849 <span class=
"type">L2TP
</span>
854 <dt class=
"field">OpenVPN
</dt>
856 <span class=
"field_meta">
857 (required if
<span class=
"field">Type
</span> is
858 <span class=
"value">OpenVPN
</span>, otherwise ignored)
859 <span class=
"type">OpenVPN
</span>
864 <dt class=
"field">ThirdPartyVPN
</dt>
866 <span class=
"field_meta">
867 (required if
<span class=
"field">Type
</span> is
868 <span class=
"value">ThirdPartyVPN
</span>, otherwise ignored)
869 <span class=
"type">ThirdPartyVPN
</span>
871 Third-party VPN provider settings.
874 <dt class=
"field">Type
</dt>
876 <span class=
"field_meta">
878 <span class=
"type">string
</span>
881 <span class=
"rule_id"></span>
882 Allowed values are
<span class=
"value">IPsec
</span>,
883 <span class=
"value">L2TP-IPsec
</span>,
884 <span class=
"value">OpenVPN
</span>, and
885 <span class=
"value">ThirdPartyVPN
</span>.
892 <h1>IPsec-based VPN types
</h1>
894 The
<span class=
"type">IPsec
</span> type contains the following:
897 <dl class=
"field_list">
898 <dt class=
"field">AuthenticationType
</dt>
900 <span class=
"field_meta">
902 <span class=
"type">string
</span>
905 <span class=
"rule_id"></span>
906 Allowed values are
<span class=
"value">PSK
</span> and
907 <span class=
"value">Cert
</span>. If
<span class=
"value">Cert
</span> is used,
<span class=
"field">ClientCertType
</span> and
<span class=
"field">ServerCARefs
</span> (or the deprecated
<span class=
"field">ServerCARef
</span>) must be set.
911 <dt class=
"field">ClientCertPattern
</dt>
913 <span class=
"field_meta">
914 (required if
<span class=
"field">ClientCertType
</span>
915 is
<span class=
"value">Pattern
</span>, otherwise ignored)
916 <span class=
"type">CertificatePattern
</span>
918 Pattern describing the client certificate.
921 <dt class=
"field">ClientCertRef
</dt>
923 <span class=
"field_meta">
924 (required if
<span class=
"field">ClientCertType
</span>
925 is
<span class=
"value">Ref
</span>, otherwise ignored)
926 <span class=
"type">string
</span>
928 Reference to client certificate stored in certificate section.
931 <dt class=
"field">ClientCertType
</dt>
933 <span class=
"field_meta">
934 (required if
<span class=
"field">AuthenticationType
</span>
935 is
<span class=
"value">Cert
</span>, otherwise ignored)
936 <span class=
"type">string
</span>
939 <span class=
"rule_id"></span>
940 Allowed values are
<span class=
"value">Ref
</span> and
941 <span class=
"value">Pattern
</span>
945 <dt class=
"field">EAP
</dt>
947 <span class=
"field_meta">
948 (optional if
<span class=
"field">IKEVersion
</span> is
2, otherwise
950 <span class=
"type">EAP
</span>
952 Indicating that EAP authentication should be used with the provided
956 <dt class=
"field">Group
</dt>
958 <span class=
"field_meta">
959 (optional if
<span class=
"field">IKEVersion
</span> is
1, otherwise
961 <span class=
"type">string
</span>
963 Group name used for machine authentication.
966 <dt class=
"field">IKEVersion
</dt>
968 <span class=
"field_meta">
970 <span class=
"type">integer
</span>
972 Version of IKE protocol to use.
975 <dt class=
"field">PSK
</dt>
977 <span class=
"field_meta">
978 (optional if
<span class=
"field">AuthenticationType
</span>
979 is
<span class=
"value">PSK
</span>, otherwise ignored)
980 <span class=
"type">string
</span>
982 Pre-Shared Key. If not specified, user is prompted at time of
986 <dt class=
"field">SaveCredentials
</dt>
988 <span class=
"field_meta">
989 (optional if
<span class=
"field">AuthenticationType
</span>
990 is
<span class=
"value">PSK
</span>, otherwise ignored, defaults
991 to
<span class=
"value">false
</span>)
992 <span class=
"type">boolean
</span>
994 If
<span class=
"value">false
</span>, require user to enter credentials
995 (PSK) each time they connect.
998 <dt class=
"field">ServerCARefs
</dt>
1000 <span class=
"field_meta">
1001 (optional if
<span class=
"field">AuthenticationType
</span>
1002 is
<span class=
"value">Cert
</span>, otherwise rejected)
1003 <span class=
"type">array of string
</span>
1005 Non-empty list of references to CA certificates in
<span class=
"field">Certificates
</span> to be used for verifying the host's certificate chain. At least one of the CA certificates must match. If this field is set,
<span class=
"field">ServerCARef
</span> must be unset.
1008 <dt class=
"field">ServerCARef
</dt>
1010 <span class=
"field_meta">
1011 (optional if
<span class=
"field">AuthenticationType
</span>
1012 is
<span class=
"value">Cert
</span>, otherwise rejected)
1013 <span class=
"type">string
</span>
1015 DEPRECATED, use
<span class=
"field">ServerCARefs
</span> instead.
<br/>
1016 Reference to a CA certificate in
<span class=
"field">Certificates
</span>. Certificate authority to use for verifying connection. If this field is set,
<span class=
"field">ServerCARefs
</span> must be unset.
1019 <dt class=
"field">XAUTH
</dt>
1021 <span class=
"field_meta">
1022 (optional if
<span class=
"field">IKEVersion
</span> is
1, otherwise
1024 <span class=
"type">XAUTH
</span>
1026 Describing XAUTH credentials. XAUTH is not used if this object is not
1032 <span class=
"rule_id"></span>
1033 If
<span class=
"field">AuthenticationType
</span> is set to
<span class=
"value">Cert
</span>,
<span class=
"field">ServerCARefs
</span> or
<span class=
"field">ServerCARef
</span> must be set.
1037 <span class=
"rule_id"></span>
1038 At most one of
<span class=
"field">ServerCARefs
</span> and
<span class=
"field">ServerCARef
</span> can be set.
1042 <span class=
"type">L2TP
</span> type contains the following:
1045 <dl class=
"field_list">
1046 <dt class=
"field">LcpEchoDisabled
</dt>
1048 <span class=
"field_meta">
1049 (optional, defaults to
<span class=
"value">false
</span>)
1050 <span class=
"type">boolean
</span>
1052 Disable L2TP connection monitoring via PPP LCP frames. This
1053 allows the VPN client to work around server implementations
1054 that do not support the LCP echo feature.
1057 <dt class=
"field">Password
</dt>
1059 <span class=
"field_meta">
1061 <span class=
"type">string
</span>
1063 User authentication password. If not specified, user is prompted at time
1067 <dt class=
"field">SaveCredentials
</dt>
1069 <span class=
"field_meta">
1070 (optional, defaults to
<span class=
"value">false
</span>)
1071 <span class=
"type">boolean
</span>
1073 If
<span class=
"value">false
</span>, require user to enter credentials
1074 each time they connect.
1077 <dt class=
"field">Username
</dt>
1079 <span class=
"field_meta">
1081 <span class=
"type">string
</span>
1083 User identity. This value is subject to string expansions. If not
1084 specified, user is prompted at time of connection.
1089 <span class=
"type">XAUTH
</span> type contains the following:
1092 <dl class=
"field_list">
1093 <dt class=
"field">Password
</dt>
1095 <span class=
"field_meta">
1097 <span class=
"type">string
</span>
1099 XAUTH password. If not specified, user is prompted at time of
1103 <dt class=
"field">SaveCredentials
</dt>
1105 <span class=
"field_meta">
1106 (optional, defaults to
<span class=
"value">false
</span>)
1107 <span class=
"type">boolean
</span>
1109 If
<span class=
"value">false
</span>, require user to enter credentials
1110 each time they connect.
1113 <dt class=
"field">Username
</dt>
1115 <span class=
"field_meta">
1117 <span class=
"type">string
</span>
1119 XAUTH user name. This value is subject to string expansions. If not
1120 specified, user is prompted at time of connection.
1125 <h1>IPsec IKE v1 VPN connections
</h1>
1127 <span class=
"field">VPN.Type
</span> must
1128 be
<span class=
"value">IPsec
</span>,
<span class=
"field">IKEVersion
</span>
1129 must be
1. Do not use this for L2TP over IPsec. This may be used for
1130 machine-authentication-only IKEv1 or for IKEv1 with XAUTH. See
1131 the
<span class=
"type">IPsec
</span> type described below.
1136 <h1>IPsec IKE v2 VPN connections
</h1>
1138 <span class=
"field">VPN.Type
</span> must
1139 be
<span class=
"value">IPsec
</span>,
<span class=
"field">IKEVersion
</span>
1140 must be
2. This may be used with EAP-based user authentication.
1145 <h1>L2TP over IPsec VPN connections
</h1>
1147 There are two major configurations L2TP over IPsec which depend on how IPsec
1148 is authenticated. In either case
<span class=
"field">Type
</span> must be
1149 <span class=
"value">L2TP-IPsec
</span>. They are described below.
1153 L2TP over IPsec with pre-shared key:
1157 <li>The field
<span class=
"field">IPsec
</span> must be present and have the
1160 <li><span class=
"field">IKEVersion
</span> must be
1.
</li>
1161 <li><span class=
"field">AuthenticationType
</span> must be PSK.
</li>
1162 <li><span class=
"field">XAUTH
</span> must not be set.
</li>
1165 <li>The field
<span class=
"field">L2TP
</span> must be present.
</li>
1172 <h1>OpenVPN connections and types
</h1>
1174 <span class=
"field">VPN.Type
</span> must be
1175 <span class=
"value">OpenVPN
</span>.
1179 <span class=
"type">OpenVPN
</span> type contains the following:
1182 <dl class=
"field_list">
1183 <dt class=
"field">Auth
</dt>
1185 <span class=
"field_meta">
1186 (optional, defaults to
<span class=
"value">SHA1
</span>)
1187 <span class=
"type">string
</span>
1191 <dt class=
"field">AuthRetry
</dt>
1193 <span class=
"field_meta">
1194 (optional, defaults to
<span class=
"value">none
</span>)
1195 <span class=
"type">string
</span>
1198 <span class=
"rule_id"></span>
1199 Allowed values are
<span class=
"value">none
</span>,
1200 <span class=
"value">nointeract
</span>, and
1201 <span class=
"value">interact
</span>.
1203 Controls how OpenVPN responds to username/password verification
1204 errors:
<br> Either fail with error on retry
1205 (
<span class=
"value">none
</span>), retry without asking for authentication
1206 (
<span class=
"value">nointeract
</span>), or ask again for authentication
1207 each time (
<span class=
"value">interact
</span>).
1210 <dt class=
"field">AuthNoCache
</dt>
1212 <span class=
"field_meta">
1213 (optional, defaults to
<span class=
"value">false
</span>)
1214 <span class=
"type">boolean
</span>
1216 Disable caching of credentials in memory.
1219 <dt class=
"field">Cipher
</dt>
1221 <span class=
"field_meta">
1222 (optional, defaults to
<span class=
"value">BF-CBC
</span>)
1223 <span class=
"type">string
</span>
1228 <dt class=
"field">ClientCertRef
</dt>
1230 <span class=
"field_meta">
1231 (required if
<span class=
"field">ClientCertType
</span> is
1232 <span class=
"value">Ref
</span>, otherwise ignored)
1233 <span class=
"type">string
</span>
1235 Reference to client certificate stored in certificate section.
1238 <dt class=
"field">ClientCertPattern
</dt>
1240 <span class=
"field_meta">
1241 (required if
<span class=
"field">ClientCertType
</span> is
1242 <span class=
"value">Pattern
</span>, otherwise ignored)
1243 <span class=
"type">CertificatePattern
</span>
1245 Pattern to use to find the client certificate.
1248 <dt class=
"field">ClientCertType
</dt>
1250 <span class=
"field_meta">
1252 <span class=
"type">string
</span>
1255 <span class=
"rule_id"></span>
1256 Allowed values are
<span class=
"value">Ref
</span>,
1257 <span class=
"value">Pattern
</span>, and
<span class=
"value">None
</span>.
1259 <span class=
"value">None
</span> implies that the server is configured to
1260 not require client certificates.
1263 <dt class=
"field">CompLZO
</dt>
1265 <span class=
"field_meta">
1266 (optional, defaults to
<span class=
"value">adaptive
</span>)
1267 <span class=
"type">string
</span>
1269 Decides to fast LZO compression with
<span class=
"value">true
</span>
1270 and
<span class=
"value">false
</span> as other values.
1273 <dt class=
"field">CompNoAdapt
</dt>
1275 <span class=
"field_meta">
1276 (optional, defaults to
<span class=
"value">false
</span>)
1277 <span class=
"type">boolean
</span>
1279 Disables adaptive compression.
1282 <dt class=
"field">IgnoreDefaultRoute
</dt>
1284 <span class=
"field_meta">
1285 (optional, defaults to
<span class=
"value">false
</span>)
1286 <span class=
"type">bool
</span>
1288 Omits a default route to the VPN gateway while the connection is active.
1289 By default, the client creates a default route to the gateway address
1290 advertised by the VPN server. Setting this value to
1291 <span class=
"value">true
</span> will allow split tunnelling for
1292 configurations where the VPN server omits explicit default routes.
1293 This is roughly equivalent to omitting
"redirect-gateway" OpenVPN client
1294 configuration option. If the server pushes a
"redirect-gateway"
1295 configuration flag to the client, this option is ignored.
1298 <dt class=
"field">KeyDirection
</dt>
1300 <span class=
"field_meta">
1302 <span class=
"type">string
</span>
1304 Passed as --key-direction.
1307 <dt class=
"field">NsCertType
</dt>
1309 <span class=
"field_meta">
1311 <span class=
"type">string
</span>
1313 If set, checks peer certificate type. Should only be set
1314 to
<span class=
"value">server
</span> if set.
1317 <dt class=
"field">OTP
</dt>
1319 <span class=
"field_meta">
1320 (optional if
<span class=
"field">UserAuthenticationType
</span> is
1321 <span class=
"value">OTP
</span>,
1322 <span class=
"value">PasswordAndOTP
</span> or unset, otherwise ignored,
1323 defaults to empty string)
1324 <span class=
"type">string
</span>
1326 If
<span class=
"field">UserAuthenticationType
</span> is
1327 <span class=
"value">OTP
</span> or
<span class=
"value">PasswordAndOTP
</span>
1328 and this field is not set, the user will be asked for an OTP.
1329 The OTP is never persisted and must be provided on every connection
1333 <dt class=
"field">Password
</dt>
1335 <span class=
"field_meta">
1336 (optional if
<span class=
"field">UserAuthenticationType
</span> is
1337 <span class=
"value">Password
</span>,
1338 <span class=
"value">PasswordAndOTP
</span> or unset, otherwise ignored,
1339 defaults to empty string)
1340 <span class=
"type">string
</span>
1342 If
<span class=
"field">UserAuthenticationType
</span> is
1343 <span class=
"value">Password
</span> or
1344 <span class=
"value">PasswordAndOTP
</span> and this field is not set, the user
1345 will be asked for a password.
1346 If
<span class=
"field">SaveCredentials
</span> is
1347 <span class=
"value">true
</span>, the password is persisted for future
1348 connection attempts. Otherwise it is not persisted but might still be
1349 reused for consecutive connection attempts (opposed to an OTP, which will
1353 <dt class=
"field">Port
</dt>
1355 <span class=
"field_meta">
1356 (optional, defaults to
<span class=
"value">1194</span>)
1357 <span class=
"type">integer
</span>
1359 Port for connecting to server.
1362 <dt class=
"field">Proto
</dt>
1364 <span class=
"field_meta">
1365 (optional, defaults to
<span class=
"value">udp
</span>)
1366 <span class=
"type">string
</span>
1368 Protocol for communicating with server.
1371 <dt class=
"field">PushPeerInfo
</dt>
1373 <span class=
"field_meta">
1374 (optional, defaults to
<span class=
"value">false
</span>)
1375 <span class=
"type">boolean
</span>
1379 <dt class=
"field">RemoteCertEKU
</dt>
1381 <span class=
"field_meta">
1383 <span class=
"type">string
</span>
1385 Require that the peer certificate was signed with this explicit extended
1386 key usage in oid notation.
1389 <dt class=
"field">RemoteCertKU
</dt>
1391 <span class=
"field_meta">
1392 (optional, defaults to [])
1393 <span class=
"type">array of string
</span>
1395 Require the given array of key usage numbers. These are strings that are
1396 hex encoded numbers.
1399 <dt class=
"field">RemoteCertTLS
</dt>
1401 <span class=
"field_meta">
1402 (optional, defaults to
<span class=
"value">server
</span>)
1403 <span class=
"type">string
</span>
1406 <span class=
"rule_id"></span>
1407 Allowed values are
<span class=
"value">none
</span> and
1408 <span class=
"value">server
</span>.
1410 Require peer certificate signing based on RFC3280 TLS rules.
1413 <dt class=
"field">RenegSec
</dt>
1415 <span class=
"field_meta">
1416 (optional, defaults to
<span class=
"value">3600</span>)
1417 <span class=
"type">integer
</span>
1419 Renegotiate data channel key after this number of seconds.
1422 <dt class=
"field">SaveCredentials
</dt>
1424 <span class=
"field_meta">
1425 (optional, defaults to
<span class=
"value">false
</span>)
1426 <span class=
"type">boolean
</span>
1428 If
<span class=
"value">false
</span>, require user to enter credentials
1429 each time they connect.
1432 <dt class=
"field">ServerCARefs
</dt>
1434 <span class=
"field_meta">
1436 <span class=
"type">array of string
</span>
1438 Non-empty list of references to CA certificates in
<span class=
"field">Certificates
</span> to be used for verifying the host's certificate chain. At least one of the CA certificates must match. See also OpenVPN's command line option
"--ca". If this field is set,
<span class=
"field">ServerCARef
</span> must be unset.
1441 <dt class=
"field">ServerCARef
</dt>
1443 <span class=
"field_meta">
1445 <span class=
"type">string
</span>
1447 DEPRECATED, use
<span class=
"field">ServerCARefs
</span> instead.
<br/>
1448 Reference to a CA certificate in
<span class=
"field">Certificates
</span>. Certificate authority to use for verifying connection. If this field is set,
<span class=
"field">ServerCARefs
</span> must be unset.
1451 <dt class=
"field">ServerCertRef
</dt>
1453 <span class=
"field_meta">
1455 <span class=
"type">string
</span>
1457 Reference to a certificate. Peer's signed certificate.
1460 <dt class=
"field">ServerPollTimeout
</dt>
1462 <span class=
"field_meta">
1464 <span class=
"type">integer
</span>
1466 Spend no more than this number of seconds before trying the next server.
1469 <dt class=
"field">Shaper
</dt>
1471 <span class=
"field_meta">
1473 <span class=
"type">integer
</span>
1475 If not specified no bandwidth limiting, otherwise limit bandwidth of
1476 outgoing tunnel data to this number of bytes per second.
1479 <dt class=
"field">StaticChallenge
</dt>
1481 <span class=
"field_meta">
1483 <span class=
"type">string
</span>
1485 String is used in static challenge response. Note that echoing is always
1489 <dt class=
"field">TLSAuthContents
</dt>
1491 <span class=
"field_meta">
1493 <span class=
"type">string
</span>
1495 If not set, tls auth is not used. If set, this is the TLS Auth key
1496 contents (usually starts with
"-----BEGIN OpenVPN Static Key..."
1499 <dt class=
"field">TLSRemote
</dt>
1501 <span class=
"field_meta">
1503 <span class=
"type">string
</span>
1505 If set, only allow connections to server hosts with X509 name or common
1506 name equal to this string.
1509 <dt class=
"field">UserAuthenticationType
</dt>
1511 <span class=
"field_meta">
1512 (optional, defaults to
<span class=
"value">None
</span>)
1513 <span class=
"type">string
</span>
1516 <span class=
"rule_id"></span>
1517 Allowed values are
<span class=
"value">None
</span>,
1518 <span class=
"value">Password
</span>,
1519 <span class=
"value">PasswordAndOTP
</span> and
1520 <span class=
"value">OTP
</span>.
1522 Determines the required form of user authentication:
1524 <span class=
"value">PasswordAndOTP
</span>: This VPN requires a password
1525 and an OTP (possibly empty). Both will be send to the server in the
1526 'password' response using the SCRv1 encoding.
1528 <span class=
"value">Password
</span>: This VPN requires only a password,
1529 which will be send without modification to the server in the 'password'
1530 response (no CRv1 or SCRv1 encoding).
1532 <span class=
"value">OTP
</span>: This VPN requires only an OTP, which
1533 will be send without modification to the server in the 'password'
1534 response (no CRv1 or SCRv1 encoding).
1536 <span class=
"value">None
</span>: Neither password nor OTP are required.
1537 No password request from the server is expected.
1539 If not set, the user can provide a password and an OTP (both not
1540 mandatory) and the network manager will send both in the SCRv1 encoding,
1541 when the server sends a static-challenge. If the server does not send a
1542 static-challenge, the client will reply with only the password (without
1543 any encoding). This behavior is deprecated and new configurations should
1544 explicitly set one of the above values.
1546 See the fields
<span class=
"field">Password
</span> and
1547 <span class=
"field">OTP
</span> for configuring the password and OTP.
1550 <dt class=
"field">Username
</dt>
1552 <span class=
"field_meta">
1554 <span class=
"type">string
</span>
1556 OpenVPN user name. This value is subject to string expansions. If not
1557 specified, user is prompted at time of connection.
1560 <dt class=
"field">Verb
</dt>
1562 <span class=
"field_meta">
1564 <span class=
"type">string
</span>
1566 Verbosity level, defaults to OpenVpn's default if not specified.
1569 <dt class=
"field">VerifyHash
</dt>
1571 <span class=
"field_meta">
1573 <span class=
"type">string
</span>
1575 If set, this value is passed as the
"--verify-hash" argument to OpenVPN,
1576 which specifies the SHA1 fingerprint for the level-
1 certificate.
1579 <dt class=
"field">VerifyX509
</dt>
1581 <span class=
"field_meta">
1583 <span class=
"type">VerifyX509
</span>
1585 If set, the
"--verify-x509-name" argument is passed to OpenVPN with the values of this object and only connections will be accepted if a host's X
.509 name is equal to the given name.
1590 <span class=
"rule_id"></span>
1591 At most one of
<span class=
"field">ServerCARefs
</span> and
<span class=
"field">ServerCARef
</span> can be set.
1595 <span class=
"type">VerifyX509
</span> type contains the following:
1597 <dl class=
"field_list">
1598 <dt class=
"field">Name
</dt>
1600 <span class=
"field_meta">
1602 <span class=
"type">string
</span>
1604 The name that the host's X
.509 name is compared to. Which host name is compared depends on the value of
<span class=
"field">Type
</span>.
1607 <dt class=
"field">Type
</dt>
1609 <span class=
"field_meta">
1611 <span class=
"type">string
</span>
1613 Determines which of the host's X
.509 names will be verified. Allowed values are
<span class=
"value">name
</span>,
<span class=
"value">name-prefix
</span> and
<span class=
"value">subject
</span>. See OpenVPN's documentation for
"--verify-x509-name" for the meaning of each value. Defaults to OpenVPN's default if not specified.
1619 <h1>Third-party VPN provider based connections and types
</h1>
1621 <span class=
"field">VPN.Type
</span> must be
1622 <span class=
"value">ThirdPartyVPN
</span>.
1626 <span class=
"type">ThirdPartyVPN
</span> type contains the following:
1629 <dl class=
"field_list">
1630 <dt class=
"field">ExtensionID
</dt>
1632 <span class=
"field_meta">
1634 <span class=
"type">string
</span>
1636 The extension ID of the third-party VPN provider used by this network.
1638 <dt class=
"field">ProviderName
</dt>
1640 <span class=
"field_meta">
1641 (optional, read-only)
1642 <span class=
"type">string
</span>
1644 The name of the third-party VPN provider used by this network.
1652 <h1>Client certificate patterns
</h1>
1654 In order to allow clients to securely key their private keys and request
1655 certificates through PKCS#
10 format or through a web flow, we provide
1656 alternative CertificatePattern types. The
1657 <span class=
"type">CertificatePattern
</span> type contains the following:
1660 <dl class=
"field_list">
1661 <dt class=
"field">IssuerCARef
</dt>
1663 <span class=
"field_meta">
1665 <span class=
"type">array of string
</span>
1667 Array of references to certificates. At least one must have signed the
1671 <dt class=
"field">Issuer
</dt>
1673 <span class=
"field_meta">
1675 <span class=
"type">IssuerSubjectPattern
</span>
1677 Pattern to match the issuer X
.509 settings against. If not specified, the
1678 only checks done will be a signature check against
1679 the
<span class=
"field">IssuerCARef
</span> field. Issuer of the
1680 certificate must match this field exactly to match the pattern.
1683 <dt class=
"field">Subject
</dt>
1685 <span class=
"field_meta">
1687 <span class=
"type">IssuerSubjectPattern
</span>
1689 Pattern to match the subject X
.509 settings against. If not specified, the
1690 subject settings are not checked and any certificate matches. Subject of
1691 the certificate must match this field exactly to match the pattern.
1694 <dt class=
"field">EnrollmentURI
</dt>
1696 <span class=
"field_meta">
1698 <span class=
"type">array of string
</span>
1700 If no certificate matches this CertificatePattern, the first URI from this
1701 array with a recognized scheme is navigated to, with the intention this
1702 informs the user how to either get the certificate or gets the certificate
1703 for the user. For instance, the array may be [
1704 "chrome-extension://asakgksjssjwwkeielsjs/fetch-client-cert.html",
1705 "http://intra/connecting-to-wireless.html" ] so that for Chrome browsers a
1706 Chrome app or extension is shown to the user, but for other browsers, a
1712 The
<span class=
"type">IssuerSubjectPattern
</span> type contains the
1716 <dl class=
"field_list">
1717 <dt class=
"field">CommonName
</dt>
1719 <span class=
"field_meta">
1721 <span class=
"type">string
</span>
1723 Certificate subject's commonName must match this string if present.
1726 <dt class=
"field">Locality
</dt>
1728 <span class=
"field_meta">
1730 <span class=
"type">string
</span>
1732 Certificate subject's location must match this string if present.
1735 <dt class=
"field">Organization
</dt>
1737 <span class=
"field_meta">
1739 <span class=
"type">string
</span>
1741 At least one of certificate subject's organizations must match this string
1745 <dt class=
"field">OrganizationalUnit
</dt>
1747 <span class=
"field_meta">
1749 <span class=
"type">string
</span>
1751 At least one of certificate subject's organizational units must match this
1757 <span class=
"rule_id"></span>
1758 One field in
<span class=
"field">Subject
</span>,
1759 <span class=
"field">Issuer
</span>, or
<span class=
"field">IssuerCARef
</span>
1760 must be given for a
<span class=
"type">CertificatePattern
</span> typed field
1765 For a certificate to be considered matching, it must match all
1766 the fields in the certificate pattern. If multiple certificates match, the
1767 certificate with the latest issue date that is still in the past, and hence
1768 valid, will be used.
1772 If
<span class=
"field">EnrollmentURI
</span> is not given and no match is
1773 found to this pattern, the importing tool may show an error to the user.
1778 <h1>Proxy settings
</h1>
1780 Every network can be configured to use a
1781 proxy. The
<span class=
"type">ProxySettings
</span> type contains the
1785 <dl class=
"field_list">
1786 <dt class=
"field">Type
</dt>
1788 <span class=
"field_meta">
1790 <span class=
"type">string
</span>
1793 <span class=
"rule_id"></span>
1794 Allowed values are
<span class=
"value">Direct
</span>,
1795 <span class=
"value">Manual
</span>,
<span class=
"value">PAC
</span>, and
1796 <span class=
"value">WPAD
</span>.
1798 <span class=
"value">PAC
</span> indicates Proxy Auto-Configuration.
1799 <span class=
"value">WPAD
</span> indicates Web Proxy Autodiscovery.
1802 <dt class=
"field">Manual
</dt>
1804 <span class=
"field_meta">
1805 (required if
<span class=
"field">Type
</span>
1806 is
<span class=
"value">Manual
</span>, otherwise ignored)
1807 <span class=
"type">ManualProxySettings
</span>
1809 Manual proxy settings.
1812 <dt class=
"field">ExcludeDomains
</dt>
1814 <span class=
"field_meta">
1815 (optional if
<span class=
"field">Type
</span>
1816 is
<span class=
"value">Manual
</span>, otherwise ignored)
1817 <span class=
"type">array of string
</span>
1819 Domains and hosts for which to exclude proxy settings.
1822 <dt class=
"field">PAC
</dt>
1824 <span class=
"field_meta">
1825 (required if
<span class=
"field">Type
</span> is
1826 <span class=
"value">PAC
</span>, otherwise ignored)
1827 <span class=
"type">string
</span>
1829 URL of proxy auto-config file.
1834 The
<span class=
"type">ManualProxySettings
</span> type contains the
1838 <dl class=
"field_list">
1839 <dt class=
"field">HTTPProxy
</dt>
1841 <span class=
"field_meta">
1843 <span class=
"type">ProxyLocation
</span>
1845 settings for HTTP proxy.
1848 <dt class=
"field">SecureHTTPProxy
</dt>
1850 <span class=
"field_meta">
1852 <span class=
"type">ProxyLocation
</span>
1854 settings for secure HTTP proxy.
1857 <dt class=
"field">FTPProxy
</dt>
1859 <span class=
"field_meta">
1861 <span class=
"type">ProxyLocation
</span>
1863 settings for FTP proxy
1866 <dt class=
"field">SOCKS
</dt>
1868 <span class=
"field_meta">
1870 <span class=
"type">ProxyLocation
</span>
1872 settings for SOCKS proxy.
1877 The
<span class=
"type">ProxyLocation
</span> type contains the following:
1880 <dl class=
"field_list">
1881 <dt class=
"field">Host
</dt>
1883 <span class=
"field_meta">
1885 <span class=
"type">string
</span>
1887 Host (or IP address) to use for proxy
1890 <dt class=
"field">Port
</dt>
1892 <span class=
"field_meta">
1894 <span class=
"type">integer
</span>
1896 Port to use for proxy
1902 <h1>EAP configurations
</h1>
1904 For networks with
802.1X authentication, an
<span class=
"type">EAP
</span>
1905 type exists to configure the
1906 authentication. The
<span class=
"type">EAP
</span> type contains the
1910 <dl class=
"field_list">
1911 <dt class=
"field">AnonymousIdentity
</dt>
1913 <span class=
"field_meta">
1914 (optional if
<span class=
"field">Outer
</span> is
1915 <span class=
"value">PEAP
</span> or
<span class=
"value">EAP-TTLS
</span>,
1917 <span class=
"type">string
</span>
1919 For tunnelling protocols only, this indicates the identity of the user
1920 presented to the outer protocol. This value is subject to string
1921 expansions. If not specified, use empty string.
1924 <dt class=
"field">ClientCertPattern
</dt>
1926 <span class=
"field_meta">
1927 (required if
<span class=
"field">ClientCertType
</span> is
1928 <span class=
"value">Pattern
</span>, otherwise ignored)
1929 <span class=
"type">CertificatePattern
</span>
1931 Pattern to use to find the client certificate.
1934 <dt class=
"field">ClientCertRef
</dt>
1936 <span class=
"field_meta">
1937 (required if
<span class=
"field">ClientCertType
</span> is
1938 <span class=
"value">Ref
</span>, otherwise ignored)
1939 <span class=
"type">string
</span>
1941 Reference to client certificate stored in certificate section.
1944 <dt class=
"field">ClientCertType
</dt>
1946 <span class=
"field_meta">
1947 (optional)
<span class=
"type">string
</span>
1950 <span class=
"rule_id"></span>
1951 Allowed values are
<span class=
"value">Ref
</span>, and
1952 <span class=
"value">Pattern
</span>.
1956 <dt class=
"field">Identity
</dt>
1958 <span class=
"field_meta">
1960 <span class=
"type">string
</span>
1962 Identity of user. For tunneling outer protocols
1963 (
<span class=
"value">PEAP
</span>,
<span class=
"value">EAP-TTLS
</span>, and
1964 <span class=
"value">EAP-FAST
</span>), this is used to authenticate inside
1965 the tunnel, and
<span class=
"field">AnonymousIdentity
</span> is used for
1966 the EAP identity outside the tunnel. For non-tunneling outer protocols,
1967 this is used for the EAP identity. This value is subject to string
1971 <dt class=
"field">Inner
</dt>
1973 <span class=
"field_meta">
1974 (optional if
<span class=
"field">Outer
</span> is
1975 <span class=
"value">EAP-FAST
</span>,
<span class=
"value">EAP-TTLS
</span>
1976 or
<span class=
"value">PEAP
</span>, otherwise ignored, defaults to
1977 <span class=
"value">Automatic
</span>)
1978 <span class=
"type">string
</span>
1981 <span class=
"rule_id"></span>
1982 Allowed values are
<span class=
"value">Automatic
</span>,
1983 <span class=
"value">MD5
</span>,
<span class=
"value">MSCHAPv2
</span>,
1984 <span class=
"value">EAP-MSCHAPv2
</span>,
1985 <span class=
"value">PAP
</span>, and
<span class=
"value">GTC
</span>.
1987 For tunneling outer protocols.
1990 <dt class=
"field">Outer
</dt>
1992 <span class=
"field_meta">
1994 <span class=
"type">string
</span>
1997 <span class=
"rule_id"></span>
1998 Allowed values are
<span class=
"value">LEAP
</span>,
1999 <span class=
"value">EAP-AKA
</span>,
<span class=
"value">EAP-FAST
</span>,
2000 <span class=
"value">EAP-TLS
</span>,
<span class=
"value">EAP-TTLS
</span>,
2001 <span class=
"value">EAP-SIM
</span> and
<span class=
"value">PEAP
</span>.
2005 <dt class=
"field">Password
</dt>
2007 <span class=
"field_meta">
2009 <span class=
"type">string
</span>
2011 Password of user. If not specified, defaults to prompting the user.
2014 <dt class=
"field">SaveCredentials
</dt>
2016 <span class=
"field_meta">
2017 (optional, defaults to
<span class=
"value">false
</span>)
2018 <span class=
"type">boolean
</span>
2020 If
<span class=
"value">false
</span>, require user to enter credentials
2021 each time they connect. Specifying
<span class=
"field">Identity
</span>
2022 and/or
<span class=
"field">Password
</span> when
2023 <span class=
"field">SaveCredentials
</span> is
2024 <span class=
"value">false
</span> is not allowed.
2027 <dt class=
"field">ServerCARefs
</dt>
2029 <span class=
"field_meta">
2031 <span class=
"type">array of string
</span>
2033 Non-empty list of references to CA certificates in
<span class=
"field">Certificates
</span> to be used for verifying the host's certificate chain. At least one of the CA certificates must match. If this field is set,
<span class=
"field">ServerCARef
</span> must be unset. If neither
<span class=
"field">ServerCARefs
</span> nor
<span class=
"field">ServerCARef
</span> is set, the client does not check that the server certificate is signed by a specific CA. A verification using the system's CA certificates may still apply. See
<span class=
"field">UseSystemCAs
</span> for this.
2036 <dt class=
"field">ServerCARef
</dt>
2038 <span class=
"field_meta">
2040 <span class=
"type">string
</span>
2042 DEPRECATED, use
<span class=
"field">ServerCARefs
</span> instead.
<br/>
2043 Reference to a CA certificate in
<span class=
"field">Certificates
</span>. If this field is set,
<span class=
"field">ServerCARefs
</span> must be unset. If neither
<span class=
"field">ServerCARefs
</span> nor
<span class=
"field">ServerCARef
</span> is set, the client does not check that the server certificate is signed by a specific CA. A verification using the system's CA certificates may still apply. See
<span class=
"field">UseSystemCAs
</span> for this.
2046 <dt class=
"field">UseSystemCAs
</dt>
2048 <span class=
"field_meta">
2049 (optional, defaults to
<span class=
"value">true
</span>)
2050 <span class=
"type">boolean
</span>
2052 Required server certificate to be signed by
"system default certificate
2053 authorities". If both
<span class=
"field">ServerCARefs
</span> (or
<span class=
"field">ServerCARef
</span>)
2054 and
<span class=
"field">UseSystemCAs
</span> are supplied, a server
2055 certificate will be allowed if it either has a chain of trust to a system
2056 CA or to one of the given CA certificates. If
<span class=
"field">UseSystemCAs
</span>
2057 is
<span class=
"value">false
</span>, and no
<span class=
"field">ServerCARef
</span> is set, the certificate
2058 must be a self signed certificate, and no CA signature is required.
2061 <dt class=
"field">UseProactiveKeyCaching
</dt>
2063 <span class=
"field_meta">
2064 (optional, defaults to
<span class=
"value">false
</span>)
2065 <span class=
"type">boolean
</span>
2067 Indicates whether Proactive Key Caching (also known as Opportunistic
2068 Key Caching) should be used on a per-service basis.
2073 <span class=
"rule_id"></span>
2074 At most one of
<span class=
"field">ServerCARefs
</span> and
<span class=
"field">ServerCARef
</span> can be set.
2079 <h1>WiMAX Networks
</h1>
2081 For WiMAX connections,
<span class=
"field">Type
</span> must be set to
2082 <span class=
"value">WiMAX
</span> and the
2083 field
<span class=
"field">WiMAX
</span> must be set to an object of
2084 type
<span class=
"type">WiMAX
</span>. Currently only used for
2085 representing an existing configuration; ONC configuration of
2086 of
<span class=
"field">WiMAX
</span> networks is not yet fully supported.
2087 Contains the following fields:
2090 <dl class=
"field_list">
2091 <dt class=
"field">AutoConnect
</dt>
2093 <span class=
"field_meta">
2094 (optional, defaults to
<span class=
"value">false
</span>)
2095 <span class=
"type">boolean
</span>
2097 Indicating that the network should be connected to automatically when
2101 <dt class=
"field">EAP
</dt>
2103 <span class=
"field_meta">
2105 <span class=
"type">EAP
</span>
2110 <dt class=
"field">SignalStrength
</dt>
2112 <span class=
"field_meta">
2113 (optional, read-only)
2114 <span class=
"type">integer
</span>
2116 The current signal strength for this network in the range [
0,
100],
2117 provided by the system. If the network is not in range this field will
2118 be set to '
0' or not present.
2125 <h1>Cellular Networks
</h1>
2127 For Cellular connections,
<span class=
"field">Type
</span> must be set to
2128 <span class=
"value">Cellular
</span> and the
2129 field
<span class=
"field">Cellular
</span> must be set to an object of
2130 type
<span class=
"type">Cellular
</span>. Currently only used for
2131 representing an existing configuration; ONC configuration of
2132 of
<span class=
"field">Cellular
</span> networks is not yet supported.
2133 Contains the following fields:
2136 <dl class=
"field_list">
2137 <dt class=
"field">AutoConnect
</dt>
2139 <span class=
"field_meta">
2140 (optional, defaults to
<span class=
"value">false
</span>)
2141 <span class=
"type">boolean
</span>
2143 Indicating that the network should be connected to automatically when
2144 possible. Note, that disabled
<span class=
"field">AllowRoaming
</span>
2145 takes precedence over autoconnect.
2148 <dt class=
"field">APN
</dt>
2150 <span class=
"field_meta">(optional)
2151 <span class=
"type">APN
</span>
2153 Currently active
<span class=
"type">APN
</span> object to be used with a
2154 GSM carrier for making data connections.
2157 <dt class=
"field">APNList
</dt>
2159 <span class=
"field_meta">(optional, read-only)
2160 <span class=
"type">array of APN
</span>
2162 List of available APN configurations.
2165 <dt class=
"field">ActivationType
</dt>
2167 <span class=
"field_meta">(optional)
2168 <span class=
"type">string
</span>
2173 <dt class=
"field">ActivationState
</dt>
2175 <span class=
"field_meta">(optional, read-only)
2176 <span class=
"type">string
</span>
2178 Carrier account activation state.
2180 <span class=
"rule_id"></span>Allowed values are
2181 <span class=
"value">Activated
</span>,
2182 <span class=
"value">Activating
</span>,
2183 <span class=
"value">NotActivated
</span>,
2184 <span class=
"value">PartiallyActivated
</span>
2188 <dt class=
"field">AllowRoaming
</dt>
2190 <span class=
"field_meta">(optional)
2191 <span class=
"type">boolean
</span>
2193 Whether cellular data connections are allowed when the device is roaming.
2196 <dt class=
"field">Carrier
</dt>
2198 <span class=
"field_meta">(optional, read-only)
2199 <span class=
"type">string
</span>
2201 The name of the carrier for which the device is configured.
2204 <dt class=
"field">ESN
</dt>
2206 <span class=
"field_meta">(optional, read-only)
2207 <span class=
"type">string
</span>
2209 The Electronic Serial Number of the cellular modem.
2212 <dt class=
"field">Family
</dt>
2214 <span class=
"field_meta">(optional, read-only)
2215 <span class=
"type">string
</span>
2218 <span class=
"rule"><span class=
"rule_id"></span>
2220 <span class=
"value">CDMA
</span>,
2221 <span class=
"value">GSM
</span>
2225 <dt class=
"field">FirmwareRevision
</dt>
2227 <span class=
"field_meta">(optional, read-only)
2228 <span class=
"type">string
</span>
2230 The revision of firmware that is loaded in the modem.
2233 <dt class=
"field">FoundNetworks
</dt>
2235 <span class=
"field_meta">(optional, read-only, provided only
2236 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>)
2237 <span class=
"type">array of FoundNetwork
</span>
2239 The list of cellular netwoks found in the most recent scan operation.
2242 <dt class=
"field">HardwareRevision
</dt>
2244 <span class=
"field_meta">(optional, read-only)
2245 <span class=
"type">string
</span>
2247 The hardware revision of the cellular modem.
2250 <dt class=
"field">HomeProvider
</dt>
2252 <span class=
"field_meta">(optional, read-only)
2253 <span class=
"type">array of CellularProvider
</span>
2255 Description of the operator that issued the SIM card currently installed
2259 <dt class=
"field">ICCID
</dt>
2261 <span class=
"field_meta">(optional, read-only, provided only
2262 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>
2263 or
<span class=
"field">NetworkTechnology
</span>
2264 is
<span class=
"value">LTE
</span>)
2265 <span class=
"type">string
</span>
2267 For GSM / LTE modems, the Integrated Circuit Card Identifer of the SIM
2268 card installed in the device.
2271 <dt class=
"field">IMEI
</dt>
2273 <span class=
"field_meta">(optional, read-only)
2274 <span class=
"type">string
</span>
2276 The International Mobile Equipment Identity of the cellular modem.
2279 <dt class=
"field">IMSI
</dt>
2281 <span class=
"field_meta">(optional, read-only, provided only
2282 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>)
2283 <span class=
"type">string
</span>
2285 For GSM modems, the International Mobile Subscriber Identity of the SIM
2286 card installed in the device.
2289 <dt class=
"field">LastGoodAPN
</dt>
2291 <span class=
"field_meta">(optional, read-only)
2292 <span class=
"type">APN
</span>
2294 The APN information used in the last successful connection attempt.
2297 <dt class=
"field">Manufacturer
</dt>
2299 <span class=
"field_meta">(optional, read-only)
2300 <span class=
"type">string
</span>
2302 The manufacturer of the cellular modem.
2305 <dt class=
"field">MDN
</dt>
2307 <span class=
"field_meta">(optional)
2308 <span class=
"type">string
</span>
2310 The Mobile Directory Number (i.e., phone number) of the device.
2313 <dt class=
"field">MEID
</dt>
2315 <span class=
"field_meta">(optional, read-only, provided only
2316 if
<span class=
"field">Family
</span> is
<span class=
"value">CDMA
</span>)
2317 <span class=
"type">string
</span>
2319 For CDMA modems, the Mobile Equipment Identifer of the cellular modem.
2322 <dt class=
"field">MIN
</dt>
2324 <span class=
"field_meta">(optional, read-only)
2325 <span class=
"type">string
</span>
2327 The Mobile Identification Number of the device.
2330 <dt class=
"field">ModelID
</dt>
2332 <span class=
"field_meta">(optional, read-only)
2333 <span class=
"type">string
</span>
2335 The hardware model of the cellular modem.
2338 <dt class=
"field">NetworkTechnology
</dt>
2340 <span class=
"field_meta">(optional, read-only)
2341 <span class=
"type">string
</span>
2343 If the modem is registered on a network, then this is set to the
2344 network technology currently in use.
2345 <span class=
"rule"><span class=
"rule_id"></span>
2347 <span class=
"value">CDMA1XRTT
</span>,
2348 <span class=
"value">EDGE
</span>,
2349 <span class=
"value">EVDO
</span>,
2350 <span class=
"value">GPRS
</span>,
2351 <span class=
"value">GSM
</span>,
2352 <span class=
"value">HSPA
</span>,
2353 <span class=
"value">HSPAPlus
</span>,
2354 <span class=
"value">LTE
</span>,
2355 <span class=
"value">LTEAdvanced
</span>
2356 <span class=
"value">UMTS
</span>,
2360 <dt class=
"field">PaymentPortal
</dt>
2362 <span class=
"field_meta">(optional, read-only)
2363 <span class=
"type">PaymentPortal
</span>
2365 Properties describing the online payment portal (OLP) at which a user can
2366 sign up for or modify a mobile data plan.
2369 <dt class=
"field">PRLVersion
</dt>
2371 <span class=
"field_meta">(optional, read-only)
2372 <span class=
"type">integer
</span>
2374 The revision of the Preferred Roaming List that is loaded in the modem.
2377 <dt class=
"field">RoamingState
</dt>
2379 <span class=
"field_meta">(optional, read-only)
2380 <span class=
"type">string
</span>
2382 The roaming status of the cellular modem on the current network.
2383 <span class=
"rule"><span class=
"rule_id"></span>
2384 Allowed values are
<span class=
"value">Home
</span>,
2385 <span class=
"value">Roaming
</span>, or if the provider has no home
2386 network,
<span class=
"value">Required
</span>.
2390 <dt class=
"field">ServingOperator
</dt>
2392 <span class=
"field_meta">(optional, read-only, provided only
2393 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>)
2394 <span class=
"type">CellularProvider
</span>
2396 Description of the operator on whose network the modem is currently
2400 <dt class=
"field">SIMLockStatus
</dt>
2402 <span class=
"field_meta">(optional, read-only, provided only
2403 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>)
2404 <span class=
"type">SIMLockStatus
</span>
2406 For GSM modems, a dictionary containing two properties describing the
2407 state of the SIM card lock.
2410 <dt class=
"field">SIMPresent
</dt>
2412 <span class=
"field_meta">(optional, read-only, provided only
2413 if
<span class=
"field">Family
</span> is
<span class=
"value">GSM
</span>
2414 or
<span class=
"field">NetworkTechnology
</span>
2415 is
<span class=
"value">LTE
</span>)
2416 <span class=
"type">boolean
</span>
2418 For GSM or LTE modems, indicates whether a SIM card is present or not.
2421 <dt class=
"field">SupportNetworkScan
</dt>
2423 <span class=
"field_meta">(optional, read-only)
2424 <span class=
"type">boolean
</span>
2426 True if the cellular network supports scanning.
2429 <dt class=
"field">SupportedCarriers
</dt>
2431 <span class=
"field_meta">(optional, read-only)
2432 <span class=
"type">array of string
</span>
2434 A list of supported carriers.
2439 <p><span class=
"type">APN
</span> type contains the following:
</p>
2440 <dl class=
"field_list">
2441 <dt class=
"field">AccessPointName
</dt>
2443 <span class=
"field_meta">(required)
2444 <span class=
"type">string
</span>
2446 The access point name used when making connections.
2449 <dt class=
"field">Name
</dt>
2451 <span class=
"field_meta">(optional)
2452 <span class=
"type">string
</span>
2454 Description of the APN.
2457 <dt class=
"field">LocalizedName
</dt>
2459 <span class=
"field_meta">(optional)
2460 <span class=
"type">string
</span>
2462 Localized description of the APN.
2465 <dt class=
"field">Username
</dt>
2467 <span class=
"field_meta">(optional)
2468 <span class=
"type">string
</span>
2470 Username for making connections if required.
2473 <dt class=
"field">Password
</dt>
2475 <span class=
"field_meta">(optional)
2476 <span class=
"type">string
</span>
2478 Password for making connections if required.
2481 <dt class=
"field">Language
</dt>
2483 <span class=
"field_meta">(optional, rquired if
<span class=
"field">
2484 LocalizedName
</span> is provided)
2485 <span class=
"type">string
</span>
2487 Two letter language code for Localizedname if provided.
2491 <p><span class=
"type">FoundNetwork
</span> type contains the following:
</p>
2492 <dl class=
"field_list">
2493 <dt class=
"field">Status
</dt>
2495 <span class=
"field_meta">(required)
2496 <span class=
"type">string
</span>
2498 The availability of the network.
2501 <dt class=
"field">NetworkId
</dt>
2503 <span class=
"field_meta">(required)
2504 <span class=
"type">string
</span>
2506 The network id in the form MCC/MNC (without the '/').
2509 <dt class=
"field">Technology
</dt>
2511 <span class=
"field_meta">(required)
2512 <span class=
"type">string
</span>
2514 Access technology used by the network,
2515 e.g.
"GSM",
"UMTS",
"EDGE",
"HSPA", etc.
2518 <dt class=
"field">ShortName
</dt>
2520 <span class=
"field_meta">(optional)
2521 <span class=
"type">string
</span>
2523 Short-format name of the network operator.
2526 <dt class=
"field">LongName
</dt>
2528 <span class=
"field_meta">(optional)
2529 <span class=
"type">string
</span>
2531 Long-format name of the network operator.
2535 <p><span class=
"type">PaymentPortal
</span> type contains the following:
</p>
2536 <dl class=
"field_list">
2537 <dt class=
"field">Method
</dt>
2539 <span class=
"field_meta">(required)
2540 <span class=
"type">string
</span>
2542 The HTTP method to use,
"GET" or
"POST"
2545 <dt class=
"field">PostData
</dt>
2547 <span class=
"field_meta">
2548 (required if
<span class=
"field">Method
</span> is
2549 <span class=
"value">POST
</span>, otherwise ignored)
2550 <span class=
"type">string
</span>
2552 The postdata to send.
2555 <dt class=
"field">Url
</dt>
2557 <span class=
"field_meta">(required)
2558 <span class=
"type">string
</span>
2560 The URL for the portal.
2564 <p><span class=
"type">CellularProvider
</span> type contains the following:
</p>
2565 <dl class=
"field_list">
2566 <dt class=
"field">Name
</dt>
2568 <span class=
"field_meta">(required)
2569 <span class=
"type">string
</span>
2574 <dt class=
"field">Code
</dt>
2576 <span class=
"field_meta">(required)
2577 <span class=
"type">string
</span>
2579 The network id in the form MCC/MNC (without the '/').
2582 <dt class=
"field">Country
</dt>
2584 <span class=
"field_meta">(optional)
2585 <span class=
"type">string
</span>
2587 The two-letter country code.
2591 <p><span class=
"type">SIMLockStatus
</span> type contains the following:
</p>
2592 <dl class=
"field_list">
2593 <dt class=
"field">LockType
</dt>
2595 <span class=
"field_meta">(required)
2596 <span class=
"type">string
</span>
2598 Specifies the type of lock in effect, or an empty string if unlocked.
2599 <span class=
"rule"><span class=
"rule_id"></span>
2601 <span class=
"value">sim-pin
</span>,
2602 <span class=
"value">sim-puk
</span>
2606 <dt class=
"field">LockEnabled
</dt>
2608 <span class=
"field_meta">(required)
2609 <span class=
"type">boolean
</span>
2611 Indicates whether SIM locking is enabled
2614 <dt class=
"field">RetriesLeft
</dt>
2616 <span class=
"field_meta">(optional)
2617 <span class=
"type">integer
</span>
2619 If
<span class=
"field">LockType
</span> is empty
2620 or
<span class=
"value">sim-pin
</span>, then this property represents
2621 the number of attempts remaining to supply a correct PIN before the
2622 PIN becomes blocked, at which point a PUK provided by the carrier would
2623 be necessary to unlock the SIM (and
<span class=
"field">LockType
</span>
2624 changes to
<span class=
"value">sim-puk
</span>).
2631 <h1>Bluetooth / WiFi Direct Networks
</h1>
2633 This format will eventually also cover configuration of Bluetooth and WiFi
2634 Direct network technologies, however they are currently not supported.
2641 <h1>Certificates
</h1>
2643 Certificate data is stored in a separate section. Each certificate may be
2644 referenced from within the NetworkConfigurations array using a certificate
2645 reference. A certificate reference is its GUID.
2649 The top-level field
<span class=
"field">Certificates
</span> is an array of
2650 objects of
<span class=
"type">Certificate
</span> type.
2654 The
<span class=
"type">Certificate
</span> type contains the following:
2657 <dl class=
"field_list">
2658 <dt class=
"field">GUID
</dt>
2660 <span class=
"field_meta">
2662 <span class=
"type">string
</span>
2664 A unique identifier for this certificate. Must be a non-empty string.
2667 <dt class=
"field">PKCS12
</dt>
2669 <span class=
"field_meta">
2670 (required if
<span class=
"field">Type
</span> is
2671 <span class=
"value">Client
</span>, otherwise ignored)
2672 <span class=
"type">string
</span>
2673 </span> For certificates with
2674 private keys, this is the base64 encoding of the a PKCS#
12 file.
2677 <dt class=
"field">Remove
</dt>
2679 <span class=
"field_meta">
2680 (optional, defaults to
<span class=
"value">false
</span>)
2681 <span class=
"type">boolean
</span>
2683 If
<span class=
"value">true
</span>, remove this certificate (only GUID
2687 <dt class=
"field">TrustBits
</dt>
2689 <span class=
"field_meta">
2690 (optional if
<span class=
"field">Type
</span>
2691 is
<span class=
"value">Server
</span>
2692 or
<span class=
"value">Authority
</span>, otherwise ignored, defaults to
2694 <span class=
"type">array of string
</span>
2696 An array of trust flags. Clients should ignore unknown flags. For
2697 backwards compatibility, each flag should only increase the trust and
2698 never restrict. The trust flag
<span class=
"value">Web
</span> implies that
2699 the certificate is to be trusted for HTTPS SSL identification. A typical
2700 web certificate authority would have
<span class=
"field">Type
</span> set
2701 to
<span class=
"value">Authority
</span> and
2702 <span class=
"field">TrustBits
</span> set to
2703 <span class=
"snippet">[
"Web"]
</span>.
2706 <dt class=
"field">Type
</dt>
2708 <span class=
"field_meta">
2709 (required if
<span class=
"field">Remove
</span> is
2710 <span class=
"value">false
</span>, otherwise ignored)
2711 <span class=
"type">string
</span>
2714 <span class=
"rule_id"></span>
2715 Allowed values are
<span class=
"value">Client
</span>,
2716 <span class=
"value">Server
</span>, and
2717 <span class=
"value">Authority
</span>.
2719 <span class=
"value">Client
</span> indicates the certificate is for
2720 identifying the user or device over HTTPS or for
2721 VPN/
802.1X.
<span class=
"value">Server
</span> indicates the certificate
2722 identifies an HTTPS or VPN/
802.1X peer.
2723 <span class=
"value">Authority
</span> indicates the certificate is a
2724 certificate authority and any certificates it issues should be
2725 trusted. Note that if
<span class=
"field">Type
</span> disagrees with the
2726 x509 v3 basic constraints or key usage attributes, the
2727 <span class=
"field">Type
</span> field should be honored.
2730 <dt class=
"field">X509
</dt>
2732 <span class=
"field_meta">
2733 (required if
<span class=
"field">Type
</span> is
2734 <span class=
"value">Server
</span> or
2735 <span class=
"value">Authority
</span>, otherwise ignored)
2736 <span class=
"type">string
</span>
2737 </span> For certificate
2738 without private keys, this is the X509 certificate in PEM format.
2743 The passphrase of the PKCS#
12 encoding must be empty. Encryption of key data
2744 should be handled at the level of the entire file, or the transport of the
2749 If a global-scoped network connection refers to a user-scoped certificate,
2750 results are undefined, so this configuration should be prohibited by the
2751 configuration editor.
2758 <h1>Encrypted Configuration
</h1>
2760 We assume that when this format is imported as part of policy that
2761 file-level encryption will not be necessary because the policy transport is
2762 already encrypted, but when it is imported as a standalone file, it is
2763 desirable to encrypt it. Since this file has private information (user
2764 names) and secrets (passphrases and private keys) in it, and we want it to
2765 be usable as a manual way to distribute network configuration, we must
2770 For this standalone export, the entire file will be encrypted in a symmetric
2771 fashion with a passphrase stretched using salted PBKDF2 using at least
20000
2772 iterations, and encrypted using an AES-
256 CBC mode cipher with an SHA-
1
2773 HMAC on the ciphertext.
2777 An encrypted ONC file's top level object will have the
2778 <span class=
"type">EncryptedConfiguration
</span>
2779 type.
<span class=
"type">EncryptedConfiguration
</span> type contains the
2783 <dl class=
"field_list">
2784 <dt class=
"field">Cipher
</dt>
2786 <span class=
"field_meta">
2788 <span class=
"type">string
</span>
2790 The type of cipher used. Currently only
<span class=
"value">AES256
</span>
2794 <dt class=
"field">Ciphertext
</dt>
2796 <span class=
"field_meta">
2798 <span class=
"type">string
</span>
2800 The raw ciphertext of the encrypted ONC file, base64 encoded.
2803 <dt class=
"field">HMAC
</dt>
2805 <span class=
"field_meta">
2807 <span class=
"type">string
</span>
2809 The HMAC for the ciphertext, base64 encoded.
2812 <dt class=
"field">HMACMethod
</dt>
2814 <span class=
"field_meta">
2816 <span class=
"type">string
</span>
2818 The method used to compute the Hash-based Message Authentication Code
2819 (HMAC). Currently only
<span class=
"value">SHA1
</span> is supported.
2822 <dt class=
"field">Salt
</dt>
2824 <span class=
"field_meta">
2826 <span class=
"type">string
</span>
2828 The salt value used during key stretching.
2831 <dt class=
"field">Stretch
</dt>
2833 <span class=
"field_meta">
2835 <span class=
"type">string
</span>
2837 The key stretching algorithm used. Currently
2838 only
<span class=
"value">PBKDF2
</span> is supported.
2841 <dt class=
"field">Iterations
</dt>
2843 <span class=
"field_meta">
2845 <span class=
"type">integer
</span>
2847 The number of iterations to use during key stretching.
2850 <dt class=
"field">IV
</dt>
2852 <span class=
"field_meta">
2854 <span class=
"type">string
</span>
2856 The initial vector (IV) used for Cyclic Block Cipher (CBC) mode, base64
2860 <dt class=
"field">Type
</dt>
2862 <span class=
"field_meta">
2864 <span class=
"type">string
</span>
2866 The type of the ONC file, which must be set
2867 to
<span class=
"value">EncryptedConfiguration
</span>.
2872 <span class=
"rule_id"></span>
2873 When decrypted, the ciphertext must contain a JSON object of
2874 type
<span class=
"type">UnencryptedConfiguration
</span>.
2879 <h1>String Expansions
</h1>
2881 The values of some fields, such
2882 as
<span class=
"field">WiFi.EAP.Identity
</span>
2883 and
<span class=
"field">VPN.*.Username
</span>, are subject to string
2884 expansions. These allow one ONC to have basic user-specific variations.
2893 ${LOGIN_ID} - expands to the email address of the user, but before the
2897 ${LOGIN_EMAIL} - expands to the email address of the user.
2902 The following SED would properly handle resolution.
2907 s/\$\{LOGIN_ID\}/bobquail$
1/g
2910 s/\$\{LOGIN_EMAIL\}/bobquail@example.com$
1/g
2915 Example expansions, assuming the user was bobquail@example.com:
2920 "${LOGIN_ID}" -
> "bobquail"
2923 "${LOGIN_ID}@corp.example.com" -
> "bobquail@corp.example.com"
2926 "${LOGIN_EMAIL}" -
> "bobquail@example.com"
2929 "${LOGIN_ID}X" -
> "bobquailX"
2932 "${LOGIN_IDX}" -
> "${LOGIN_IDX}"
2935 "X${LOGIN_ID}" -
> "Xbobquail"
2943 This format should be sent in files ending in the .onc extension. When
2944 transmitted with a MIME type, the MIME type should be
2945 application/x-onc. These two methods make detection of data to be handled in
2946 this format, especially when encryption is used and the payload itself is
2954 <h1>Alternatives considered
</h1>
2956 For the overall format, we considered XML, ASN
.1, and protobufs. JSON and
2957 ASN
.1 seem more widely known than protobufs. Since administrators are
2958 likely to want to tweak settings that will not exist in common UIs, we
2959 should provide a format that is well known and human modifiable. ASN
.1 is
2960 not human modifiable. Protobufs formats are known by open source developers
2961 but seem less likely to be known by administrators. JSON serialization
2962 seems to have good support across languages.
2966 We considered sending the exact connection manager configuration format of
2967 an open source connection manager like connman. There are a few issues
2968 here, for instance, referencing certificates by identifiers not tied to a
2969 particular PKCS#
11 token, and tying to one OS's connection manager.
2976 This format should be sent in files ending in the .onc extension. When
2977 transmitted with a MIME type, the MIME type should be
2978 application/x-onc. These two methods make detection of data to be handled in
2979 this format, especially when encryption is used and the payload itself is
2988 <h1>Simple format example: PEAP/MSCHAPv2 network (per device)
</h1>
2992 "Type":
"UnencryptedConfiguration",
2993 "NetworkConfigurations": [
2995 "GUID":
"{f2c17903-b0e1-8593-b3ca74f977236bd7}",
2999 "AutoConnect": true,
3002 "UseSystemCAs": true
3004 "HiddenSSID": false,
3006 "Security":
"WPA-EAP"
3015 Notice that in this case, we do not provide a username and password - we set
3016 SaveCredentials to
<span class=
"value">false
</span> so we are prompted every
3017 time. We could have passed in username and password - but such a file should
3023 <h1>Complex format example: TLS network with client certs (per device)
</h1>
3027 "Type":
"UnencryptedConfiguration",
3028 "NetworkConfigurations": [
3030 "GUID":
"{00f79111-51e0-e6e0-76b3b55450d80a1b}",
3031 "Name":
"MyTTLSNetwork",
3034 "AutoConnect": false,
3036 "ClientCertPattern": {
3038 "http://fetch-my-certificate.com"
3041 "{6ed8dce9-64c8-d568-d225d7e467e37828}"
3044 "ClientCertType":
"Pattern",
3046 "ServerCARef":
"{6ed8dce9-64c8-d568-d225d7e467e37828}",
3047 "UseSystemCAs": true
3049 "HiddenSSID": false,
3050 "SSID":
"MyTTLSNetwork",
3051 "Security":
"WPA-EAP"
3057 "GUID":
"{6ed8dce9-64c8-d568-d225d7e467e37828}",
3058 "Type":
"Authority",
3059 "X509":
"MIIEpzCCA4+gAwIBAgIJAMueiWq5WEIAMA0GCSqGSIb3DQEBBQUAMIGTMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGUmFkaXVzMRIwEAYDVQQHEwlTb21ld2hlcmUxFTATBgNVBAoTDEV4YW1wbGUgSW5jLjEgMB4GCSqGSIb3DQEJARYRYWRtaW5AZXhhbXBsZS5jb20xJjAkBgNVBAMTHUV4YW1wbGUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTExMDEyODA2MjA0MFoXDTEyMDEyODA2MjA0MFowgZMxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIEwZSYWRpdXMxEjAQBgNVBAcTCVNvbWV3aGVyZTEVMBMGA1UEChMMRXhhbXBsZSBJbmMuMSAwHgYJKoZIhvcNAQkBFhFhZG1pbkBleGFtcGxlLmNvbTEmMCQGA1UEAxMdRXhhbXBsZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9EDplhyrVNJIoy1OsVqvD/K67B5PW2bDKKxGznodrzCu8jHsP1Ne3mgrK20vbzQUUBdmxTCWO6x3a3//r4ZuPOuZd1ViycWjt6mRfRbBzNrHzP7NiyFuXjdlz74beHQQLcHwvZ3qFAWZK37uweiLiDPaMaEQlka2Bztqx4PsogmSdoVPSCxi5Cl1XlJmITA03LlKpO79+0rEPRamWO/DMCwvffn2/UUjJLog4/lYe16HQ6iq/6bjhffm2rLXDFKOGZmBVbLNMCfANRMtdFWHYdBXERoUo2zpM9tduOOUNLy7E7kRKVm/wy38s51ChFPlpORrhimN2j1caar+KAv2tAgMBAAGjgfswgfgwHQYDVR0OBBYEFBTIImiXp+57jjgn2N5wq93GgAAtMIHIBgNVHSMEgcAwgb2AFBTIImiXp+57jjgn2N5wq93GgAAtoYGZpIGWMIGTMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGUmFkaXVzMRIwEAYDVQQHEwlTb21ld2hlcmUxFTATBgNVBAoTDEV4YW1wbGUgSW5jLjEgMB4GCSqGSIb3DQEJARYRYWRtaW5AZXhhbXBsZS5jb20xJjAkBgNVBAMTHUV4YW1wbGUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5ggkAy56JarlYQgAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAnNd0YY7s2YVYPsgEgDS+rBNjcQloTFWgc9Hv4RWBjwcdJdSPIrpBp7LSjC96wH5U4eWpQjlWbOYQ9RBq9Z/RpuAPEjzRV78rIrQrCWQ3lxwywWEb5Th1EVJSN68eNv7Ke5BlZ2l9kfLRKFm5MEBXX9YoHMX0U8I8dPIXfTyevmKOT1PuEta5cQOM6/zH86XWn6WYx3EXkyjpeIbVOw49AqaEY8u70yBmut4MO03zz/pwLjV1BWyIkXhsrtuJyA+ZImvgLK2oAMZtGGFo7b0GW/sWY/P3R6Un3RFy35k6U3kXCDYYhgZEcS36lIqcj5y6vYUUVM732/etCsuOLz6ppw=="
3066 In this example, the client certificate is not sent in the ONC format, but
3067 rather we send a certificate authority which we know will have signed the
3068 client certificate that is needed, along with an enrollment URI to navigate
3069 to if the required certificate is not yet available on the client.
3074 <h1>Simple format example: HTTPS Certificate Authority
</h1>
3077 In this example a new certificate authority is added to be trusted for HTTPS
3078 server authentication.
3083 "Type":
"UnencryptedConfiguration",
3084 "NetworkConfigurations": [],
3087 "GUID":
"{f31f2110-9f5f-61a7-a8bd7c00b94237af}",
3088 "TrustBits": [
"Web" ],
3089 "Type":
"Authority",
3090 "X509":
"MIIEpzCCA4+gAwIBAgIJAMueiWq5WEIAMA0GCSqGSIb3DQEBBQUAMIGTMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGUmFkaXVzMRIwEAYDVQQHEwlTb21ld2hlcmUxFTATBgNVBAoTDEV4YW1wbGUgSW5jLjEgMB4GCSqGSIb3DQEJARYRYWRtaW5AZXhhbXBsZS5jb20xJjAkBgNVBAMTHUV4YW1wbGUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTExMDEyODA2MjA0MFoXDTEyMDEyODA2MjA0MFowgZMxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIEwZSYWRpdXMxEjAQBgNVBAcTCVNvbWV3aGVyZTEVMBMGA1UEChMMRXhhbXBsZSBJbmMuMSAwHgYJKoZIhvcNAQkBFhFhZG1pbkBleGFtcGxlLmNvbTEmMCQGA1UEAxMdRXhhbXBsZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9EDplhyrVNJIoy1OsVqvD/K67B5PW2bDKKxGznodrzCu8jHsP1Ne3mgrK20vbzQUUBdmxTCWO6x3a3//r4ZuPOuZd1ViycWjt6mRfRbBzNrHzP7NiyFuXjdlz74beHQQLcHwvZ3qFAWZK37uweiLiDPaMaEQlka2Bztqx4PsogmSdoVPSCxi5Cl1XlJmITA03LlKpO79+0rEPRamWO/DMCwvffn2/UUjJLog4/lYe16HQ6iq/6bjhffm2rLXDFKOGZmBVbLNMCfANRMtdFWHYdBXERoUo2zpM9tduOOUNLy7E7kRKVm/wy38s51ChFPlpORrhimN2j1caar+KAv2tAgMBAAGjgfswgfgwHQYDVR0OBBYEFBTIImiXp+57jjgn2N5wq93GgAAtMIHIBgNVHSMEgcAwgb2AFBTIImiXp+57jjgn2N5wq93GgAAtoYGZpIGWMIGTMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGUmFkaXVzMRIwEAYDVQQHEwlTb21ld2hlcmUxFTATBgNVBAoTDEV4YW1wbGUgSW5jLjEgMB4GCSqGSIb3DQEJARYRYWRtaW5AZXhhbXBsZS5jb20xJjAkBgNVBAMTHUV4YW1wbGUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5ggkAy56JarlYQgAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAnNd0YY7s2YVYPsgEgDS+rBNjcQloTFWgc9Hv4RWBjwcdJdSPIrpBp7LSjC96wH5U4eWpQjlWbOYQ9RBq9Z/RpuAPEjzRV78rIrQrCWQ3lxwywWEb5Th1EVJSN68eNv7Ke5BlZ2l9kfLRKFm5MEBXX9YoHMX0U8I8dPIXfTyevmKOT1PuEta5cQOM6/zH86XWn6WYx3EXkyjpeIbVOw49AqaEY8u70yBmut4MO03zz/pwLjV1BWyIkXhsrtuJyA+ZImvgLK2oAMZtGGFo7b0GW/sWY/P3R6Un3RFy35k6U3kXCDYYhgZEcS36lIqcj5y6vYUUVM732/etCsuOLz6ppw=="
3098 <h1>Encrypted format example
</h1>
3101 In this example a simple wireless network is added, but the file is encrypted
3102 with the passphrase
"test0000".
3108 "Ciphertext":
"eQ9/r6v29/83M745aa0JllEj4lklt3Nfy4kPPvXgjBt1eTByxXB+FnsdvL6Uca5JBU5aROxfiol2+ZZOkxPmUNNIFZj70pkdqOGVe09ncf0aVBDsAa27veGIG8rG/VQTTbAo7d8QaxdNNbZvwQVkdsAXawzPCu7zSh4NF/hDnDbYjbN/JEm1NzvWgEjeOfqnnw3PnGUYCArIaRsKq9uD0a1NccU+16ZSzyDhX724JNrJjsuxohotk5YXsCK0lP7ZXuXj+nSR0aRIETSQ+eqGhrew2octLXq8cXK05s6ZuVAc0mFKPkntSI/fzBACuPi4ZaGd3YEYiKzNOgKJ+qEwgoE39xp0EXMZOZyjMOAtA6e1ZZDQGWG7vKdTLmLKNztHGrXvlZkyEf1RDs10YgkwwLgUhm0yBJ+eqbxO/RiBXz7O2/UVOkkkVcmeI6yh3BdL6HIYsMMygnZa5WRkd/2/EudoqEnjcqUyGsL+YUqV6KRTC0PH+z7zSwvFs2KygrSM7SIAZM2yiQHTQACkA/YCJDwACkkQOBFnRWTWiX0xmN55WMbgrs/wqJ4zGC9LgdAInOBlc3P+76+i7QLaNjMovQ==",
3109 "HMAC":
"3ylRy5InlhVzFGakJ/9lvGSyVH0=",
3110 "HMACMethod":
"SHA1",
3111 "Iterations":
20000,
3112 "IV":
"hcm6OENfqG6C/TVO6p5a8g==",
3113 "Salt":
"/3O73QadCzA=",
3114 "Stretch":
"PBKDF2",
3115 "Type":
"EncryptedConfiguration"
3123 <h1>Standalone editor
</h1>
3126 The source code for a Chrome packaged app to generate ONC configuration can
3128 <a href=
"https://gerrit.chromium.org/gitweb/?p=chromiumos/platform/spigots.git;a=tree">"https://gerrit.chromium.org/gitweb/?p=chromiumos/platform/spigots.git;a=tree"</a>
3133 <h1>Internationalization and Localization
</h1>
3136 UIs will need to have internationalization and localizations - the file
3137 format will remain in English.
3142 <h1>Security Considerations
</h1>
3145 Data stored inside of open network configuration files is highly sensitive
3146 to users and enterprises. The file format itself provides adequate
3147 encryption options to allow standalone use-cases to be secure. For automatic
3148 updates sent by policy, the policy transport should be made secure. The file
3149 should not be stored unencrypted on disk as part of policy fetching and
3150 should be cleared from memory after use.
3155 <h1>Privacy Considerations
</h1>
3158 Similarly to the security considerations, user names will be present in
3159 these files for certain kinds of connections, so any places where the file
3160 is transmitted or saved to disk should be secure. On client device, when
3161 user names for connections that are user-specific are persisted to disk,
3162 they should be stored in a location that is encrypted. Users can also opt in
3163 these cases to not save their user credentials in the config file and will
3164 instead be prompted when they are needed.