github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/configuration/sentinel.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: sentinel Stanza - Agent Configuration
     4  description: >-
     5    The "sentinel" stanza configures the Nomad agent for Sentinel policies and
     6    tune various parameters.
     7  ---
     8  
     9  # `sentinel` Stanza
    10  
    11  <Placement groups={['sentinel']} />
    12  
    13  The `sentinel` stanza configures the Sentinel policy engine and tunes various parameters.
    14  
    15  ```hcl
    16  sentinel {
    17      import "custom-plugin" {
    18          path = "/usr/bin/sentinel-custom-plugin"
    19          args = ["-verbose", "foo"]
    20      }
    21  }
    22  ```
    23  
    24  ## `sentinel` Parameters
    25  
    26  - `import` <code>([Import](#import-parameters): nil)</code> -
    27    Specifies a plugin that should be made available for importing by Sentinel policies.
    28    The name of the import matches the name that can be imported.
    29  
    30  ### `import` Parameters
    31  
    32  - `path` `(string: "")` - Specifies the path to the import plugin. Must be executable by Nomad.
    33  
    34  - `args` `(array<string>: [])` - Specifies arguments to pass to the plugin when starting it.