Hi
adding a service in maxscale with dynamic change is necessary to add the user and password. Passing the Encrypted password to the command, end up to confirm the service has been created but the password on the /var/lib/maxscale/maxscale.cnf.d/Read-Service.cnf end up to show store as clear password.
maxctrl create service Read-Service readconnroute user=service_user password=2KVMANFl502A2398E42A8C670825770EED948CCBD764E1B67......
OK
cat Read-Service.cnf
[Read-Service]
router_options=slave
password=This_is_my_pwd_clear
router=readconnroute
type=service
user=service_user
So the encryption is already on. There are few things to clear and update on the documentation as well:
- can i pass the encrypted pwd ?
- can i pass the clear pwd?
- how maxscale undestant if the pwd i am passing is the encrypted or not
- for sure if the encrypted is on, the file should not store the clear password
{"report":{"fcp":2760.5999999046326,"ttfb":750.2999999523163,"pageVisibility":"visible","entityId":123662,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"2e2be81d-5c98-41cd-b9a3-792722a73134","navigationType":0,"readyForUser":2875.6999999284744,"redirectCount":0,"resourceLoadedEnd":3575.6999999284744,"resourceLoadedStart":770.7999999523163,"resourceTiming":[{"duration":898.1000000238419,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":770.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":770.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1668.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":898.1000000238419,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":771.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":771.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1669.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":920.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":771.3999999761581,"connectEnd":771.3999999761581,"connectStart":771.3999999761581,"domainLookupEnd":771.3999999761581,"domainLookupStart":771.3999999761581,"fetchStart":771.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":771.3999999761581,"responseEnd":1691.6999999284744,"responseStart":1691.6999999284744,"secureConnectionStart":771.3999999761581},{"duration":1129.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":772,"connectEnd":772,"connectStart":772,"domainLookupEnd":772,"domainLookupStart":772,"fetchStart":772,"redirectEnd":0,"redirectStart":0,"requestStart":772,"responseEnd":1901.7999999523163,"responseStart":1901.7999999523163,"secureConnectionStart":772},{"duration":1140.8000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":772.1999999284744,"connectEnd":772.1999999284744,"connectStart":772.1999999284744,"domainLookupEnd":772.1999999284744,"domainLookupStart":772.1999999284744,"fetchStart":772.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":772.1999999284744,"responseEnd":1913,"responseStart":1913,"secureConnectionStart":772.1999999284744},{"duration":1141.1000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":772.3999999761581,"connectEnd":772.3999999761581,"connectStart":772.3999999761581,"domainLookupEnd":772.3999999761581,"domainLookupStart":772.3999999761581,"fetchStart":772.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":772.3999999761581,"responseEnd":1913.5,"responseStart":1913.5,"secureConnectionStart":772.3999999761581},{"duration":1141.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":772.5,"connectEnd":772.5,"connectStart":772.5,"domainLookupEnd":772.5,"domainLookupStart":772.5,"fetchStart":772.5,"redirectEnd":0,"redirectStart":0,"requestStart":772.5,"responseEnd":1914,"responseStart":1914,"secureConnectionStart":772.5},{"duration":1145.3000000715256,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":772.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":772.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1917.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":1141.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":772.7999999523163,"connectEnd":772.7999999523163,"connectStart":772.7999999523163,"domainLookupEnd":772.7999999523163,"domainLookupStart":772.7999999523163,"fetchStart":772.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":772.7999999523163,"responseEnd":1914.5999999046326,"responseStart":1914.5999999046326,"secureConnectionStart":772.7999999523163},{"duration":1145,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":773,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":773,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1918,"responseStart":0,"secureConnectionStart":0},{"duration":1142.1000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":773.0999999046326,"connectEnd":773.0999999046326,"connectStart":773.0999999046326,"domainLookupEnd":773.0999999046326,"domainLookupStart":773.0999999046326,"fetchStart":773.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":773.0999999046326,"responseEnd":1915.1999999284744,"responseStart":1915.1999999284744,"secureConnectionStart":773.0999999046326},{"duration":1695.8999999761581,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":774.5,"connectEnd":774.5,"connectStart":774.5,"domainLookupEnd":774.5,"domainLookupStart":774.5,"fetchStart":774.5,"redirectEnd":0,"redirectStart":0,"requestStart":774.5,"responseEnd":2470.399999976158,"responseStart":2470.399999976158,"secureConnectionStart":774.5},{"duration":2799.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":774.6999999284744,"connectEnd":774.6999999284744,"connectStart":774.6999999284744,"domainLookupEnd":774.6999999284744,"domainLookupStart":774.6999999284744,"fetchStart":774.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":774.6999999284744,"responseEnd":3573.899999976158,"responseStart":3573.899999976158,"secureConnectionStart":774.6999999284744},{"duration":543.6000000238419,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1972.8999999761581,"connectEnd":1972.8999999761581,"connectStart":1972.8999999761581,"domainLookupEnd":1972.8999999761581,"domainLookupStart":1972.8999999761581,"fetchStart":1972.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1972.8999999761581,"responseEnd":2516.5,"responseStart":2516.5,"secureConnectionStart":1972.8999999761581},{"duration":880.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":2694.899999976158,"connectEnd":2694.899999976158,"connectStart":2694.899999976158,"domainLookupEnd":2694.899999976158,"domainLookupStart":2694.899999976158,"fetchStart":2694.899999976158,"redirectEnd":0,"redirectStart":0,"requestStart":2694.899999976158,"responseEnd":3575.6999999284744,"responseStart":3575.6999999284744,"secureConnectionStart":2694.899999976158},{"duration":882.1999999284744,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2751.399999976158,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2751.399999976158,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3633.5999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":597,"responseStart":750,"responseEnd":771,"domLoading":754,"domInteractive":3634,"domContentLoadedEventStart":3634,"domContentLoadedEventEnd":3699,"domComplete":4569,"loadEventStart":4569,"loadEventEnd":4569,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3576},{"name":"bigPipe.sidebar-id.end","time":3576.899999976158},{"name":"bigPipe.activity-panel-pipe-id.start","time":3577.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":3580.399999976158},{"name":"activityTabFullyLoaded","time":3718.399999976158}],"measures":[],"correlationId":"b048a0c38d6868","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The passwords are now re-encrypted with the encryption key whenever they are persisted. This also causes the passwords to be stored in their encrypted form in the database for MaxScale 6.4 when configuration synchronization is used.