Login Command

The login command in the tib-activate CLI tool allows you to log in using a password generated in TIBCO Activation Service. The session is valid for 12 hours and saved in the home folder.

Providing the Password

You can provide the password for login in one of the following ways: 

  • Using the -p or --password flag.

    For example:

    Copy
    tib-activate login -p "mypassword"


    User authenticated successfully.
    User session is stored at ~/.tib-activate.profile and valid until 2:00AM.

  • Using an interactive console prompt by not providing any flag. This is a secured way of providing a password.

    For example:

    Copy
    tib-activate login


    Enter Password [admin@https://activationserver.example.com:7070]: <user_input>
    User authenticated successfully. User session is stored at ~/.tib-activate.profile and valid until 2:00AM.

  • Using an environment variable by exporting the password in an environment variable with the name "LICENSE_SERVER_PASSWORD". This is not a secured way of providing a password.

    Copy
    export LICENSE_SERVER_PASSWORD="mypassword"
    tib-activate login


    User authenticated successfully. User session is stored at ~/.tib-activate.profile and valid until 2:00AM.