From 10902da9987d866320f843304aa1ccfc27f426ef Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 11 Dec 2024 11:16:06 +0100 Subject: [PATCH] add doc --- docs/CredentialRotation.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/CredentialRotation.md b/docs/CredentialRotation.md index fb66135..e584238 100644 --- a/docs/CredentialRotation.md +++ b/docs/CredentialRotation.md @@ -1,5 +1,32 @@ # Credential Rotation +## change password step + +```mermaid +stateDiagram-v2 + noAction: no-pwd-change-needed + wait: wait-for-new-pwd + new: set-new-pwd + removeOld: remove-old-pwd + finished: new-pwd-change-finished + state configExist? <> + state valid? <> + state finished? <> + + [*] --> configExist? + configExist? --> valid?: new-password-config-exist? + configExist? --> noAction + valid? --> finished?: valid-from > now? + valid? --> wait + finished? --> finished: current > valid-from? + finished? --> new + new --> removeOld + removeOld --> [*] + finished --> [*] + noAction --> [*] + wait --> [*] +``` + ## Example Data Default