add jwt Properties to application.yml
This commit is contained in:
parent
2f861b40c3
commit
9c117f8ffb
1 changed files with 10 additions and 3 deletions
|
@ -21,6 +21,13 @@ logging:
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
endpoint: "http://localhost:9000" # Your MinIO endpoint URL
|
endpoint: "http://localhost:9000" # Your MinIO endpoint URL
|
||||||
access-key: ${MINIO_ACCESS_KEY} # Environment variable for the access key
|
access-key: "${MINIO_ACCESS_KEY}" # Environment variable for the access key
|
||||||
secret-key: ${MINIO_SECRET_KEY} # Environment variable for the secret key
|
secret-key: "${MINIO_SECRET_KEY}" # Environment variable for the secret key
|
||||||
bucket-name: docusphere # The bucket name you want to use
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue