Currently are using a file 'graphman.configuration" with hardcoded data.
Is there a way to have this as user/password input when running command
example
# graphman import –gateway default –using install-bunble –options.schema v11.1.1 –input graphmantimporttest.json –username {{username}} –password {{password}}
Gateway 11.1
Specify username & credentials as cli arguments as followed:
Specify the profile name from graphman.configuration file
{
"gateways": {
"<default-gw1>": {
"address": "https://<gateway_hostname>:8443/graphman",
"username": "blank",
"password": "blank",
"rejectUnauthorized": false,
"keyFilename": null,
"certFilename": null,
"passphrase": "<passphrase>",
"allowMutations": true
},
Example command line:
graphman export --gateway <default-gw1> --gateways.<default-gw1>.username <username> --gateways.<default-gw1>.password <pw_value> --using trustedCertsByDn --variables.subjectDn "CN=<certificate subjectDN>"