cpauthpol

The cpauthpol command copies an existing authentication policy to a new policy. You can only copy a policy within the same storage complex. Copying between different storage complexes is not supported.

Read syntax diagramSkip visual syntax diagram cpauthpol  -name  new_pol_name  pol_name  "-"

Parameters

-name new_pol_name
(Required) The new name for the (copied) authentication policy.
pol_name |   -  
(Required) The name of the existing authentication policy that is being copied. If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example: Copying an existing authentication policy to a new policy.

dscli> cpauthpol –name my_policy4 my_policy2
Output:
New authentication policy my_policy4 successfully copied.