how to manage secure application API keys with Chef

Elliot Larson

I have an application I'd like to provision a VPS server for using Chef. My application uses a file that sets up environment variables containing secure API keys for various third party services. I could just manually add this to the server, but it seems like something I should automate with Chef. However, I plan on keeping my "kitchen", or set of cookbooks for provisioning the application server, in a Git repo. I don't want to add these API keys to the repo. What's the best way to keep these out of the kitchen's repo but available to Chef for provisioning?

StephenKing

Use chef-vault!

It uses the PKI that you already have through Chef Client's certificates and is way more flexible and easier to manage than encrypted data bags.

There's also a very detailed post by Joshua Timberman entitled Managing Secrets with Chef Vault.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How does the firebase authentication and realtime application database secure itself?

分類Dev

How does the firebase authentication and realtime application database secure itself?

分類Dev

How to manage real time update on xamarin forms application?

分類Dev

How do you manage the underlying codebase for a versioned API?

分類Dev

How to manage click on marker which is not in Cluster in Android Google Map API?

分類Dev

How to push code to Github hiding the API keys?

分類Dev

How to push code to Github hiding the API keys?

分類Dev

How to push code to Github hiding the API keys?

分類Dev

django restful api - how to serialize foreign keys

分類Dev

Secure my API with an API key

分類Dev

Can I use kwallet to manage PGP keys?

分類Dev

How is the system kept secure?

分類Dev

How cookbooks are stored on the Chef Server

分類Dev

How to manage logging in curses

分類Dev

How to manage precedence in argparse?

分類Dev

How to manage multiple promises

分類Dev

How to manage Feign errors?

分類Dev

How to manage fonts in emacs?

分類Dev

How do I securely use Google API Keys

分類Dev

How does Gatsby hide API-keys on the frontend

分類Dev

How to manage Markers well using google maps api v2 on android

分類Dev

How to search item in a Clutter folder using ews manage api c#

分類Dev

How to manage client/server session data using jersey 2.19 REST API

分類Dev

How to hide the API key in my Electron application?

分類Dev

How to secure database passwords in PHP?

分類Dev

How to secure Laravel Glide library?

分類Dev

Securing API keys in Nuxtjs

分類Dev

How to redirect both secure and non-secure root to a login page

分類Dev

How to manage service workers in chrome?

Related 関連記事

ホットタグ

アーカイブ