PHP code example of itk-dev / azure-key-vault-php

1. Go to this page and download the library: Download itk-dev/azure-key-vault-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

itk-dev / azure-key-vault-php example snippets




$autoloader = Vault\Authorisation\VaultToken;
use Itkdev\AzureKeyVault\KeyVault\VaultCertificate;
use Itkdev\AzureKeyVault\KeyVault\VaultSecret;

// The VaultToken class   'yyyy',
    'zzzz'
);    

// Certificates
// This 96672562df0');
echo $cert->getCert();

// Secrets
// This 
json
"repositories": {
    "itk-dev/azure-key-vault-php": {
        "type": "vcs",
        "url": "https://github.com/itk-dev/AzureKeyVaultPhp"
    }
},