0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/packages/api/test/integration/config/token.jwt.yaml

27 lines
474 B
YAML

security:
api:
jwt:
sign:
expiresIn: 5m
# to avoid invalid verification token, more info on JWT page
notBefore: 0
storage: ./storage
auth:
htpasswd:
file: ./htpasswd
packages:
'@token/*':
access: $authenticated
publish: $authenticated
'only-you-can-publish':
access: $authenticated
publish: $authenticated
log: { type: stdout, format: pretty, level: debug }
## enable token for testing
flags:
token: true