- NAME
-
- gcloud certificate-manager issuance-configs create - create a Certificate Issuance Config
- SYNOPSIS
-
-
gcloud 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
- Create a new Certificate Issuance Config.
- EXAMPLES
-
To create a Certificate Issuance Config called
my-cic
, run:gcloud 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; -
provide the argument
--project
on the command line; -
set the property
core/project
.
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.
-
provide the argument
--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].
-
provide the argument
-
provide the argument
-
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.
- REQUIRED FLAGS
-
--ca-pool
=CA_POOL
-
CA Pool used for issuing certificates. For example:
gcloud 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 toP30D
. --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
-
These variants are also available:
gcloud alpha certificate-manager issuance-configs create
gcloud beta certificate-manager issuance-configs 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 2024-07-30 UTC.