# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 job "cat_jwt" { type = "batch" // Tasks in this group are expected to succeed and run to completion. group "success" { vault {} // Task default_identity uses the default workload identity injected by the // server and the inherits the Vault configuration from the group. task "default_identity" { driver = "raw_exec" config { command = "cat" args = ["${NOMAD_SECRETS_DIR}/secret.txt"] } template { data = <