--- title: "user remove-key" slug: "user-remove-key" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z canonical: "docs.vastdata.com/user-remove-key" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # user remove-key This command removes an S3 access key pair. #### Usage ```plaintext user remove-key {--id ID | --uid UID | --sid SID}                --access-key ACCESS-KEY                [--tenant-id ID] ``` #### Required Parameters | `--id ID` | Identifies a VAST provider user by VAST ID. | | --- | --- | | `--uid UID` | Identifies a user by POSIX (NFS) UID number. | | `--sid SID` | Identifies a user by Security Identifier (SID). | | `--access-key ACCESS-KEY` | Specifies an S3 access key to remove the key pair. | #### Options | `--tenant-id ID` | Specify the ID of the tenant with which the user is associated. | | --- | --- | #### Example ```plaintext vcli: admin> user remove-key --id 4 --access-key NHZ9GBLYS21TST3BGQXO Are you sure you want to remove this access key [NHZ9GBLYS21TST3BGQXO]? [y/N] y ```