-
Notifications
You must be signed in to change notification settings - Fork 152
Add documentation for managing ECK file-based password length. #3339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
naemono
wants to merge
16
commits into
elastic:eck-3.2.0
Choose a base branch
from
naemono:eck-enterprise-password-additions-v2
base: eck-3.2.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+21
−3
Open
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ee15ecc
Add documentation for managing ECK file-based password length.
naemono 29c21eb
wording changes.
naemono 4c876a0
Add back removed line
naemono 766a792
Review changes.
naemono 952f602
adjust pathing.
naemono 1e76096
Try different pathing style.
naemono ebf786e
Adjust paths again.
naemono ed2dc70
Add .md extension
naemono 3a39b08
remove unneeded line
naemono 04f2f25
review updates.
naemono b6a2315
Move applies_to
naemono bc2d0f0
Add missing end-note
naemono 8c65d15
Create new section for auto-generated passwords
naemono 08f288b
Fix typo
naemono f18d288
fix another typo
naemono 48435b0
Review changes
naemono File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -62,7 +62,6 @@ kubectl delete secret quickstart-es-elastic-user | |||||||||
If you are using the `elastic` user credentials in your own applications, they will fail to connect to {{es}} and {{kib}} after you run this command. It is not recommended to use `elastic` user credentials for production use cases. Always [create your own users with restricted roles](../../../deploy-manage/users-roles/cluster-or-deployment-auth/native.md) to access {{es}}. | ||||||||||
:::: | ||||||||||
|
||||||||||
|
||||||||||
To regenerate all auto-generated credentials in a namespace, run the following command: | ||||||||||
|
||||||||||
```sh | ||||||||||
|
@@ -99,4 +98,20 @@ For more information, refer to [External authentication](/deploy-manage/users-ro | |||||||||
|
||||||||||
ECK facilitates file-based role management through Kubernetes secrets containing the roles specification. Alternatively, you can use the Role management API or the Role management UI in {{kib}}. | ||||||||||
|
||||||||||
Refer to [Managing custom roles](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md#managing-custom-roles) for details and ECK based examples. | ||||||||||
Refer to [Managing custom roles](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md#managing-custom-roles) for details and ECK based examples. | ||||||||||
|
||||||||||
## Controlling the length of ECK-generated passwords | ||||||||||
|
||||||||||
:::{note} | ||||||||||
The ability to control the length of passwords for [file-based credentials](/deploy-manage/users-roles/cluster-or-deployment-auth/file-based.md) generated by {{eck}} requires an Enterprise license. | ||||||||||
::: | ||||||||||
|
||||||||||
```{applies_to} | ||||||||||
eck: ga 3.2 | ||||||||||
``` | ||||||||||
naemono marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||
|
||||||||||
You can control the length of generated file-based passwords in {{eck}} installations by setting either `config.policies.passwords.length` in your Helm chart values or `password-length` in the `elastic-operator` `ConfigMap` when installing with YAML manifests. Refer to the [operator configuration documentation](../../deploy/cloud-on-k8s/configure-eck.md) for details on managing these settings. | ||||||||||
|
||||||||||
:::{note} | ||||||||||
Changing these values does not update existing passwords. To rotate current credentials, refer to the [rotating credentials documentation](#k8s-rotate-credentials) | ||||||||||
::: | ||||||||||
|
:::{note} | |
Changing these values does not update existing passwords. To rotate current credentials, refer to the [rotating credentials documentation](#k8s-rotate-credentials) | |
::: | |
Changing these values does not update existing passwords. To rotate current credentials, refer to the [rotating credentials documentation](#k8s-rotate-credentials) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.