self.add_option("--user-allowed-to-authenticate-from",
help="Conditions user is allowed to authenticate from.",
type=str, dest="allowed_to_authenticate_from",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SDDL")
self.add_option("--user-allowed-to-authenticate-from-device-silo",
help="User is allowed to authenticate from a device in a silo.",
type=str, dest="allowed_to_authenticate_from_device_silo",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SILO")
self.add_option("--user-allowed-to-authenticate-from-device-group",
help="User is allowed to authenticate from a device in group.",
type=str, dest="allowed_to_authenticate_from_device_group",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="GROUP")
self.add_option("--user-allowed-to-authenticate-to",
help="Conditions user is allowed to authenticate to.",
type=str, dest="allowed_to_authenticate_to",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SDDL")
self.add_option("--user-allowed-to-authenticate-to-by-group",
help="User is allowed to authenticate to by group.",
type=str, dest="allowed_to_authenticate_to_by_group",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="GROUP")
self.add_option("--user-allowed-to-authenticate-to-by-silo",
help="User is allowed to authenticate to by silo.",
type=str, dest="allowed_to_authenticate_to_by_silo",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SILO")
class ServiceOptions(options.OptionGroup):
self.add_option("--service-allowed-to-authenticate-from",
help="Conditions service is allowed to authenticate from.",
type=str, dest="allowed_to_authenticate_from",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SDDL")
self.add_option("--service-allowed-to-authenticate-from-device-silo",
help="Service is allowed to authenticate from a device in a silo.",
type=str, dest="allowed_to_authenticate_from_device_silo",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SILO")
self.add_option("--service-allowed-to-authenticate-from-device-group",
help="Service is allowed to authenticate from a device in group.",
type=str, dest="allowed_to_authenticate_from_device_group",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="GROUP")
self.add_option("--service-allowed-to-authenticate-to",
help="Conditions service is allowed to authenticate to.",
type=str, dest="allowed_to_authenticate_to",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SDDL")
self.add_option("--service-allowed-to-authenticate-to-by-group",
help="Service is allowed to authenticate to by group.",
type=str, dest="allowed_to_authenticate_to_by_group",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="GROUP")
self.add_option("--service-allowed-to-authenticate-to-by-silo",
help="Service is allowed to authenticate to by silo.",
type=str, dest="allowed_to_authenticate_to_by_silo",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SILO")
class ComputerOptions(options.OptionGroup):
self.add_option("--computer-allowed-to-authenticate-to",
help="Conditions computer is allowed to authenticate to.",
type=str, dest="allowed_to_authenticate_to",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SDDL")
self.add_option("--computer-allowed-to-authenticate-to-by-group",
help="Computer is allowed to authenticate to by group.",
type=str, dest="allowed_to_authenticate_to_by_group",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="GROUP")
self.add_option("--computer-allowed-to-authenticate-to-by-silo",
help="Computer is allowed to authenticate to by silo.",
type=str, dest="allowed_to_authenticate_to_by_silo",
- action="callback", callback=self.set_option)
+ action="callback", callback=self.set_option,
+ metavar="SILO")
class cmd_domain_auth_policy_list(Command):
dest="description", action="store", type=str),
Option("--user-authentication-policy",
help="User account authentication policy.",
- dest="user_authentication_policy", action="store", type=str),
+ dest="user_authentication_policy", action="store", type=str,
+ metavar="USER_POLICY"),
Option("--service-authentication-policy",
help="Managed service account authentication policy.",
- dest="service_authentication_policy", action="store", type=str),
+ dest="service_authentication_policy", action="store", type=str,
+ metavar="SERVICE_POLICY"),
Option("--computer-authentication-policy",
help="Computer authentication policy.",
- dest="computer_authentication_policy", action="store", type=str),
+ dest="computer_authentication_policy", action="store", type=str,
+ metavar="COMPUTER_POLICY"),
Option("--protect",
help="Protect authentication silo from accidental deletion.",
dest="protect", action="store_true"),
dest="description", action="store", type=str),
Option("--user-authentication-policy",
help="User account authentication policy.",
- dest="user_authentication_policy", action="store", type=str),
+ dest="user_authentication_policy", action="store", type=str,
+ metavar="USER_POLICY"),
Option("--service-authentication-policy",
help="Managed service account authentication policy.",
- dest="service_authentication_policy", action="store", type=str),
+ dest="service_authentication_policy", action="store", type=str,
+ metavar="SERVICE_POLICY"),
Option("--computer-authentication-policy",
help="Computer authentication policy.",
- dest="computer_authentication_policy", action="store", type=str),
+ dest="computer_authentication_policy", action="store", type=str,
+ metavar="COMPUTER_POLICY"),
Option("--protect",
help="Protect authentication silo from accidental deletion.",
dest="protect", action="store_true"),