0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-03 23:09:17 -05:00
verdaccio/packages/server/test/token/token.spec.yaml

26 lines
492 B
YAML

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