bitnami-containers/.vib/jwt-cli/goss/jwt-cli.yaml

11 lines
330 B
YAML

# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
command:
# From upstream example: https://github.com/mike-engel/jwt-cli#usage-as-a-pipe
check-jwt-encode:
exec: jwt encode --secret=fake '{"hello":"world"}'
exit-status: 0
stdout:
- "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"