Creating a machine user
You must create a machine user for programmatic access to Cloudera on premises.
Steps
Cloudera Management Console UI
- Sign in to the Cloudera console.
- Click Cloudera Management Console.
- Select User Management > Users.
- From the Actions menu, select Create Machine User.
- Provide a name and click Create.
CLI
- Use the following command to create the machine user:
cdp iam create-machine-user \ --machine-user-name MACHINE_USER_NAME
- Generate an API access key for your machine user by using the following command:
cdp iam create-machine-user-access-key \ --machine-user-name MACHINE_USER_NAME
What to do next: You must generate an access key for the machine user.