github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/license/put.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: license put' 4 sidebar_title: put 5 description: | 6 The license put command is used to set the Nomad Enterprise license. 7 --- 8 9 # Command: license put 10 11 The `license put` command is used to set the Nomad Enterprise license. 12 13 ~> License commands are new in Nomad 0.12.0 and are only available with Nomad 14 Enterprise. 15 16 ## Usage 17 18 ```plaintext 19 nomad license put 20 ``` 21 22 When ACLs are enabled, this command requires a token with the 'operator:write' 23 capability. 24 25 ## General Options 26 27 @include 'general_options_no_namespace.mdx' 28 29 ## Put Options 30 31 ```plaintext 32 Install a new license from a file: 33 34 $ nomad license put <path> 35 36 Install a new license from stdin: 37 38 $ nomad license put - 39 ``` 40 41 ## Examples 42 43 Set a license using a path 44 45 ```shell-session 46 $ nomad license put /path/to/my/license.txt 47 ``` 48 49 Set a license using a path 50 51 ```shell-session 52 $ nomad license put - 53 54 02MV4UU43BK5HGYYTOJZWFQMTMNNEWU33JLJKES6S2NJMXUWLKIV2E2RCCNRMXSMBQLJKFSM2MK5KTKTLKLF2FS6SJPFNFIYZVJV5GI2S2K5LGUSLJO5UVSM2WPJSEOOLULJMEUZTBK5IWST3JJF5E4VCBPJHFIWTMJZJTANCZK5LGUTCXJJVVU2SRORHUIVLYJVBTC2KNNJATCTKEMM2VSMSONBNEISLJJRBUU4DCNZHDAWKXPBZVSWCSOBRDENLGMFLVC2KPNFEXCSLJO5UWCWCOPJSFOVTGMRDWY5C2KNETMSLKJF3U22SBORGUIVLUJVCGQVKNKRITMTLKJU3E26TDOVHHURJRJVVEC52NPJATGV3JJFZUS3SOGBMVQSRQLAZVE4DCK5KWST3JJF4U2RCJO5GFIQJRJRKECNCWIRAXOT3KIF3U62SBO5LWSSLTJFWVMNDDI5WHSWKYKJYGEMRVMZSEO3DULJJUSNSJNJEXOTLKIF2E2RCVORGUI3CVJVCECNSNIRATMTKEIJQUS2LXNFSEOVTZMJLWY5KZLBJHAYRSGVTGIR3MORNFGSJWJFVES52NNJAXITKEKV2E2VCCKVGUIQJWJVCECNSNIRBGCSLJO5UWGSCKOZNEQVTKMRBUSNSJNU2XMYSXIZVUS2LXNFNG26DILIZU22KPNZZWSYSXHFVWIV3YNRRXSSJWK54UU3TCGNNGYY3NGVUGE3KONRGFQQ 55 56 <ctrl-d> 57 ```