You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/21 08:59:38 UTC

[GitHub] [cloudstack] weizhouapache commented on pull request #6812: Normalize encryption on global configurations values

weizhouapache commented on PR #6812:
URL: https://github.com/apache/cloudstack/pull/6812#issuecomment-1361032658

   thanks @BryanMLima 
   I will review the resuls
   
   
   > @weizhouapache Below are the output from the cases you mentioned:
   > 
   > Global configuration:
   > 
   > 1. Hidden/Secure config (Hidden are not displayed in the API)
   > 
   > ```
   > list configurations pagesize=1 page=1 category=Secure
   > {
   >   "configuration": [
   >     {
   >       "category": "Secure",
   >       "description": "Password for SMTP authentication (applies only if alert.smtp.useAuth is true).",
   >       "isdynamic": false,
   >       "name": "alert.smtp.password",
   >       "value": "84bwj4bfGYuFlRL1ZbT06Uu29pKa648Si7CSHyXvA48H+OVjKyL0/A=="
   >     }
   >   ],
   >   "count": 7
   > }
   > ```
   > 
   > 2. Normal config
   > 
   > ```
   > list configurations pagesize=1 page=1
   > {
   >   "configuration": [
   >     {
   >       "category": "Advanced",
   >       "description": "If set to true, it allows the hypervisor host name on which the VM is spawned on to be exposed to the VM",
   >       "isdynamic": true,
   >       "name": "account.allow.expose.host.hostname",
   >       "value": "false"
   >     }
   >   ],
   >   "count": 708
   > }
   > ```
   > 
   > Account/Domain configuration:
   > 
   > 1. Hidden/Secure global config (Hidden are not displayed in the API). There is no configuration within the Secure category for Account scope.
   > 
   > ```
   > list configurations domainid=52d83793-26de-11ec-8dcf-5254005dcdac  pagesize=1 page=1 category=Secure
   > {
   >   "configuration": [
   >     {
   >       "category": "Secure",
   >       "description": "Sets the bind password for LDAP",
   >       "isdynamic": true,
   >       "name": "ldap.bind.password",
   >       "scope": "domain",
   >       "value": "MKveBkFxhcKkn+Wkn96MSA=="
   >     }
   >   ],
   >   "count": 1
   > }
   > ```
   > 
   > 2. Normal global config
   > 
   > ```
   > list configurations domainid=52d83793-26de-11ec-8dcf-5254005dcdac  pagesize=1 page=1
   > {
   >   "configuration": [
   >     {
   >       "category": "Advanced",
   >       "description": "Determines whether users can view all user accounts within the same domain",
   >       "isdynamic": true,
   >       "name": "allow.user.view.all.domain.accounts",
   >       "scope": "domain",
   >       "value": "true"
   >     }
   >   ],
   >   "count": 1
   > }
   > ```
   > 
   > ```
   > list configurations accountid=af16aaed-26de-11ec-8dcf-5254005dcdac   pagesize=1 page=1
   > {
   >   "configuration": [
   >     {
   >       "category": "Advanced",
   >       "description": "If set to true, it allows the hypervisor host name on which the VM is spawned on to be exposed to the VM",
   >       "isdynamic": true,
   >       "name": "account.allow.expose.host.hostname",
   >       "scope": "account",
   >       "value": "true"
   >     }
   >   ],
   >   "count": 1
   > }
   > ```
   > 
   > 3. Other details (not in global config)
   > 
   > To be honest I did not understand what output did you needed for this one. I hope all the others were enough.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org