From 9c117f8ffbc979189fa1cea71c23f8afad52dc0d Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Sun, 8 Sep 2024 10:22:25 +0200 Subject: [PATCH] add jwt Properties to application.yml --- server/src/main/resources/application.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 48b9cd4..44ce95a 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -21,6 +21,13 @@ logging: minio: endpoint: "http://localhost:9000" # Your MinIO endpoint URL - access-key: ${MINIO_ACCESS_KEY} # Environment variable for the access key - secret-key: ${MINIO_SECRET_KEY} # Environment variable for the secret key - bucket-name: docusphere # The bucket name you want to use + access-key: "${MINIO_ACCESS_KEY}" # Environment variable for the access key + secret-key: "${MINIO_SECRET_KEY}" # Environment variable for the secret key + bucket-name: "docusphere" # The bucket name you want to use + +# Jwt properties +security: + jwt: + secret-key: "${JWT_SECRET_KEY}" # Environment variable for the secret key + expiration-time: 3600000 # 1 hour +