- NAME
- gcloud sql ssl-certs create - creates an SSL certificate for a Cloud SQL instance
- SYNOPSIS
-
gcloud sql ssl-certs create
COMMON_NAME
CERT_FILE
[--format
FORMAT
] [--help
] [--instance
INSTANCE
, -i
INSTANCE
] [--project
PROJECT_ID
] [--quiet
, -q
] [-h
]
- DESCRIPTION
- Creates an SSL certificate for a Cloud SQL instance.
- POSITIONAL ARGUMENTS
-
COMMON_NAME
-
User supplied name. Constrained to [a-zA-Z.-_ ]+.
-
CERT_FILE
-
Location of file which the private key of the created ssl-cert will be written to.
- FLAGS
-
--format
FORMAT
-
Specify a format for printed output. By default, a command-specific
human-friendly output format is used. Setting this flag to one of
the available options will serialize the result of the command in
the chosen format and print it to stdout. Supported formats are:
json
, text
, yaml
.
-
--help
-
Display detailed help.
-
--instance
INSTANCE
, -i
INSTANCE
-
Cloud SQL instance ID.
-
--project
PROJECT_ID
-
The Google Cloud Platform project name to use for this invocation. If
omitted then the current project is assumed.
-
--quiet
, -q
-
Disable all interactive prompts when running gcloud commands. If input
is required, defaults will be used, or an error will be raised.
-
-h
-
Print a summary help and exit.
- NOTES
- This command is in the Google Cloud SDK
sql
component. See
installing components
if it is not installed.