Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Add bin/kibana-encryption-keys #82838

Merged
merged 39 commits into from
Nov 19, 2020

Commits on Nov 6, 2020

  1. [cli] Add bin/kibana-encryption-key

    This introduces a new CLI for generating encryption keys.  Currently
    Kibana makes use of several encryption keys, in some cases randomly
    generated on startup.  Usually we want these statically defined in
    kibana.yml, and this CLI targets making this process easier.  This will
    output keys for xpack.encryptedSavedObjects.encryptionKey,
    xpack.reporting.encryptionKey, and xpack.security.encryptionkey to
    stdout along with instructions on how to add this to your configuration.
    
    Closes elastic#65788
    jbudz committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    1bef148 View commit details
    Browse the repository at this point in the history
  2. s/please set/Please set

    jbudz committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    46da571 View commit details
    Browse the repository at this point in the history
  3. fix lint errors

    jbudz committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    8721aee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4e5adc View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. fix new Command('kibana-keystore') -> new Command('kibana-encryption-…

    …key')
    
    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    f8e586d View commit details
    Browse the repository at this point in the history
  2. fix typo encyption -> encryption

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    68995fd View commit details
    Browse the repository at this point in the history
  3. use spyOn instead of jest.fn() to avoid namespace lint errors

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    6cb82ec View commit details
    Browse the repository at this point in the history
  4. use spyOn instead of jest.fn() to avoid namespace lint errors part 2

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    8e2a5af View commit details
    Browse the repository at this point in the history
  5. fix typo encyption -> encryption

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    2ce58b4 View commit details
    Browse the repository at this point in the history
  6. cleanup encryption_config constructor, use native private fields

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    6ba0a99 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6b8e023 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    569a8c0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b15fdd1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b59b161 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Configuration menu
    Copy the full SHA
    58bdef8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77b60eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84dfc02 View commit details
    Browse the repository at this point in the history
  4. wip interactive mode

    jbudz committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    6240c79 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. wip interactive mode v2

    jbudz committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    0b56209 View commit details
    Browse the repository at this point in the history
  2. update tests

    jbudz committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    434f262 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. add interactive tests

    jbudz committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    18041d2 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. remove excluse test

    jbudz committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    71ddf80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3874705 View commit details
    Browse the repository at this point in the history
  3. add documentation links

    jbudz committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    9251ec6 View commit details
    Browse the repository at this point in the history
  4. fix reporting link

    jbudz committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    6f9848a View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Configuration menu
    Copy the full SHA
    f3e0f4c View commit details
    Browse the repository at this point in the history
  2. update log message grammar

    jbudz committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    8d7dad6 View commit details
    Browse the repository at this point in the history
  3. Update src/cli_encryption_key/generate.js

    Co-authored-by: Tyler Smalley <tylersmalley@me.com>
    jbudz and tylersmalley authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    1a2ceab View commit details
    Browse the repository at this point in the history
  4. use \n to help wrapping readability

    Co-authored-by: Tyler Smalley <tylersmalley@me.com>
    jbudz and tylersmalley authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    ab20f05 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d3b5240 View commit details
    Browse the repository at this point in the history
  6. update jest reference

    jbudz committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    f6bc8bb View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2020

  1. Configuration menu
    Copy the full SHA
    bfd70c0 View commit details
    Browse the repository at this point in the history
  2. chmod +x

    jbudz committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    7b1ed92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01e6638 View commit details
    Browse the repository at this point in the history
  4. for let i -> for of

    Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
    jbudz and azasypkin authored Nov 18, 2020
    Configuration menu
    Copy the full SHA
    ab263e0 View commit details
    Browse the repository at this point in the history
  5. fix wording on remaining logs

    jbudz committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    f18d96d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b26683 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'cli/kibana-encryption-key' of github.com:jbudz/kibana i…

    …nto cli/kibana-encryption-key
    jbudz committed Nov 18, 2020
    Configuration menu
    Copy the full SHA
    0566134 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4084722 View commit details
    Browse the repository at this point in the history