示例#1
0
 def Args(parser):
   resource_args.AddCertAuthorityPositionalResourceArg(parser, 'to activate')
   base.Argument(
       '--pem-chain',
       required=True,
       help='A file containing a list of PEM-encoded certificates, starting '
       'with the current CA certificate and ending with the root CA '
       'certificate.').AddToParser(parser)
   flags_v1.AddAutoEnableFlag(parser)
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'to update')
     base.Argument(
         '--pem-chain',
         required=False,
         help=(
             'A file containing a list of PEM-encoded certificates that '
             'represent the issuing chain of this CA.')).AddToParser(parser)
     labels_util.AddUpdateLabelsFlags(parser)
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'to undelete')
示例#4
0
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'to delete')
     flags_v1.AddIgnoreActiveCertificatesFlag(parser)
     flags_v1.AddSkipGracePeriodFlag(parser)
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'for which to get the CSR')
     parser.display_info.AddFormat("""value(pemCsr)""")
示例#6
0
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'to update')
     labels_util.AddUpdateLabelsFlags(parser)
 def Args(parser):
     resource_args.AddCertAuthorityPositionalResourceArg(
         parser, 'to disable')