1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/beta/privateca/subordinates/get-csr
2022-03-01 04:29:52 +00:00

63 lines
2.5 KiB
Text

NAME
gcloud beta privateca subordinates get-csr - get the CSR for a subordinate
certificate authority that has not yet been activated
SYNOPSIS
gcloud beta privateca subordinates get-csr
(CERTIFICATE_AUTHORITY : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Gets the PEM-encoded CSR for a subordinate certificate authority
that is pending activation. The CSR should be signed by the issuing
Certificate Authority and uploaded back to the Private CA instance using
the subordinates activate command.
EXAMPLES
To download the CSR for the 'server-tls-1' CA into a file called
'server-tls-1.csr':
$ gcloud beta privateca subordinates get-csr server-tls-1 \
--location=us > server-tls-1.csr
POSITIONAL ARGUMENTS
CERTIFICATE AUTHORITY resource - The certificate authority to get csr for.
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_AUTHORITY 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_AUTHORITY
ID of the CERTIFICATE_AUTHORITY or fully qualified identifier for the
CERTIFICATE_AUTHORITY. To set the certificate_authority attribute:
▸ provide the argument CERTIFICATE_AUTHORITY on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
The location of the CERTIFICATE_AUTHORITY. To set the location
attribute:
▸ provide the argument CERTIFICATE_AUTHORITY on the command line
with a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property privateca/location.
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 beta and might change without notice. This
variant is also available:
$ gcloud privateca subordinates get-csr