Get

Purpose: Get command can be used to read configuration specific to an application.  It also allows narrowing of search within a server, region or environment Syntax: Get /app:id|name [/server:id|name|*] [/env:id|name|*] [/region:id|name|*] [/unprotect:publicKey] Example, for user konfdbuser created using NewUser command and applications configured (using NewApp) and parameters added (using NewParam and NewMap), the command executed below get /app:1 […]

GetApp

Purpose: The GetApp gets application information by application id or name. Syntax: GetApp { /name:ApplicationName | /id:ApplicationId } Example, Example, for user konfdbuser created using NewUser command and applications added (using NewApp), the command executed below GetApps /id:1 will give output { “ApplicationName”: “*”, “Description”: “All Applications in Suite KonfDB”, “ApplicationId”: 1 }

GetApps

Purpose: The GetApps command provides applications configured for a suite.  This command will provide output only if the user is authorized to access configuration of the suite. Syntax: GetApps /sid:SuiteId Example, Example, for user konfdbuser created using NewUser command and applications added (using NewApp), the command executed below GetApps /sid:1 will give output [ { “ApplicationName”: “*”, […]

GetEnv

Purpose: The GetEnv command provides environment information by id or name. Syntax: GetEnv { /name:EnvironmentName | /id:EnvironmentId } Example, Example, for user konfdbuser created using NewUser command and environments added (using NewEnv), the command executed below GetEnv /id:1 will give output { “EnvironmentName”: “*”, “EnvironmentType”: “PROD”, “EnvironmentId”: 1 }        

GetEnvs

Purpose: The GetEnvs command provides environments for a suite.  This command will provide output only if the user is authorized to access configuration of the suite. Syntax: GetEnvs /sid:SuiteId Example, Example, for user konfdbuser created using NewUser command and environments added (using NewEnv), the command executed below GetEnvs /sid:1 will give output [ { “EnvironmentName”: “*”, […]

GetParamLike

Purpose: Get the configuration parameters of a suite that start with a text.  This is like a wild card search. Syntax: GetParamLike /sid:suiteId /name:NameStartsWith [/pk:publicKey] Example, For the suite KonfDB (id: 1) configured (using NewParam and NewMap commands), the command getparamlike /sid:1 /name:Twitter will give an output [ { “ParameterId”: 1, “ParameterName”: “TwitterUrl”, “ParameterValue”: “http://www.twitter.com/konfdb”, […]

GetMap

Purpose: Get the configuration parameters and their mapping of a suite Syntax: GetMap /sid:suiteId Example, For the suite KonfDB (id: 1) configured (using NewParam and NewMap commands), the command GetMap /sid:1   will give output [ { “SuiteId”: 1, “EnvironmentId”: 1, “ApplicationId”: 1, “RegionId”: 1, “ServerId”: 2, “ParameterId”: 1 }, { “SuiteId”: 1, “EnvironmentId”: 1, “ApplicationId”: […]

GetParam

Purpose: Get the configuration parameter value in encrypted or unencrypted format Syntax: GetParam { /name:ParameterName | /id:ParameterId } [/pk:publicKey] Example, For the suite KonfDB (id: 1) configured (using NewParam and NewMap commands), to get the value of TwitterPassword, the command GetParam /name:TwitterPassword will give an output, { “ParameterId”: 2, “ParameterName”: “TwitterPassword”, “ParameterValue”: “RbEXteXuMSi4t4S5CLhQ2XG/WsJgos3dNwUiH5+cA1VaVqPJWIzIM0sEny0KPJ3hqQhCdzFVgnxNYxUetIz0i7YLITuiXNfZgXWAAgjcq2v0mYd5x732NSGYboqMxBTSeTEV2pdz83xhxz6GwAlcPwliUyHfrcrkZeb4dFn7yC0=”, “IsEncrypted”: true […]

GetParams

Purpose: Get the configuration parameters of a suite Syntax: GetParams /sid:suiteId [/pk:publicKey] Example, For the suite KonfDB (id: 1) configured (using NewParam and NewMap commands), the command GetParams /sid:1 will give output, [ { “ParameterId”: 1, “ParameterName”: “TwitterUrl”, “ParameterValue”: “http://www.twitter.com/konfdb”, “IsEncrypted”: false }, { “ParameterId”: 2, “ParameterName”: “TwitterPassword”, “ParameterValue”: “RbEXteXuMSi4t4S5CLhQ2XG/WsJgos3dNwUiH5+cA1VaVqPJWIzIM0sEny0KPJ3hqQhCdzFVgnxNYxUetIz0i7YLITuiXNfZgXWAAgjcq2v0mYd5x732NSGYboqMxBTSeTEV2pdz83xhxz6GwAlcPwliUyHfrcrkZeb4dFn7yC0=”, “IsEncrypted”: true }, { “ParameterId”: […]

GetRegion

Purpose: The GetRegion command provides region information by region id or name.  This command will provide output only if the user is authorized to access configuration of the suite. Syntax: GetRegion { /name:RegionName | /id:RegionId } Example, Example, for user konfdbuser created using NewUser command and regions added (using NewRegion), the command executed below getregion /id:1 will […]