digitaldemocratic/dd-sso
Evilham 8309771a1c
[sso-avatars] Also use env var for minio container
From minio's documentation:
- MINIO_ACCESS_KEY and MINIO_SECRET_KEY are deprecated in lieu of
  MINIO_ROOT_USER and MINIO_ROOT_PASSWORD respectively
- In order to rotate secrets we only need to change
  MINIO_ROOT_{USER,PASSWORD}

Using this commit and the previous one affecting keycloak we can use
per-instance keys as opposed to the current state.
In order to achieve this, AVATARS_ACCESS_KEY and AVATARS_SECRET_KEY must
be set to the desired values.

The only guidelines as to how to generate ACCESS_KEY and SECRET_KEY are:

> Specify a unique, random, and long string for both the ACCESSKEY and
> SECRETKEY. Your organization may have specific internal or regulatory
> requirements around generating values for use with access or secret keys.

See:
- https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_ACCESS_KEY
- https://docs.min.io/minio/baremetal/security/minio-identity-management/user-management.html
2022-08-08 09:40:51 +02:00
..
admin bugfix in user_parser 2022-08-06 21:47:57 +02:00
docker DD education workspace 2022-07-10 12:15:47 +02:00
docker-compose-parts [sso-avatars] Also use env var for minio container 2022-08-08 09:40:51 +02:00
init/keycloak [sso-avatars] Actually use environment variables 2022-08-06 21:47:35 +02:00
.gitignore [sso-admin] Change container not to run as root 2022-08-01 12:47:30 +02:00
.isort.cfg DD education workspace 2022-07-10 12:15:47 +02:00