gcloud alpha storage ftp users create USER_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 …]
(ALPHA) Create a new Cloud FTP user for a specific server.
my-user for server my-server in
us-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_WRITEUSER_ID--customer-service-account=CUSTOMER_SERVICE_ACCOUNT--location=LOCATION--server=SERVER--async--storage-directory-mapping=[PROPERTY=VALUE,…]--user-credentials-from-file=PATH_TO_FILE--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 help for details.
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.