identity_user: support Keystone user resource options

Add an `options` parameter to the identity_user module, mapping 1:1 to
Keystone's user resource `options` field exposed by openstacksdk
(`User.options`). This allows setting options such as
`ignore_password_expiry` and `ignore_change_password_upon_first_use`.

On update, desired options are merged with the user's existing options
so that options not managed by the module are preserved, and the
operation is idempotent when the desired values already match.

Change-Id: I16cff99e86f0676a5c16121e8eca2b7a13ea9d6e
Signed-off-by: Maximilian Stinsky <maximilian.stinsky-damke@wiit.cloud>
This commit is contained in:
Maximilian Stinsky
2026-09-22 10:24:31 +02:00
parent da4a211b2d
commit cfb7a39221
3 changed files with 210 additions and 1 deletions
@@ -0,0 +1,6 @@
minor_changes:
- identity_user - Added an ``options`` parameter to set Keystone user
resource options, e.g. ``ignore_password_expiry`` and
``ignore_change_password_upon_first_use``. On update, the provided
options are merged with the user's existing options so options not
managed by this module are preserved.