Views:

Description

Uses an Azure token to retrieve a secret stored in an Azure Key Vault. 

Signature

AzureKeyVaultGetSecret('token', 'VaultURL' +'?'+'apiversion')

Example

 SmartFlow(

  SetVar('token',
    AzureADGetTokenV2('36bb5c97-2970-43e7-9378-4c3ef1ab0f2d', 
                      SetRequestParams('scope', 'https://vault.azure.net/.default',
                        'client_id', 'a2c8d8cd-0091-4aec-9701-5294cd9e3wh5',
                        'client_secret', ')})%}?+/9{$@k-%$=>.({=-;g#N3>.{*#}}@;:o=@$.$]+#^=^%-6].^N>/}[',
                        'grant_type', 'client_credentials'))),

  AzureKeyVaultGetSecret( GetVar('token'), 'https://north52keyvault1.vault.azure.net/secrets/north52keyvaulttest1secret/e40d68e5924f4cd2b8f6684faa837d9b?api-version=2016-10-01') ,

  GetVarJsonValue('value') 


 

 

== $0

Parameters

Name Type Description Required
fromdate xxxx xxxx xxxx
todate xxxx xxxx xxxx
interval xxxx xxxx xxxx

Notes: