Skip to content

List configuration on an environment


$ skpr config list dev
 ──────────────────────────────────── ─────────────────────────────── ──────── 
  KEY (20)                             VALUE                           TYPE    
 ──────────────────────────────────── ─────────────────────────────── ────────                            system  
  clamav.default.port                  3310                            system  
  elasticsearch.default.index_prefix   dev_                            system  
  elasticsearch.default.password       [secret]                        system  
  elasticsearch.default.username       nonprod                         system  
  mount.local                          /mnt/local                      system  
  mount.private                        /mnt/private                    system  
  mount.public                         /data/app/sites/default/files   system  
  mount.temporary                      /mnt/temporary                  system  
  mysql.default.database               5r3i2vvizkqb                    system  
  mysql.default.hostname                            system  
  mysql.default.password               [secret]                        system  
  mysql.default.port                   3306                            system  
  mysql.default.readonly                            system  
  mysql.default.username               [secret]                        system  
  redis.default.endpoint                      system  
  redis.default.prefix                 drupal-example-dev-default      system                            Example                         user    
  site.secret                          [secret]                        user    
  skpr.token                           [secret]                        system  
 ──────────────────────────────────── ─────────────────────────────── ──────── 

More Information

$ skpr config list --help
usage: skpr config list <environment>

List all of the config key/value pairs for the specified environment.

  --help  Show context-sensitive help (also try --help-long and --help-man).

  <environment>  Environment as configured. Usually one of: prod/staging/dev.

User & System variables

Key/value pairs are categorized as user or system configuration items and can be stored as Secrets. The important difference is that a user will set a user config item, and Skpr will manage the system configuration items.

What's next?