Skip to content

SaslUserProps

Properties for defining a SaslUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kafka-sasluser

Initializer

using AlibabaCloud.SDK.ROS.CDK.Kafka;
new SaslUserProps {
    object InstanceId,
    object Password,
    object Username,
    object Mechanism = null,
    object Type = null
};

Properties

Name Type Description
InstanceId object Property instanceId: The instance ID.
Password object Property password: The password of the SASL user.
Username object Property username: The name of the SASL user.
Mechanism object Property mechanism: The encryption method.
Type object Property type: The type of the Simple Authentication and Security Layer (SASL) user.

InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The instance ID.


PasswordRequired

public object Password { get; set; }
  • Type: object

Property password: The password of the SASL user.


UsernameRequired

public object Username { get; set; }
  • Type: object

Property username: The name of the SASL user.


MechanismOptional

public object Mechanism { get; set; }
  • Type: object

Property mechanism: The encryption method.

Valid values: SCRAM-SHA-512 (default) SCRAM-SHA-256 Note This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.


TypeOptional

public object Type { get; set; }
  • Type: object

Property type: The type of the Simple Authentication and Security Layer (SASL) user.

Valid values: plain: a simple mechanism that uses usernames and passwords to verify user identities. ApsaraMQ for Kafka provides an improved PLAIN mechanism that allows you to dynamically add SASL users without the need to restart an instance. SCRAM: a mechanism that uses usernames and passwords to verify user identities. Compared with the PLAIN mechanism, this mechanism provides better security protection. ApsaraMQ for Kafka uses the SCRAM-SHA-256 algorithm. LDAP: This value is available only for the SASL users of ApsaraMQ for Confluent instances. Default value: plain.