gcloud compute target-https-proxies create NAME --url-map=URL_MAP [--certificate-map=CERTIFICATE_MAP] [--description=DESCRIPTION] [--http-keep-alive-timeout-sec=HTTP_KEEP_ALIVE_TIMEOUT_SEC] [--quic-override=QUIC_OVERRIDE; default="NONE"] [--server-tls-policy=SERVER_TLS_POLICY] [--ssl-policy=SSL_POLICY] [--tls-early-data=TLS_EARLY_DATA] [--certificate-manager-certificates=[CERTIFICATE_MANAGER_CERTIFICATES,…] | --ssl-certificates=SSL_CERTIFICATE,[…]] [--global | --region=REGION] [--global-ssl-certificates | --ssl-certificates-region=SSL_CERTIFICATES_REGION] [--global-ssl-policy | --ssl-policy-region=SSL_POLICY_REGION] [--global-url-map | --url-map-region=URL_MAP_REGION] [GCLOUD_WIDE_FLAG …]
gcloud compute target-https-proxies create is used to create target
HTTPS proxies. A target HTTPS proxy is referenced by one or more forwarding
rules which specify the network traffic that the proxy is responsible for
routing. The target HTTPS proxy points to a URL map that defines the rules for
routing the requests. The URL map's job is to map URLs to backend services which
handle the actual requests. The target HTTPS proxy also points to at most 15 SSL
certificates used for server-side authentication. The target HTTPS proxy can be
associated with at most one SSL policy.
gcloud compute target-https-proxies create PROXY_NAME --url-map=URL_MAP --ssl-certificates=SSL_CERTIFICATECreate a regional target HTTPS proxy by running:
gcloud compute target-https-proxies create PROXY_NAME --url-map=URL_MAP --ssl-certificates=SSL_CERTIFICATE --region=REGION_NAMENAME--url-map=URL_MAP
To set the project attribute:
--certificate-map on the command line with a
fully specified name;
--project on the command line;
core/project.
location attribute:
--certificate-map on the command line with a
fully specified name;
--certificate-map=CERTIFICATE_MAPmap attribute:
--certificate-map on the command line.
--description=DESCRIPTION--http-keep-alive-timeout-sec=HTTP_KEEP_ALIVE_TIMEOUT_SEC--quic-override=QUIC_OVERRIDE; default="NONE"QUIC_OVERRIDE must be one of:
DISABLEENABLENONE
To set the project attribute:
--server-tls-policy on the command line with a
fully specified name;
--project on the command line;
core/project.
location attribute:
--server-tls-policy on the command line with a
fully specified name;
--region on the command line;
--server-tls-policy=SERVER_TLS_POLICYserver_tls_policy attribute:
--server-tls-policy on the command line.
--ssl-policy=SSL_POLICY--tls-early-data=TLS_EARLY_DATATLS_EARLY_DATA must be one
of:
DISABLEDPERMISSIVESTRICT
To set the project attribute:
--certificate-manager-certificates on the
command line with a fully specified name;
--project on the command line;
core/project.
location attribute:
--certificate-manager-certificates on the
command line with a fully specified name;
--certificate-manager-certificates=[CERTIFICATE_MANAGER_CERTIFICATES,…]certificate attribute:
provide the argument --certificate-manager-certificates on the
command line.
--ssl-certificates=SSL_CERTIFICATE,[…]--global--region=REGION
To avoid prompting when this flag is omitted, you can set the
property:
compute/region
gcloud config set compute/region REGIONA list of regions can be fetched by running:
gcloud compute regions listTo unset the property, run:
gcloud config unset compute/regionCLOUDSDK_COMPUTE_REGION.
At most one of these can be specified:
--global-ssl-certificates--ssl-certificates-region=SSL_CERTIFICATES_REGION
To avoid prompting when this flag is omitted, you can set the
property:
compute/region
gcloud config set compute/region REGIONA list of regions can be fetched by running:
gcloud compute regions listTo unset the property, run:
gcloud config unset compute/regionCLOUDSDK_COMPUTE_REGION.
At most one of these can be specified:
--global-ssl-policy--ssl-policy-region=SSL_POLICY_REGIONcompute/region property value for this command invocation.
--global-url-map--url-map-region=URL_MAP_REGIONcompute/region property value for this command invocation.
--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.
gcloud alpha compute target-https-proxies creategcloud beta compute target-https-proxies creategcloud preview compute target-https-proxies 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-05-27 UTC.