PHPackages                             wapacro/az-keyvault-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wapacro/az-keyvault-php

ActiveLibrary

wapacro/az-keyvault-php
=======================

PHP Library to work with Azure KeyVault using managed identity

v2.2.0(5y ago)2246.9k↓20.9%16[5 issues](https://github.com/wapacro/az-keyvault-php/issues)[3 PRs](https://github.com/wapacro/az-keyvault-php/pulls)MITPHP

Since May 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wapacro/az-keyvault-php)[ Packagist](https://packagist.org/packages/wapacro/az-keyvault-php)[ Docs](https://github.com/wapacro/az-keyvault-php)[ RSS](/packages/wapacro-az-keyvault-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (9)Used By (0)

Azure Key Vault Library
=======================

[](#azure-key-vault-library)

This library allows easy integration of [Azure Key Vault](https://docs.microsoft.com/en-us/azure/key-vault/about-keys-secrets-and-certificates)in PHP applications.

### Highlights

[](#highlights)

- [Built-in managed identity support](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity)
    Setup managed identities for your apps and centralise all secrets, keys and certificates in Azure Key Vault. Get secure access directly from your code without worrying about credentials.
- Easy to use API
    This library's API is simple and easy to understand. After some setup in Azure and a few lines of code you're good to go!
- Works with Windows &amp; Linux based App Service Plans and Virtual Machines

How to use
----------

[](#how-to-use)

Get started in three simple steps!

1. [Add a system-assigned identity](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity#add-a-system-assigned-identity)to your Azure App Service and assign permissions to your application to read &amp; list secrets from Key Vault
2. Install this package in your project using Composer ```
    composer require wapacro/az-keyvault-php

    ```
3. Access your secrets &amp; keys in Key Vault using the simple API: ```
