Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Administering ActiveSpaces with the Admin CLI : define | create security_policy

define | create security_policy
Admin CLI Command
Syntax
(define | create) security_policy [policy_name <string>]
[encrypt <boolean>][validity_days <integer>] policy_file <string>
Purpose
Use the define | create security_policy command to create a security policy file.
Parameters
The following table lists the parameters for this command with a description of each parameter.
If you enter the command in this way, the encrypt setting defaults to false: then if you specify one domain, you are prompted to enter and verify the password for that domain. If you specify multiple domains, you are prompted to enter and verify the password for each domain.
If you specify encrypt=false, then ActiveSpaces creates all domains is created with an unencrypted ID, which requires no password, and you are not prompted for a password.
If you specify encrypt false, the domain does not require a password, and as-admin creates an unencrypted private key in the policy file.
Example
create security_policy policy_name 'mypolicy' policy_file 'policy.txt'
 
create security_policy policy_name 'mypolicy' encrypt false policy_file 'policy.txt'
 
The following examples illustrate the syntax of the define | create security_policy command:

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved