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
    Copied
  • pureadmin create testuser --api-token --timeout 2h

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

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

    Delete API Token for current user
    Copied
  • pureadmin delete testuser

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

    Delete API Token for user testuser
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • pureadmin global list

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

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

    Set the maximum failed login attempts to 3 before the user get locked out.
    Copied
  • 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.
    Copied
  • pureadmin list

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

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

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

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

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

    Clears the permission cache for testuser
    Copied
  • pureadmin refresh testuser

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

    Unlock locked user testuser
    Copied
  • pureadmin setattr testuser --password

    Change the password for the user testuser
    Copied
  • 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
    Copied

[ view all commands ]