NetApp ONTAP Security icon

NetApp ONTAP Security

Manage NetApp ONTAP security settings, users, roles, and certificates

Account → Create

AI-generated

Summary

Create a new user account on a specified NetApp ONTAP cluster by providing the username, owner cluster or SVM, role, associated applications, and authentication method. Optionally include details like an initial password, public SSH key, account lock status, comment, and a second factor authentication method.

Inputs

  • Cluster Host (required) — Hostname or IP address of the ONTAP cluster management LIF to connect to.
  • Port — HTTPS port number for the ONTAP REST API (default 443).
  • Username (required) — Name of the user account to create.
  • Owner (required) — Cluster or SVM that owns this account, specified by name.
  • Role (required) — Security role assigned to the account, specified by name.
  • Applications (required) — List of applications the account is allowed to access, such as SSH or HTTP.
  • Authentication Method (required) — Primary authentication method to use for the account, e.g., password, public key.
  • Additional Options — Optional settings including comment, initial password, public SSH key (if using public key authentication), lock status of the account, and a second authentication method.

Output shape

a JSON object representing the created user account or the asynchronous job's completion status if applicable

The response includes the created account details and may include job tracking information if the operation is asynchronous. If the authentication method is 'publickey' and a public key string is provided, an additional request is made to attach the public key to the user account after creation.

Links

Discussion