Exemple #1
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='from which to list versions',
                            positional=True,
                            required=True)
     secrets_fmt.UseVersionTable(parser)
     base.PAGE_SIZE_FLAG.SetDefault(parser, 100)
Exemple #2
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to create',
                            positional=True,
                            required=True)
     secrets_args.AddDataFile(parser)
     secrets_args.AddCreateReplicationPolicyGroup(parser)
     labels_util.AddCreateLabelsFlags(parser)
Exemple #3
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     secrets_args.AddDataFile(parser)
     secrets_args.AddCreateIfMissing(parser, resource='secret')
     secrets_args.AddLocations(parser, resource='secret')
     labels_util.AddUpdateLabelsFlags(parser)
Exemple #4
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     alias = parser.add_group(mutex=True, help='Version Aliases')
     labels_util.AddUpdateLabelsFlags(parser)
     secrets_args.AddSecretEtag(parser)
     secrets_args.AddUpdateExpirationGroup(parser)
     secrets_args.AddUpdateTopicsGroup(parser)
     secrets_args.AddUpdateRotationGroup(parser)
     map_util.AddMapUpdateFlag(alias, 'version-aliases', 'Version Aliases',
                               str, int)
     map_util.AddMapRemoveFlag(alias, 'version-aliases', 'Version Aliases',
                               str)
     map_util.AddMapClearFlag(alias, 'version-aliases', 'Version Aliases')
Exemple #5
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to delete',
                            positional=True,
                            required=True)
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     secrets_args.AddUpdateReplicationGroup(parser)
Exemple #7
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     labels_util.AddUpdateLabelsFlags(parser)
Exemple #8
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to create',
                            positional=True,
                            required=True)
     secrets_args.AddDataFile(parser, required=True)
Exemple #9
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     secrets_args.AddReplicationPolicyFile(parser, required=True)
Exemple #10
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='from which to list versions',
                            positional=True,
                            required=True)
     secrets_fmt.UseVersionTable(parser)
 def Args(parser):
   secrets_args.AddSecret(
       parser, purpose='to access', positional=True, required=True)
   secrets_fmt.UseSecretData(parser)