github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_import_keys.md (about)

     1  ## nsc import keys
     2  
     3  Imports all nkeys found in a directory
     4  
     5  ### Synopsis
     6  
     7  Imports all nkeys found in a directory
     8  
     9  ```
    10  nsc import keys [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16  nsc import keys --dir <path>
    17  nsc import keys --recursive --dir <path>
    18  
    19  ```
    20  
    21  ### Options
    22  
    23  ```
    24    -d, --dir string   directory to import keys from
    25    -h, --help         help for keys
    26    -R, --recurse      recurse directories
    27  ```
    28  
    29  ### Options inherited from parent commands
    30  
    31  ```
    32        --config-dir string     nsc config directory
    33        --data-dir string       nsc data store directory
    34    -i, --interactive           ask questions for various settings
    35        --keystore-dir string   nsc keystore directory
    36    -K, --private-key string    Key used to sign. Can be specified as role (where applicable),
    37                                public key (private portion is retrieved)
    38                                or file path to a private key or private key 
    39  ```
    40  
    41  ### SEE ALSO
    42  
    43  * [nsc import](nsc_import.md)	 - Import assets such as nkeys
    44  
    45  ###### Auto generated by spf13/cobra on 25-Feb-2022