You are here

shield.schema.yml in Shield 8

config/schema/shield.schema.yml

File

config/schema/shield.schema.yml
View source
  1. # Schema for the configuration files of the shield module.
  2. shield.settings:
  3. type: config_object
  4. label: 'Shield settings'
  5. mapping:
  6. shield_enable:
  7. type: boolean
  8. label: 'Enable shield'
  9. credential_provider:
  10. type: 'string'
  11. label: 'Credential provider'
  12. credentials:
  13. type: sequence
  14. label: 'Credentials'
  15. sequence:
  16. type: shield.credentials.[%key]
  17. allow_cli:
  18. type: boolean
  19. label: 'CLI bypass'
  20. print:
  21. type: string
  22. label: 'The greeting text, [user] and [pass] tokens are usable.'
  23. whitelist:
  24. type: string
  25. label: 'Bypass shield based on user IP'
  26. domains:
  27. type: text
  28. label: 'Bypass shield based on domain name'
  29. shield.credentials.shield:
  30. type: mapping
  31. label: 'Shield credentials'
  32. mapping:
  33. user:
  34. type: string
  35. label: 'Username'
  36. pass:
  37. type: string
  38. label: 'Password'
  39. shield.credentials.key:
  40. type: mapping
  41. label: 'Shield credentials with Key Module'
  42. mapping:
  43. user:
  44. type: string
  45. label: 'Username'
  46. pass_key:
  47. type: string
  48. label: 'Password key'
  49. shield.credentials.multikey:
  50. type: mapping
  51. label: 'Shield credentials with Key Module (user/password keys)'
  52. mapping:
  53. user_pass_key:
  54. type: string
  55. label: 'User/Password key'