Exemplo n.º 1
0
 def Args(parser):
     resource_args.AddCertificatePositionalResourceArg(parser, 'to export')
     base.Argument(
         '--output-file',
         help='The path where the resulting PEM-encoded certificate will be '
         'written.',
         required=True).AddToParser(parser)
     base.Argument(
         '--include-chain',
         help="Whether to include the certificate\'s issuer chain in the "
         "exported file. If this is set, the resulting file will contain "
         "the pem-encoded certificate and its issuing chain, ordered from "
         "leaf to root.",
         action='store_true',
         default=False,
         required=False).AddToParser(parser)
Exemplo n.º 2
0
 def Args(parser):
     resource_args.AddCertificatePositionalResourceArg(parser, 'to update')
     labels_util.AddUpdateLabelsFlags(parser)