github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/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  This command requires a management ACL token or a token that has the
    24  associated policy.
    25  
    26  ## General Options
    27  
    28  @include 'general_options_no_namespace.mdx'
    29  
    30  ## Examples
    31  
    32  Fetch information on an existing ACL Policy:
    33  
    34  ```shell-session
    35  $ nomad acl policy info my-policy
    36  Name        = my-policy
    37  Description = <none>
    38  Rules       = {
    39    "Name": "my-policy",
    40    "Description": "This is a great policy",
    41    "Rules": "list_jobs"
    42  }
    43  CreateIndex = 749
    44  ModifyIndex = 758
    45  ```