Add SecretKeyGenerationRequired D-bus property
This commit adds SecretKeyGenerationRequired D-bus property
This D-bus property indicates whether TOTP secret key setup required for
a given user.
Change-Id: I5dbc5d2091b8d8f97295ffceec1b29cc94b85aed
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
diff --git a/yaml/xyz/openbmc_project/User/TOTPAuthenticator.interface.yaml b/yaml/xyz/openbmc_project/User/TOTPAuthenticator.interface.yaml
index 252c2cc..5b1c8a7 100644
--- a/yaml/xyz/openbmc_project/User/TOTPAuthenticator.interface.yaml
+++ b/yaml/xyz/openbmc_project/User/TOTPAuthenticator.interface.yaml
@@ -36,6 +36,16 @@
Returns true if provided OTP is valid otherwise returns false.
properties:
+ - name: SecretKeyGenerationRequired
+ type: boolean
+ default: false
+ flags:
+ - readonly
+ description: >
+ This property indicates whether TOTP authenticator secret key setup
+ required for the given user to complete Time-based One-time Password
+ authentication setup
+
- name: SecretKeyIsValid
type: boolean
default: false