Skip to content

Commit 25b89d1

Browse files
Update ECK documentation for rotating credentials. (#3488)
## Question - Do we want to also document how to rotate the Kibana encryption keys? Related: elastic/cloud-on-k8s#8839 --------- Signed-off-by: Michael Montgomery <[email protected]> Co-authored-by: shainaraskas <[email protected]>
1 parent b6eb1ba commit 25b89d1

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

deploy-manage/users-roles/cluster-or-deployment-auth/managed-credentials-eck.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,30 @@ If you are using the `elastic` user credentials in your own applications, they w
6868

6969
To regenerate all auto-generated credentials in a namespace, run the following command:
7070

71+
::::{warning}
72+
The following command regenerates auto-generated credentials of **all** {{stack}} applications in the namespace.
73+
::::
74+
75+
::::{applies-switch}
76+
77+
:::{applies-item} { "eck": "ga 3.2" }
78+
In ECK versions 3.2 and beyond:
79+
7180
```sh
7281
kubectl delete secret -l eck.k8s.elastic.co/credentials=true
7382
```
7483

75-
::::{warning}
76-
This command regenerates auto-generated credentials of **all** {{stack}} applications in the namespace.
84+
:::
85+
86+
:::{applies-item} { "eck": "ga 3.1" }
87+
In ECK versions prior to 3.2:
88+
89+
```sh
90+
kubectl delete secret -l eck.k8s.elastic.co/credentials=true,common.k8s.elastic.co/type!=kibana
91+
```
92+
93+
:::
94+
7795
::::
7896

7997
### Control the length of auto-generated passwords

0 commit comments

Comments
 (0)