mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
114 lines
4.4 KiB
Text
114 lines
4.4 KiB
Text
NAME
|
|
gcloud alpha certificate-manager issuance-configs create - create a
|
|
Certificate Issuance Config
|
|
|
|
SYNOPSIS
|
|
gcloud alpha certificate-manager issuance-configs create
|
|
(CERTIFICATE_ISSUANCE_CONFIG : --location=LOCATION) --ca-pool=CA_POOL
|
|
[--async] [--description=DESCRIPTION]
|
|
[--key-algorithm=KEY_ALGORITHM; default="rsa-2048"]
|
|
[--labels=[KEY=VALUE,...]] [--lifetime=LIFETIME; default="P30D"]
|
|
[--rotation-window-percentage=ROTATION_WINDOW_PERCENTAGE; default=66]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Create a new Certificate Issuance Config.
|
|
|
|
EXAMPLES
|
|
To create a Certificate Issuance Config called my-cic, run:
|
|
|
|
$ gcloud alpha certificate-manager issuance-configs create my-cic \
|
|
--ca-pool=my-ca-pool
|
|
|
|
POSITIONAL ARGUMENTS
|
|
CertificateIssuanceConfig resource - Name of the Certificate Issuance
|
|
Config to create. The arguments in this group can be used to specify the
|
|
attributes of this resource. (NOTE) Some attributes are not given
|
|
arguments in this group but can be set in other ways.
|
|
|
|
To set the project attribute:
|
|
◆ provide the argument certificate_issuance_config on the command line
|
|
with a fully specified name;
|
|
◆ set the property core/project;
|
|
◆ provide the argument --project on the command line.
|
|
|
|
This must be specified.
|
|
|
|
CERTIFICATE_ISSUANCE_CONFIG
|
|
ID of the certificateIssuanceConfig or fully qualified identifier for
|
|
the certificateIssuanceConfig.
|
|
|
|
To set the certificate_issuance_config attribute:
|
|
▸ provide the argument certificate_issuance_config on the command
|
|
line.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
Certificate Manager location.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument certificate_issuance_config on the command
|
|
line with a fully specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ default value of location is [global].
|
|
|
|
REQUIRED FLAGS
|
|
--ca-pool=CA_POOL
|
|
CA Pool used for issuing certificates. For example:
|
|
|
|
$ gcloud alpha certificate-manager issuance-configs create \
|
|
--ca-pool=projects/test-project/locations/us-west1/caPools/\
|
|
my-ca-pool
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--description=DESCRIPTION
|
|
Human-readable description of the resource.
|
|
|
|
--key-algorithm=KEY_ALGORITHM; default="rsa-2048"
|
|
Key algorithm to use when generating the private key. Defaults to
|
|
rsa-2048. KEY_ALGORITHM must be one of: ecdsa-p256, rsa-2048.
|
|
|
|
--labels=[KEY=VALUE,...]
|
|
List of label KEY=VALUE pairs to add.
|
|
|
|
Keys must start with a lowercase character and contain only hyphens
|
|
(-), underscores (_), lowercase characters, and numbers. Values must
|
|
contain only hyphens (-), underscores (_), lowercase characters, and
|
|
numbers.
|
|
|
|
--lifetime=LIFETIME; default="P30D"
|
|
Lifetime of issued certificates in ISO 8601 format. Use gcloud topic
|
|
datetimes for details. Defaults to P30D.
|
|
|
|
--rotation-window-percentage=ROTATION_WINDOW_PERCENTAGE; default=66
|
|
How long along the lifetime of the ceritificate to renew, expressed as
|
|
a percentage. Defaults to 66.
|
|
|
|
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.
|
|
|
|
API REFERENCE
|
|
This command uses the certificatemanager/v1 API. The full documentation for
|
|
this API can be found at: https://cloud.google.com/certificate-manager
|
|
|
|
NOTES
|
|
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 certificate-manager issuance-configs create
|
|
|
|
$ gcloud beta certificate-manager issuance-configs create
|
|
|