gcloud alpha compute target-ssl-proxies create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha compute target-ssl-proxies create - create a target SSL proxy
- SYNOPSIS
gcloud alpha compute target-ssl-proxies create
NAME
--backend-service
=BACKEND_SERVICE
(--certificate-map
=CERTIFICATE_MAP
--ssl-certificates
=SSL_CERTIFICATE
,[…])[--description
=DESCRIPTION
][--proxy-header
=PROXY_HEADER
; default="NONE"][--ssl-policy
=SSL_POLICY
][--global-ssl-policy
|--ssl-policy-region
=SSL_POLICY_REGION
][GCLOUD_WIDE_FLAG …
]
- DESCRIPTION
(ALPHA)
gcloud alpha compute target-ssl-proxies create
is used to create target SSL proxies. A target SSL proxy is referenced by one ormore forwarding rules which define which packets the proxy is responsible forrouting. The target SSL proxy points to a backend service which handle theactual requests. The target SSL proxy also points to at most 15 SSL certificatesused for server-side authentication or one certificate map. The target SSL proxycan be associated with at most one SSL policy.- POSITIONAL ARGUMENTS
NAME
- Name of the target SSL proxy to create.
- REQUIRED FLAGS
--backend-service
=BACKEND_SERVICE
- A backend service that will be used for connections to the target SSL proxy.
- At least one of these must be specified:
- Certificate map resource - The certificate map to attach. This represents aCloud resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.
To set the
project
attribute:- provide the argument
--certificate-map
on the command line with afully specified name; - provide the argument
--project
on the command line; - set the property
core/project
.
To set the
location
attribute:- provide the argument
--certificate-map
on the command line with afully specified name; - default value of location is [global].
--certificate-map
=CERTIFICATE_MAP
- ID of the certificate map or fully qualified identifier for the certificate map.
To set the
map
attribute:- provide the argument
--certificate-map
on the command line.
- provide the argument
- provide the argument
--ssl-certificates
=SSL_CERTIFICATE
,[…]- References to at most 15 SSL certificate resources that are used for server-sideauthentication. The first SSL certificate in this list is considered the primarySSL certificate associated with the load balancer. The SSL certificates mustexist and cannot be deleted while referenced by a target SSL proxy.
- Certificate map resource - The certificate map to attach. This represents aCloud resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.
- OPTIONAL FLAGS
--description
=DESCRIPTION
- An optional, textual description for the target SSL proxy.
--proxy-header
=PROXY_HEADER
; default="NONE"- The type of proxy protocol header to be sent to the backend.
PROXY_HEADER
must be one of:NONE
- No proxy header is added.
PROXY_V1
- Enables PROXY protocol (version 1) for passing client connection information.
--ssl-policy
=SSL_POLICY
- A reference to an SSL policy resource that defines the server-side support forSSL features and affects the connections between clients and load balancers thatare using the SSL proxy. The SSL policy must exist and cannot be deleted whilereferenced by a target SSL proxy.
- At most one of these can be specified:
--global-ssl-policy
- If set, the SSL policy is global.
--ssl-policy-region
=SSL_POLICY_REGION
- Region of the SSL policy to operate on. Overrides the default
compute/region
property value for this command invocation.
- 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 help
for details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputetarget-ssl-proxiescreate
gcloudbetacomputetarget-ssl-proxiescreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.