Share via


TransitEncryptionType Class

public final class TransitEncryptionType
extends ExpandableStringEnum<TransitEncryptionType>

Configures pod-to-pod encryption. This can be enabled only on Cilium-based clusters. If not specified, the default value is None.

Field Summary

Modifier and Type Field and Description
static final TransitEncryptionType NONE

Disable Transit encryption.

static final TransitEncryptionType WIRE_GUARD

Enable WireGuard encryption.

Constructor Summary

Constructor Description
TransitEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TransitEncryptionType value.

Method Summary

Modifier and Type Method and Description
static TransitEncryptionType fromString(String name)

Creates or finds a TransitEncryptionType from its string representation.

static Collection<TransitEncryptionType> values()

Gets known TransitEncryptionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final TransitEncryptionType NONE

Disable Transit encryption.

WIRE_GUARD

public static final TransitEncryptionType WIRE_GUARD

Enable WireGuard encryption. Refer to https://docs.cilium.io/en/latest/security/network/encryption-wireguard/ on use cases and implementation details.

Constructor Details

TransitEncryptionType

@Deprecated
public TransitEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TransitEncryptionType value.

Method Details

fromString

public static TransitEncryptionType fromString(String name)

Creates or finds a TransitEncryptionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TransitEncryptionType.

values

public static Collection<TransitEncryptionType> values()

Gets known TransitEncryptionType values.

Returns:

known TransitEncryptionType values.

Applies to