github.com/KyaXTeam/consul@v1.4.5/website/source/docs/commands/acl/acl-bootstrap.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: ACL Bootstrap"
     4  sidebar_current: "docs-commands-acl-bootstrap"
     5  ---
     6  
     7  # Consul ACL Bootstrap
     8  
     9  Command: `consul acl bootstrap`
    10  
    11  The `acl bootstrap` command will request Consul to generate a new token with unlimited privileges to use
    12  for management purposes and output its details. This can only be done once and afterwards bootstrapping
    13  will be disabled. If all tokens are lost and you need to bootstrap again you can follow the bootstrap
    14  [reset procedure](https://learn.hashicorp.com/consul/advanced/day-1-operations/acl-guide#ensure-the-acl-system-is-configured-properly).
    15  
    16  The ACL system can also be bootstrapped via the [HTTP API](/api/acl/acl.html#bootstrap-acls).
    17  
    18  ## Usage
    19  
    20  Usage: `consul acl bootstrap [options]`
    21  
    22  #### API Options
    23  
    24  <%= partial "docs/commands/http_api_options_client" %>
    25  <%= partial "docs/commands/http_api_options_server" %>
    26  
    27  The output looks like this:
    28  
    29  ```text
    30  AccessorID:   4d123dff-f460-73c3-02c4-8dd64d136e01
    31  SecretID:     86cddfb9-2760-d947-358d-a2811156bf31
    32  Description:  Bootstrap Token (Global Management)
    33  Local:        false
    34  Create Time:  2018-10-22 11:27:04.479026 -0400 EDT
    35  Policies:
    36     00000000-0000-0000-0000-000000000001 - global-management
    37  ```