A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.hashicorp.com/nomad/docs/commands/acl/policy/apply below:

nomad acl policy apply command reference | Nomad

nomad acl policy apply command reference

The acl policy apply command is used to create or update ACL policies.

nomad acl policy apply [options] <name> <path>

The acl policy apply command requires two arguments, the policy name and path to file. The policy can be read from stdin by setting the path to "-".

This command requires a management ACL token.

Create a new ACL Policy:

$ nomad acl policy apply my-policy my-policy.json
Successfully wrote 'my-policy' ACL policy!

Associate an ACL Policy with a specific task:

$ nomad acl policy apply \
    -namespace default -job example -group cache -task redis \
    my-policy my-policy.json
Successfully wrote 'my-policy' ACL policy!

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4