github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/acl/policy-info.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: acl policy info'
     4  sidebar_title: 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  ```plaintext
    18  nomad acl policy info <name>
    19  ```
    20  
    21  The `acl policy info` command requires the policy name.
    22  
    23  ## General Options
    24  
    25  @include 'general_options.mdx'
    26  
    27  ## Examples
    28  
    29  Fetch information on an existing ACL Policy:
    30  
    31  ```shell-sessionnomad acl policy info my-policy
    32  Name        = my-policy
    33  Description = <none>
    34  Rules       = {
    35    "Name": "my-policy",
    36    "Description": "This is a great policy",
    37    "Rules": "list_jobs"
    38  }
    39  CreateIndex = 749
    40  ModifyIndex = 758
    41  ```