1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-24 22:17:35 +00:00

minio does not show the password login by default when OIDC is setup

we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
This commit is contained in:
Girish Ramakrishnan
2024-02-20 11:02:56 +01:00
parent 569e830514
commit 316047b1d3
8 changed files with 72 additions and 61 deletions

View File

@@ -1,21 +1,19 @@
<nosso>
Please use the following credentials to login:
**Username**: minioadmin<br/>
**Password**: minioadmin<br/>
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
</nosso>
<sso>
By default, Cloudron users have `readwrite` access policy.
If you'd like to change it, you should create a respective policy by following [Minio documentation](https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html)
After that you should add the variable `MINIO_IDENTITY_OPENID_ROLE_POLICY` in /app/data/env.sh, e.g.
Please use the following credentials to login via 'Other Authentication Methods' -> 'Use Credentials':
```
export MINIO_IDENTITY_OPENID_ROLE_POLICY="new-policy-name"
```
**Username**: minioadmin<br/>
**Password**: See `MINIO_ROOT_PASSWORD` in `/app/data/env.sh` <a href="/frontend/filemanager.html#/viewer/app/$CLOUDRON-APP-ID/env.sh">Open File Manager</a><br/>
Where `new-policy-name` is the policy you have created.
Cloudron users have `readwrite` access policy. See the [docs](https://cloudron.io/documentation/apps/minio/#admin-credentials) on how to change it.
Be sure to restart the app after making changes.
</sso>
</nosso>