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_token

define | create security_token
Admin CLI Command
Syntax
(define | create) security_token domain_name <string>
policy_file <string> [create_identity [common_name <string>]
[encrypt <boolean>][validity_days <integer>]]token_file <string>
Purpose
Use the define | create security_token command to create a security token for deployment to ActiveSpaces requestor nodes.
When you enter the command, you are prompted to enter and verify a new token password for the security token. Enter and verify the password.
Parameters
The following table lists the parameters for this command with a description of each parameter.
Optional. Enter the create_id parameter if you want to create a private key to verify the identify of connecting nodes.
Optional. If you enter the create_id parameter and you want to provide an X.509 common name to identify the private key, specify a common name. If you do not specify a common name, ActiveSpaces generates a common name that contains the domain name plus a random number; for example "/CN=AS-REQUESTOR-FEF3A467."
Optional. If you enter the create_id parameter and you want to encrypt the private key, enter encrypt true (the default setting). If you do not want to encrypt the private key, enter encrypt false. Using encrypt false eliminates having to enter the password each time the node is started.
Example
create security_token domain_name 'AS-DOMAIN' policy_file 'policy.txt' create_identity common_name 'MyRequestor-123' encrypt true validity_days 90 token_file 'mytoken'
The following examples illustrate the syntax of the define | create security_token command:

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