Commit c3dbb0fb authored by Bharath Vamsi Adurti's avatar Bharath Vamsi Adurti
Browse files

Documentation update for bug_2313 user management env variable

parent 810b217e
Loading
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -105,6 +105,26 @@ osm role-show <ROLE_NAME>
# The role should include the permission "users:id:patch" set to true
```

### How to update enforced password best practices

If you want to edit the default best practices enabled in osm, set the values of the following environment variables:

- "OSMNBI_PWD_EXPIRE_DAYS"
- "OSMNBI_MAX_PWD_ATTEMPT"
- "OSMNBI_ACCOUNT_EXPIRE_DAYS" 

in the nbi config map with the following command:

```bash
kubectl -n osm edit configmap nbi
```

```yaml
OSMNBI_PWD_EXPIRE_DAYS: "50"
OSMNBI_MAX_PWD_ATTEMPT: "10"
OSMNBI_ACCOUNT_EXPIRE_DAYS: "100"
```

### How to manage user password updates and user locks

- To change the default password or expired password of a user, execute the following command through CLI.