You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Store the access key and secret key using an [encrypted Chef data bag](https://docs.chef.io/data_bags/) or with a [secrets manager](https://docs.chef.io/infra_language/secrets/).
220
+
153
221
1. Define the `node_management_enroll` resource in your wrapper cookbook's recipe:
154
222
155
223
```ruby
@@ -162,6 +230,7 @@ To configure the cookbooks and define enrollment settings, follow these steps:
162
230
cohort_id '<COHORT_ID>'
163
231
hab_builder_url '<HABITAT_BUILDER_URL>'
164
232
working_dir_path '<VALID_DIR_PATH>'
233
+
root_ca <CHEF_360_SAAS_PUBLIC_KEY>
165
234
upgrade_skills <UPGRADE_SKILLS>
166
235
end
167
236
```
@@ -171,11 +240,12 @@ To configure the cookbooks and define enrollment settings, follow these steps:
171
240
- `<CHEF_360_FQDN>` with the fully qualified domain name (FQDN) for your Chef 360 SaaS deployment.
172
241
- `<ENROLLMENT_TYPE>` with either `full` or `partial` depending on the form of enrollment. Use `full` unless you must `partial`.
173
242
- `<API_PORT>` with the API port configured in Chef 360 SaaS. The default value is `31000`.
174
-
- `<ACCESS_KEY>` with an access key for secure communication with Chef 360 SaaS. Store securely using an [encrypted Chef data bag](https://docs.chef.io/data_bags/) or a [secrets manager](https://docs.chef.io/infra_language/secrets/).
175
-
- `<SECRET_KEY>` with a secret key for secure communication with Chef 360 SaaS. Store securely using an [encrypted Chef data bag](https://docs.chef.io/data_bags/) or a [secrets manager](https://docs.chef.io/infra_language/secrets/).
243
+
- `<ACCESS_KEY>` with the access key for secure communication with Chef 360 SaaS. Store securely using an [encrypted Chef data bag](https://docs.chef.io/data_bags/) or a [secrets manager](https://docs.chef.io/infra_language/secrets/).
244
+
- `<SECRET_KEY>` with the secret key for secure communication with Chef 360 SaaS. Store securely using an [encrypted Chef data bag](https://docs.chef.io/data_bags/) or a [secrets manager](https://docs.chef.io/infra_language/secrets/).
176
245
- `<COHORT_ID>` with a valid cohort UUID. The cohort defines all skills and settings installed on the node.
177
246
- `<HABITAT_BUILDER_URL>` with the URL of the Chef Habitat Builder used by your organization. Default value: `https://bldr.habitat.sh`
178
247
- `<VALID_DIR_PATH>` with a temporary working directory where all required builds are downloaded. Specify a valid path based on the OS. Default value: `/tmp`.
248
+
- `<CHEF_360_SAAS_PUBLIC_KEY>` with the attribute for the root CA public key. For example, `node['enroll']['root_ca']`.
179
249
- `<UPGRADE_SKILLS>` with `true` or `false`. If `true`, Chef 360 SaaS checks for the latest skill versions and installs them if found. Default value: `false`.
180
250
181
251
1. Push the wrapper cookbook or policy to the Chef Infra Server.
0 commit comments