EncryptedConnectionsOnly Property

General info

Label

Encrypted Connections Only

Description

Configure all Core services to allow only encrypted connections from and to other inmation services or clients.

Data type

Boolean

Type

Regular

Code

13105

Symbolic name

MODEL_PROP_ENCRYPTEDCONNECTIONSONLY

Lua access code

syslib.model.properties.EncryptedConnectionsOnly

Available since

1.82

Parent properties

GlobalCommunicationSettings

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs.
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.

Examples

Read from or write to the EncryptedConnectionsOnly property.

  • Lua

  • C#

-- Read from the EncryptedConnectionsOnly
syslib.getvalue("<OBJECT FULL PATH>.GlobalCommunicationSettings.EncryptedConnectionsOnly")

-- Write to the EncryptedConnectionsOnly
syslib.setvalue("<OBJECT FULL PATH>.GlobalCommunicationSettings.EncryptedConnectionsOnly", true)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the EncryptedConnectionsOnly
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.GlobalCommunicationSettings.EncryptedConnectionsOnly"));
// Write to the EncryptedConnectionsOnly
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.GlobalCommunicationSettings.EncryptedConnectionsOnly"));