#security-login-role-config-get and modify

1 messages · Page 1 of 1 (latest)

winged pivot
#

hi all, anyone know a method to modify the security login role config like pw min-length/digits/lowercase/...?
In the NetApp REST Documentation it looks like there is not a equivalent REST API call yet. I've already filled out the Forms for missing API calls a few months ago.

rough ridge
plucky skiff
#

Working example with rest_cli:

#

- name: Set Password Complexity (non-idempotent REST call) netapp.ontap.na_ontap_rest_cli: command: security/login/role/config verb: PATCH params: vserver: "{{ vserver }}" role: "{{ role }}" body: disallowed-reuse: 2 passwd-alphanum: enabled passwd-expiry-time: "unlimited" passwd-expiry-warn-time: "unlimited" passwd-minlength: 8 passwd-min-digits: 1 passwd-min-lowercase-chars: 1 passwd-min-special-chars: 1 passwd-min-uppercase-chars: 1 require-initial-passwd-update: enabled