Site-specific implementation cookbook for interacting with Data Dog.
This cookbook is the example from my blog post about deleting attributes.
- datadog v2.1
node['datadog']['encrypted_databag']
- If your data bag items are encrypted (all or none), set this to true. Default is false.
Create a data bag called "datadog". It should have an item for the following:
- Your datadog service API key.
- Your datadog application API keys.
For example:
{
"id": "datadog",
"data": {
"api_key": "DATADOG-API-KEY",
"chef": "DATADOG-CHEF-APPLICATION_KEY"
}
}
Then upload it to the Chef Server using chef-vault
knife vault create secrets datadog --mode client -J data_bags/secrets/datadog_unencrypted.json -A ADMINUSER -S '*:*'
Author: Joshua Timberman opensource@housepub.org
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.