gcloud alpha app domain-mappings - view and manage your App Engine domain mappings
gcloud alpha app domain-mappings COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) This set of commands can be used to view and manage your app's domain mappings.
App Engine Domain Mappings allow an application to be served via one or many custom domains, such as example.com, instead of the default https://<PROJECT-ID>.<REGION-ID>.r.appspot.com address. You can use a custom domain with or without SSL.
Use the AUTOMATIC management type to automatically provision an SSL certificate for your domain. Use the MANUAL management type to provide your own certificate or omit SSL.
To list your App Engine domains, run:
$ gcloud alpha app domain-mappings list
To create a domain with an automatically managed certificate, run:
$ gcloud alpha app domain-mappings create 'example.com' \ --certificate-management=AUTOMATIC
To create a domain with a manual certificate, run:
$ gcloud alpha app domain-mappings create 'example.com' \ --certificate-management=manual --certificate-id=1234
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
(ALPHA) Creates a domain mapping.
- delete
(ALPHA) Deletes a specified domain mapping.
- describe
(ALPHA) Describes a specified domain mapping.
- list
(ALPHA) Lists domain mappings.
- update
(ALPHA) Updates a domain mapping.
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. These variants are also available:
$ gcloud app domain-mappings
$ gcloud beta app domain-mappings