- NAME
-
- gcloud alpha storage ftp users create - create a new Cloud FTP user
- SYNOPSIS
-
-
gcloud alpha storage ftp users createUSER_ID--customer-service-account=CUSTOMER_SERVICE_ACCOUNT--location=LOCATION--server=SERVER[--async] [--storage-directory-mapping=[PROPERTY=VALUE,…]] [--user-credentials-from-file=PATH_TO_FILE] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Create a new Cloud FTP user for a specific server. - EXAMPLES
-
To create a user
my-userfor servermy-serverinus-west1, run:gcloud alpha storage ftp users create my-user --server=my-server --location=us-west1 --customer-service-account=my-sa@my-project.iam.gserviceaccount.com --user-credentials-from-file=keys.json --storage-directory-mapping=bucket=my-bucket,directory=/home/user,permission=READ_WRITE - POSITIONAL ARGUMENTS
-
USER_ID- The ID of the user to create.
- REQUIRED FLAGS
-
--customer-service-account=CUSTOMER_SERVICE_ACCOUNT- The service account email associated with this user.
--location=LOCATION- The region of the server.
--server=SERVER- The ID of the server.
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation to complete.
--storage-directory-mapping=[PROPERTY=VALUE,…]- Mapping of Google Cloud Storage bucket to virtual directory.
--user-credentials-from-file=PATH_TO_FILE- Path to a JSON file containing user credentials. Use a full or relative path to a local file containing the value of user_credentials.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha storage ftp users create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-09 UTC.