All Products
Search
Document Center

Microservices Engine:Nacos client versions that support authentication, encryption, and decryption

Last Updated:Mar 11, 2026

Microservices Registry Professional Edition instances support service authentication, configuration authentication, and configuration encryption and decryption. The Nacos client version determines which authentication modes and encryption features are available.

Recommended versions

For full authentication and encryption support, use these minimum versions:

LanguageMinimum versionAuthenticationConfiguration encryption
Java2.2.1 or laterAll 7 modes (service + configuration)Supported
Go2.1.1 or laterAccessKey only (service + configuration)Supported
Python0.1.10 or laterAccessKey only (service + configuration)Not supported

If you only need AccessKey-based authentication, Java 1.2.0 and later, Go 1.1.4 and later, and Python 0.1.10 and later all support it.

Authentication modes

MSE supports seven authentication modes. Each mode differs in how the client establishes its identity with the server:

ModeDescriptionPrerequisites
AccessKeyAuthenticates with a static AccessKey ID and AccessKey secretConfigure an AccessKey pair
Automatic AccessKey rotationRotates AccessKey credentials automatically through Key Management Service (KMS)Activate KMS and configure rotation
STS tokenAuthenticates with temporary credentials from Security Token Service (STS)Get and maintain temporary credentials
RAM role ARNAssumes a RAM role using an AccessKey pair with role-assumption permissionsConfigure a RAM role ARN
ECS roleAuthenticates using a RAM role attached to an Elastic Compute Service (ECS) instanceConfigure an ECS RAM role
OIDC role ARNAuthenticates through OpenID Connect (OIDC) with RAM Roles for Service Accounts (RRSA) on Container Service for Kubernetes (ACK)Activate ACK, enable RRSA, and configure OIDC
Credentials URIAuthenticates with temporary STS token credentials fetched from a custom URI endpointBuild a credentials service

Java client compatibility

Versions to avoid

Do not use versions earlier than Java 1.1.X. These versions lack authentication and encryption support.

Version summary

Use this table to find the minimum Java client version for each capability:

CapabilityMinimum version
AccessKey authentication (service + configuration)1.2.0
Configuration encryption and decryption1.4.2
ECS role for service authentication1.4.5
All authentication modes for configuration authentication2.1.0
All authentication modes for both service and configuration authentication2.2.1

Detailed compatibility by version

The following table shows which authentication modes each Java client version supports. A dash (-) indicates that the mode is not supported.

Version rangeService authConfig authConfig encryption
1.2.0 -- 1.4.1AccessKeyAccessKey, ECS roleNot supported
1.4.2 -- 1.4.4AccessKeyAccessKey, ECS roleSupported
1.4.5 -- 1.4.XAccessKey, ECS roleAccessKey, ECS roleSupported
2.0.0 -- 2.0.4AccessKeyAccessKey, ECS roleSupported
2.1.0 -- 2.2.0All except ECS roleAll 7 modesSupported
2.2.1 and laterAll 7 modesAll 7 modesSupported

Java 2.1.0 -- 2.2.0 supports all authentication modes for configuration authentication, but ECS role is not supported for service authentication. Upgrade to 2.2.1 or later for full service authentication support.

Go client compatibility

Versions to avoid

  • Earlier than Go 1.1.4: Not recommended.

  • Go 2.0.0 -- 2.1.0: Not recommended.

Supported versions

Go clients only support AccessKey-based authentication. No other authentication modes are available.

Version rangeService auth (AccessKey)Config auth (AccessKey)Config encryption
1.1.4 -- 1.1.XSupportedSupportedSupported
2.1.1 and laterSupportedSupportedSupported

Python client compatibility

Python clients only support AccessKey-based authentication. Configuration encryption is not supported in any Python client version.

Version rangeService auth (AccessKey)Config auth (AccessKey)Config encryption
Earlier than 0.1.10Not supportedSupportedNot supported
0.1.10 and laterSupportedSupportedNot supported

References