|
116 | 116 | .. versionchanged:: 3001
|
117 | 117 |
|
118 | 118 | policies
|
119 |
| - Policies that are assigned to minions when requesting a token. These can |
120 |
| - either be static, eg saltstack/minions, or templated with grain values, |
121 |
| - eg, ``my-policies/{grains[os]}``. ``{minion}`` is shorthand for grains[id], |
122 |
| - ``saltstack/minion/{minion}``. . |
| 119 | + Policies that are assigned to minions when requesting a token. These |
| 120 | + can either be static, eg ``saltstack/minions``, or templated with grain |
| 121 | + values, eg ``my-policies/{grains[os]}``. ``{minion}`` is shorthand for |
| 122 | + ``grains[id]``, eg ``saltstack/minion/{minion}``. |
| 123 | +
|
| 124 | + .. important:: |
| 125 | +
|
| 126 | + See :ref:`Is Targeting using Grain Data Secure? |
| 127 | + <faq-grain-security>` for important security information. In short, |
| 128 | + everything except ``grains[id]`` is minion-controlled. |
123 | 129 |
|
124 | 130 | If a template contains a grain which evaluates to a list, it will be
|
125 | 131 | expanded into multiple policies. For example, given the template
|
|
135 | 141 | The minion will have the policies ``saltstack/by-role/web`` and
|
136 | 142 | ``saltstack/by-role/database``.
|
137 | 143 |
|
138 |
| - Optional. If policies is not configured, ``saltstack/minions`` and |
139 |
| - ``saltstack/{minion}`` are used as defaults. |
140 |
| -
|
141 | 144 | .. note::
|
142 | 145 |
|
143 |
| - list members which do not have simple string representations, |
| 146 | + List members which do not have simple string representations, |
144 | 147 | such as dictionaries or objects, do not work and will
|
145 | 148 | throw an exception. Strings and numbers are examples of
|
146 | 149 | types which work well.
|
147 | 150 |
|
| 151 | + Optional. If policies is not configured, ``saltstack/minions`` and |
| 152 | + ``saltstack/{minion}`` are used as defaults. |
| 153 | +
|
148 | 154 | keys
|
149 | 155 | List of keys to use to unseal vault server with the vault.unseal runner.
|
150 | 156 |
|
|
0 commit comments