Try Playground
Show / Hide Table of Contents

Add-ClientNodeSecurity

This PowerShell Cmdlet enables secure communication between a client application and a cache by configuring the necessary user credentials in the client.ncconf file. This Cmdlet allows you to provide cache user credentials for a specified cache. However, the administrative credentials are only required if the client node itself is secured.

Warning

This cache security is replicated on every client node so any secondary users are added to the client node.

  • Windows PowerShell
  • Linux CLI
Add-ClientNodeSecurity [-CacheName] -AdminCredentials -NodeName -CacheUserCredentials [-Port] [-NoLogo] [-Server]

Examples of Add-ClientNodeSecurity

  • This command configures the security credentials for the user john_smith in client.config file using the CEK specified on the cache server.
Add-ClientNodeSecurity -CacheName demoCache -CacheUserCredentials(Get-Credential john_smith) -NodeName 20.200.20.11 -Server 20.200.20.12
  • This command configures the security credentials for the user john_smith in client.config file using the CEK specified on the server. However, the administrative credentials are only required if the client node itself is secured.
Add-ClientNodeSecurity -CacheName demoCache -CacheUserCredentials(Get-Credential john_smith) -NodeName 20.200.20.11 -Server 20.200.20.12 -AdminCredentials(Get-Credential john_smith) 

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-CacheName* <String> Specifies the name of the cache for which cache-level credentials need to be configured. -
-AdminCredentials* <String> Specifies the credentials of a user with administrative rights on the client node. This is required only if security is enabled on the client node. If security is disabled, this parameter is ignored. -
-NodeName* <String> Specifies the IP address of the client node where the credentials configuration will take place. -
-CacheUserCredentials* <pscredential> Specifies the user credentials that the application should use to connect to the specified cache. These credentials should belong to a user who has access rights to the designated cache. -
-Port <Integer> Specifies the port on which the NCache Service is listening. 8250
-NoLogo <SwitchParameter> Suppresses display of the logo banner. -
-Server* <String> Specifies the IP address of the server node in the cache, which provides the credentials encryption key (CEK) used to encrypt the credentials of the client node's security. -
add-clientnodesecurity [-cachename] -adminuserid -adminpassword -nodename -cacheuseruserid -cacheuserpassword [-port] [-nologo] [-server]

Examples of Add-ClientNodeSecurity

  • This command configures the security credentials for the user john_smith in client.config file using the CEK specified on the cache server.
add-clientnodesecurity -cachename demoCache -cacheuserid john_smith -cacheuserpassword pass123 -nodename 20.200.20.11 -server 20.200.20.12
  • This command configures the security credentials for the user john_smith in client.config file using the CEK specified on the cache server. However, the administrative credentials are only required if the client node itself is secured.
add-clientnodesecurity -cachename demoCache -cacheuserid john_smith -cacheuserpassword pass123 -nodename 20.200.20.11 -adminuserid john_smith -adminpassword pass123 -server 20.200.20.12

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-cachename* <String> Specifies the name of the cache for which cache-level credentials need to be configured. -
-cacheuseruserid* <String> Specifies the cache user ID required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the cache. -
-cacheuserpassword* <String> Specifies the cache user password required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the cache. -
-nodename* <String> Specifies the client node where security is to be configured. -
-adminuserid <String> Specifies the user-id of a user with administrative rights on the client node. This is required only if security is enabled on the client node. If security is disabled, this parameter is ignored. -
-adminpassword <String> Specifies the password of a user with administrative rights on the client node. This is required only if security is enabled on the client node. If security is disabled, this parameter is ignored. -
-port <Integer> Specifies the port on which NCache Service is listening. 8250
-nologo <SwitchParameter> Suppresses display of the logo banner. -
-server* <String> Specifies the IP address of the server node in the cache, which provides the credentials encryption key (CEK) used to encrypt the credentials of the client node's security. -
In This Article
  • Examples of Add-ClientNodeSecurity
  • Properties
  • Examples of Add-ClientNodeSecurity
  • Properties

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top