Skip to main content
Version: v3.0.x LTS

Authentication mechanisms

Authentication mechanisms

As an extender, you can change the way Zowe CLI uses various mechanisms of authentication when communicating with the mainframe.

Zowe CLI accepts various methods, or mechanisms, of authentication when communicating with the mainframe, and the method that the CLI ultimately follows is based on the service it is communicating with.

However, some services can accept multiple methods of authentication. When multiple methods are provided (in a profile or command) for a service, the CLI follows an order of precedence to determine which method to apply. Extenders can modify this order for their plug-in.

To learn the authentication methods used for different services and their order of precedence, refer to the following table.

ServiceOrder of precedence
API ML1. username, password
2. API ML token
3. PEM certificate
Db2,
FTP,
most other services
username, password
SSH1. SSH key
2. username, password
ZOSMF
direct connection
1. username, password
2. PEM certificate