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

Gyro Vault #79

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Gyro Vault #79

wants to merge 30 commits into from

Commits on Jul 18, 2019

  1. Move checking for resources in .gyro/init to Gyro.main

    This is so we can use RootScope to load any Gyro file. This will be used by the new Vault system to load/store secrets using the Gyro language format.
    Jeremy Collins committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7e5fe7b View commit details
    Browse the repository at this point in the history
  2. Initial implementation of Gyro vault functionality

    Implements:
    
    - Vault abstract class that custom vault implementations can subclass
    - LocalVault implementation that stores encrypted secrets in .gyro directory
    - VaultCommand for getting/setting and listing secrets
    - VaultReferenceResolver to provide a method to lookup secrets within Gyro configs
    - VaultDirectiveProcessor for configuring vault implementations in .gyro/init.gyro
    Jeremy Collins committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    341d579 View commit details
    Browse the repository at this point in the history
  3. Make save method private, only used internally

    Jeremy Collins committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    8d7a8a1 View commit details
    Browse the repository at this point in the history
  4. Cleanup

    Jeremy Collins committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    07820a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Read encryption key from key-path

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    3042f1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbcf966 View commit details
    Browse the repository at this point in the history
  3. Remove unused ALGORITHM field

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    c932c3f View commit details
    Browse the repository at this point in the history
  4. Allow custom key length and key iterations

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    cdadb32 View commit details
    Browse the repository at this point in the history
  5. Add ability to remove a secret from the vault

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    eab7268 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into feature/vault

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    c7219ab View commit details
    Browse the repository at this point in the history
  7. Initial work to implement CustomValue

    This work is intended to allow a custom value that can alter how it's serialized to state.
    
    For VaultSecret it'll write "$(vault-lookup key vault hash)" in state.
    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    358e3d5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ea42d64 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    43ba29b View commit details
    Browse the repository at this point in the history
  10. Add 'vault-lookup' to state node for VaultSecret

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    e044a3b View commit details
    Browse the repository at this point in the history
  11. Add hash option to VaultReferenceResolver and VaulSecret

    Jeremy Collins committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    dcd6c97 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2019

  1. All VaultSecret to hide its diff output

    Jeremy Collins committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    9ec6007 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/vault

    Jeremy Collins committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    7847bb1 View commit details
    Browse the repository at this point in the history
  3. Fix compilation error

    Jeremy Collins committed Jul 31, 2019
    Configuration menu
    Copy the full SHA
    73f9597 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Merge branch 'master' into feature/vault

    Jeremy Collins committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    8f734e6 View commit details
    Browse the repository at this point in the history
  2. Serialize CustomValues to state

    Jeremy Collins committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    b51a473 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Merge branch 'master' into feature/vault

    Jeremy Collins committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    1ae7f04 View commit details
    Browse the repository at this point in the history
  2. Add back vault plugin, directive, and resolver

    Jeremy Collins committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    267bfe0 View commit details
    Browse the repository at this point in the history
  3. Convert vault directive and resolver to use @type()

    Jeremy Collins committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    54d3d09 View commit details
    Browse the repository at this point in the history
  4. Fix compile errors

    Jeremy Collins committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    3be1cd2 View commit details
    Browse the repository at this point in the history
  5. Checkstyle fixes

    Jeremy Collins committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    679d8f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Merge branch 'master' into feature/vault

    Jeremy Collins committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    7fcfa4f View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Use 'default' as the name if a name is not provided

    Jeremy Collins committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    b71391c View commit details
    Browse the repository at this point in the history
  2. Only evaluate files in the local vault

    This fixes an issue where all files were being evaluated when loading the local vault. This would fail because the vault itself is not defined in this use case.
    Jeremy Collins committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    1bced32 View commit details
    Browse the repository at this point in the history
  3. Allow duplicate vaults

    This is just a temporary fix. Need to investigate why this fails when only a single instance of a vault is defined.
    Jeremy Collins committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    f42d62a View commit details
    Browse the repository at this point in the history
  4. Compare strings to VaultSecret.getValue()

    Jeremy Collins committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    30d3cc5 View commit details
    Browse the repository at this point in the history