github.com/smintz/nomad@v0.8.3/website/source/docs/commands/acl/policy-info.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: acl policy info"
     4  sidebar_current: "docs-commands-acl-policy-info"
     5  description: >
     6    The policy info command is used to fetch information on an existing ACL
     7    policy.
     8  ---
     9  
    10  # Command: acl policy info
    11  
    12  The `acl policy info` command is used to fetch information on an existing ACL
    13  policy.
    14  
    15  ## Usage
    16  
    17  ```
    18  nomad acl policy info <name>
    19  ```
    20  
    21  The `acl policy info` command requires the policy name.
    22  
    23  ## General Options
    24  
    25  <%= partial "docs/commands/_general_options" %>
    26  
    27  ## Examples
    28  
    29  Fetch information on an existing ACL Policy:
    30  
    31  ```
    32  $ nomad acl policy info my-policy
    33  Name        = my-policy
    34  Description = <none>
    35  Rules       = {
    36    "Name": "my-policy",
    37    "Description": "This is a great policy",
    38    "Rules": "list_jobs"
    39  }
    40  CreateIndex = 749
    41  ModifyIndex = 758
    42  ```