ADVERTISEMENT

pureadmin commands

The pureadmin command displays and manage administrative accounts in Pure Flash Storage Array

Below list contains some of the most useful pureadmin commands.

  • pureadmin create testuser --api-token

    Generate an API token for the user testuser
  • pureadmin create testuser --api-token --timeout 2h

    Create API Token for testuser valid for 2 hours
  • pureadmin create testuser --role storage_admin

    Create user testuser with storage_admin role. Possible roles are readonly, ops_admin, storage_admin, array_admin
  • pureadmin delete --api-token

    Delete API Token for current user
  • pureadmin delete testuser

    Delete user testuser from Flash Array
  • pureadmin delete testuser --api-token

    Delete API Token for user testuser
  • pureadmin global disable --single-sign-on

    This will disable single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.
  • pureadmin global enable --single-sign-on

    This enables single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.
  • pureadmin global list

    List the global administration attributes like Lockout Duration, Maximum Login Attempts, Minimum Password Length, etc..
  • pureadmin global setattr --lockout-duration 1m

    Set the lockout duration to 1 minute after maximum unsuccessful login attempts.
  • pureadmin global setattr --max-login-attempts 3

    Set the maximum failed login attempts to 3 before the user get locked out.
  • pureadmin global setattr --min-password-length 8

    Set the minimum length of characters required for all the local user account passwords to 8. Minimum length allowed is 1. This will not affect the existing user accounts, but all future password assignment must meet the new value.
  • pureadmin list

    List all the users configured in the Flash Array
  • pureadmin list --api-token

    List all the users with api tokens configured
  • pureadmin list --api-token --expose

    List all the users with api tokens configured and expose the api token for the current user loggedin.
  • pureadmin list --lockout

    List all the user accounts that are currently lockout
  • pureadmin refresh --clear

    Clears the permission cache for all the users
  • pureadmin refresh --clear testuser

    Clears the permission cache for testuser
  • pureadmin refresh testuser

    Refresh the permission cache for testuser
  • pureadmin reset testuser --lockout

    Unlock locked user testuser
  • pureadmin setattr testuser --password

    Change the password for the user testuser
  • pureadmin setattr testuser --role array_admin

    Change the role of the user testuser to array_admin role. Possible roles are readonly, ops_admin, storage_admin, array_admin

[ view all commands ]