GithubHelp home page GithubHelp logo

isabella232 / hashicorp-vault Goto Github PK

View Code? Open in Web Editor NEW

This project forked from humanmade/hashicorp-vault

0.0 0.0 0.0 79 KB

HashiCorp Vault integration plugin for WordPress

License: Other

PHP 100.00%

hashicorp-vault's Introduction

HashiCorp Vault integration for WordPress
Access Vault secrets, utilising WordPress APIs for maximum scalability.
A Human Made library.

HashiCorp Vault integration for WordPress is a library which provides access to Vault secrets in a scaleable manner.

It wraps the CSharpRU/vault-php library, and uses WordPress' transients API to provide familiar and necessary caching for WordPress developers. The library offers automatic re-fetching of secrets prior to lease expiry.

Current limitations:

  • Only token-based authentication is supported.
  • Tokens with a renewable lease are not renewed using Vault's API. Instead, this library will refetch the token prior to expiry.

Installation

This library is distributed as a WordPress plugin. Install with Composer, and activate the plugin in the usual way.

Usage

In wp-config.php, define your Vault token:

define( 'HM_HASHICORP_VAULT_AUTH_TOKEN', 'your-token-123' );

define( 'HM_HASHICORP_VAULT_URL', 'https://example.com/your-vault/' );

Load the plugin in WordPress by requiring hashicorp-vault/plugin.php.

License

This project is made availabile with the MIT license.

Credits

Created by Human Made for enterprise-scale digital experiences. Written by Paul Gibbs. Thanks to all contributors.

hashicorp-vault's People

Contributors

johnbillion avatar paulgibbs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.