This project is mirrored from https://gitee.com/NQL886/vault.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 24 Oct, 2019 10 commits
  2. 23 Oct, 2019 6 commits
  3. 22 Oct, 2019 8 commits
  4. 21 Oct, 2019 2 commits
  5. 18 Oct, 2019 8 commits
    • Clint's avatar
      Update CHANGELOG.md · 39247a5a
      Clint authored
      39247a5a
    • Clint's avatar
      Vault Agent Template (#7652) · 012c165b
      Clint authored
      
      * Vault Agent Template: parse templates  (#7540)
      
      * add template config parsing, but it's wrong b/c it's not using mapstructure
      
      * parsing consul templates in agent config
      
      * add additional test to configuration parsing, to cover basics
      
      * another test fixture, rework simple test into table
      
      * refactor into table test
      
      * rename test
      
      * remove flattenKeys and add other test fixture
      
      * Update command/agent/config/config.go
      Co-Authored-By: default avatarJim Kalafut <jkalafut@hashicorp.com>
      
      * return the decode error instead of swallowing it
      
      * Update command/agent/config/config_test.go
      Co-Authored-By: default avatarJim Kalafut <jkalafut@hashicorp.com>
      
      * go mod tidy
      
      * change error checking style
      
      * Add agent template doc
      
      * TemplateServer: render secrets with Consul Template (#7621)
      
      * add template config parsing, but it's wrong b/c it's not using mapstructure
      
      * parsing consul templates in agent config
      
      * add additional test to configuration parsing, to cover basics
      
      * another test fixture, rework simple test into table
      
      * refactor into table test
      
      * rename test
      
      * remove flattenKeys and add other test fixture
      
      * add template package
      
      * WIP: add runner
      
      * fix panic, actually copy templates, etc
      
      * rework how the config.Vault is created and enable reading from the environment
      
      * this was supposed to be a part of the prior commit
      
      * move/add methods to testhelpers for converting some values to pointers
      
      * use new methods in testhelpers
      
      * add an unblock channel to block agent until a template has been rendered
      
      * add note
      
      * unblock if there are no templates
      
      * cleanups
      
      * go mod tidy
      
      * remove dead code
      
      * simple test to starT
      
      * add simple, empty templates test
      
      * Update package doc, error logs, and add missing close() on channel
      
      * update code comment to be clear what I'm referring to
      
      * have template.NewServer return a (<- chan) type, even though it's a normal chan, as a better practice to enforce reading only
      
      * Update command/agent.go
      Co-Authored-By: default avatarJim Kalafut <jkalafut@hashicorp.com>
      
      * update with test
      
      * Add README and doc.go to the command/agent directory (#7503)
      
      * Add README and doc.go to the command/agent directory
      
      * Add link to website
      
      * address feedback for agent.go
      
      * updated with feedback from Calvin
      
      * Rework template.Server to export the unblock channel, and remove it from the NewServer function
      
      * apply feedback from Nick
      
      * fix/restructure rendering test
      
      * Add pointerutil package for converting types to their pointers
      
      * Remove pointer helper methods; use sdk/helper/pointerutil instead
      
      * update newRunnerConfig to use pointerutil and empty strings
      
      * only wait for unblock if template server is initialized
      
      * drain the token channel in this test
      
      * conditionally send on channel
      012c165b
    • Calvin Leung Huang's avatar
    • ncabatoff's avatar
      Shamir seals now come in two varieties: legacy and new-style. (#7694) · afcba411
      ncabatoff authored
      Shamir seals now come in two varieties: legacy and new-style. Legacy
      Shamir is automatically converted to new-style when a rekey operation
      is performed. All new Vault initializations using Shamir are new-style.
      
      New-style Shamir writes an encrypted master key to storage, just like
      AutoUnseal. The stored master key is encrypted using the shared key that
      is split via Shamir's algorithm. Thus when unsealing, we take the key
      fragments given, combine them into a Key-Encryption-Key, and use that
      to decrypt the master key on disk. Then the master key is used to read
      the keyring that decrypts the barrier.
      afcba411
    • vinodmu's avatar
      Update Title for AWS Marketplace (#7683) · 8f8f05c5
      vinodmu authored
      8f8f05c5
    • Jeff Mitchell's avatar
      Bump go builder version · ad3f31d7
      Jeff Mitchell authored
      ad3f31d7
    • Jeff Mitchell's avatar
      Fix kv mod import and vendoring · 84a9892e
      Jeff Mitchell authored
      84a9892e
    • DevOps Rob's avatar
      Fixing a typo with the sample payload (#7688) · 2095eb8f
      DevOps Rob authored
      This typo is related to  https://github.com/hashicorp/vault/issues/7603 .  The typo was causing issues with getting this working correctly when following the guide.  I imagine any other newbie to this plugin will have the same struggle.  I had to delve into the source code to figure it out
      2095eb8f
  6. 17 Oct, 2019 6 commits
    • Noelle Daley's avatar
      Update CHANGELOG.md · 884f013c
      Noelle Daley authored
      884f013c
    • Madalyn's avatar
      Enable generated items for more auth methods (#7513) · 8f4530b9
      Madalyn authored
      
      * enable auth method item configuration in go code
      
      * properly parse and list generated items
      
      * make sure we only set name on attrs if a label comes from openAPI
      
      * correctly construct paths object for method index route
      
      * set sensitive property on password for userpass
      
      * remove debugger statements
      
      * pass method model to list route template to use paths on model for tabs
      
      * update tab generation in generated item list, undo enabling userpass users
      
      * enable openapi generated itams for certs and userpass, update ldap to no longer have action on list endpoint
      
      * add editType to DisplayAttributes, pull tokenutil fields into field group
      
      * show sensitive message for sensitive fields displayed in fieldGroupShow component
      
      * grab sensitive and editType fields from displayAttrs in openapi-to-attrs util
      
      * make sure we don't ask for paths for secret backends since that isn't setup yet
      
      * fix styling of sensitive text for fieldGroupShow component
      
      * update openapi-to-attrs util test to no longer include label by default, change debugger to console.err in path-help, remove dynamic ui auth methods from tab count test
      
      * properly log errors to the console
      
      * capitalize This value is sensitive...
      
      * get rid of extra padding on bottom of fieldgroupshow
      
      * make auth methods clickable and use new confirm ux
      
      * Update sdk/framework/path.go
      Co-Authored-By: default avatarJim Kalafut <jkalafut@hashicorp.com>
      
      * Update sdk/framework/path.go
      Co-Authored-By: default avatarJim Kalafut <jkalafut@hashicorp.com>
      
      * add whitespace
      
      * return intErr instead of err
      
      * uncomment out helpUrl because we need it
      
      * remove extra box class
      
      * use const instead of let
      
      * remove extra conditional since we already split the pathName later on
      
      * ensure we request the correct url when listing generated items
      
      * use const
      
      * link to list and show pages
      
      * remove dead code
      
      * show nested item name instead of id
      
      * add comments
      
      * show tooltip for text-file inputs
      
      * fix storybook
      
      * remove extra filter
      
      * add TODOs
      
      * add comments
      
      * comment out unused variables but leave them in function signature
      
      * only link to auth methods that can be fully managed in the ui
      
      * clean up comments
      
      * only render tooltip if there is helpText
      
      * rename id authMethodPath
      
      * remove optionsForQuery since we don't need it
      
      * add indentation
      
      * standardize ConfirmMessage and show model name instead of id when editing
      
      * standardize ConfirmMessage and show model name instead of id when editing
      
      * add comments
      
      * post to the correct updateUrl so we can edit users and groups
      
      * use pop instead of slice
      
      * add TODO for finding a better way to store ids
      
      * ensure ids are handled the same way on list and show pages; fix editing and deleting
      
      * add comment about difference between list and show urls
      
      * use model.id instead of name since we do not need it
      
      * remove dead code
      
      * ensure list pages have page headers
      
      * standardize using authMethodPath instead of method and remove dead code
      
      * i love indentation
      
      * remove more dead code
      
      * use new Confirm
      
      * show correct flash message when deleting an item
      
      * update flash message for creating and updating
      
      * use plus icon for creating group/user instead of an arrow
      8f4530b9
    • Jim Kalafut's avatar
      Update OIDC provider doc · 0272c964
      Jim Kalafut authored
      0272c964
    • Jim Kalafut's avatar
      Update OIDC provider doc (#7693) · 1d9dd985
      Jim Kalafut authored
      1d9dd985
    • Marcos Nils's avatar
      Create .bundle and set group when running container (#7684) · 8af8c3fe
      Marcos Nils authored
      If this is not set, `make website` fails due to permission errors in the docker container
      Fixes #5589.
      8af8c3fe
    • Lexman's avatar
      updates vendored api/client.go (#7692) · 9bd3a27a
      Lexman authored
      9bd3a27a