# tuist account tokens create Create a new Tuist account token. ## Arguments ### account-handle **Environment variable** `TUIST_ACCOUNT_TOKENS_ACCOUNT_HANDLE` The account handle to create the token for. ```bash tuist account tokens create [account-handle] ``` ### scopes `Optional` **Environment variable** `TUIST_ACCOUNT_TOKENS_SCOPES` The scopes for the token. ```bash tuist account tokens create --scopes [scopes] tuist account tokens create -s [scopes] ``` ### name **Environment variable** `TUIST_ACCOUNT_TOKENS_NAME` A unique identifier for the token. Must be 1-32 characters and contain only alphanumeric characters, hyphens, and underscores. ```bash tuist account tokens create --name [name] tuist account tokens create -n [name] ``` ### expires `Optional` **Environment variable** `TUIST_ACCOUNT_TOKENS_EXPIRES` When the token should expire. Use format like '30d' (days), '6m' (months), or '1y' (years). If not specified, the token never expires. ```bash tuist account tokens create --expires [expires] tuist account tokens create -e [expires] ``` ### projects `Optional` **Environment variable** `TUIST_ACCOUNT_TOKENS_PROJECTS` The project handles to grant the token access to. If not provided, the token has access to all projects. ```bash tuist account tokens create --projects [projects] ``` ### path `Optional` **Environment variable** `TUIST_ACCOUNT_TOKENS_PATH` The path to the directory or a subdirectory of the project. ```bash tuist account tokens create --path [path] ```