summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES.md
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-13 10:37:34 -0700
committerGitHub <noreply@github.com>2018-07-13 10:37:34 -0700
commitd99bc319e244e4d4fac57bc1853ea82f8b97c0e9 (patch)
tree77eac01f6baac6486308a30c8c3982f03309fb39 /RELEASE_NOTES.md
parent8baff8ae8f6dc0e88c1a467566b1ac595ceef267 (diff)
parent6fb425078b5986998c37450445f5b3ded61e02ac (diff)
downloadchef-d99bc319e244e4d4fac57bc1853ea82f8b97c0e9.tar.gz
Merge pull request #7455 from coderanger/config-commands
Add knife config get/use-profile commands
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r--RELEASE_NOTES.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index dbc44a93f3..68a31e9882 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -1,5 +1,31 @@
This file holds "in progress" release notes for the current release under development and is intended for consumption by the Chef Documentation team. Please see <https://docs.chef.io/release_notes.html> for the official Chef release notes.
+## Knife configuration profile management commands
+
+Several new commands have been added under `knife config` to help manage multiple
+profiles in your `credentials` file.
+
+`knife config get-profile` will display the active profile.
+
+`knife config use-profile PROFILE` will set the workstation-level default
+profile. That default can still be overridden by the `--profile` command line
+option or the `$CHEF_PROFILE` environment variable.
+
+`knife config list-profiles` will display all your available profiles along with
+summary information on each.
+
+```bash
+$ knife config get-profile
+staging
+$ knife config use-profile prod
+Set default profile to prod
+$ knife config list-profiles
+ Profile Client Key Server
+-----------------------------------------------------------------------------
+ staging myuser ~/.chef/user.pem https://example.com/organizations/staging
+*prod myuser ~/.chef/user.pem https://example.com/organizations/prod
+```
+
# Chef Client Release Notes 14.3:
## New Preview Resources Concept