| Products | Versions |
|---|---|
| TIBCO Streaming | 10 |
How do we configure a user in AMS with privileges to deploy artifact files to a secure TIBCO Streaming server?
epadmin servicename=A.X add user realm=default-realm username=deployer password=deployer roles=administratorThis user may be used to deploy from AMS as well as for normal administrative commands.
epadmin password=mypass install node nodename=A.X application=app.zipAfter install completes the installation user's password will be 'mypass' in this example, and the installation user's username and this password may be used in AMS to deploy artifacts.
epadmin servicename=A.X display node [A.X] Node Name = A.X [A.X] Host Name = sysname [A.X] Administration Port = 60442Note, by default the Admin Port is chosen randomly whenever a node is re-installed. To specify the port, see improvements below.
ams-server --secret create --keystore ams-keystore.ks --keystorepassword={secret}
ams-server --secret generate --keystore ams-keystore.ks --keystorepassword={secret} --mastersecretfile AMS-MasterSecret.data
com.tibco.ep.ams.configuration {
Decryption = {
masterSecretFile = "C:/tibco/sb-cep/10.5/AMS-MasterSecret.data"
}
ams-server --secret encrypt --keystore ams-keystore.ks --data deployerpass
Keystore password: {secret}
#!!uPwhLeHIKVlx2ZtzFEXAPV3GzcE0aiCJYLKGdZNxyQ==
Use the output string "#!!...==" in the Service Address "password" setting.
epadmin install node adminport=55555 nodename=A.X application=app.zip
name = "customizedrealm"
type = "com.tibco.ep.dtm.configuration.security"
version = "1.0.0"
configuration = {
RoleToPrivilegeMappings = {
privileges = {
DeployUser = [
{ resource = "artifact.load", privilege = "AdminRunCommand" }
{ resource = "artifact.activate", privilege = "AdminRunCommand" }
{ resource = "artifact.deactivate", privilege = "AdminRunCommand" }
{ resource = "artifact.register", privilege = "AdminRunCommand" }
{ resource = "artifact.remove", privilege = "AdminRunCommand" }
{ resource = "artifact.export", privilege = "AdminRunCommand" }
{ resource = "artifact.display", privilege = "AdminRunCommand" }
{ resource = "artifact.notify", privilege = "AdminRunCommand" }
]
}
}
}
epadmin servicename=A.X add user realm=default-realm username=deployer password=deployerpass roles=DeployUserReference this user in the AMS Service Address configuration as described above.