Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is there any Azure Key Vault connector available for Talend V7.2.1 Cloud version

Is there any Azure Key Vault connector available for Talend V7.2.1 Cloud version . Our requirement is to connect to Azure Key vault to get the secret and use it in PGP encryption. 

Labels (1)
  • v7.x

7 Replies
extrem3
Contributor
Contributor

I am looking for a way too in Talend Big Data Platform 7.1.1

Appreciate if someone can shed some light

 

Regards.

Anonymous
Not applicable
Author

@extrem3 : I think we have to write java code and use as a Joblet inside a Job. But this is not the solution just the work around to tackle the issue if it is urgent for you. I am still looking for answer. 

Thanks. 

Anonymous
Not applicable
Author


@anweshpraharaj wrote:

Is there any Azure Key Vault connector available for Talend V7.2.1 Cloud version . Our requirement is to connect to Azure Key vault to get the secret and use it in PGP encryption. 


Hi,

Do you find any solution for this even java code is also ok.

Anonymous
Not applicable
Author


@anweshpraharaj wrote:

Is there any Azure Key Vault connector available for Talend V7.2.1 Cloud version . Our requirement is to connect to Azure Key vault to get the secret and use it in PGP encryption. 


Hi,

Do you find any solution for this even java code is also ok.

Viswa560
Contributor
Contributor

Hi Sathesh,

 

Did you got to find any Azyre key vault, I am using Talend 7.3.1 real time bigdata version.

 

Kindly let me know how to take the key values from azure key vault.

Thanks,

Viswa

HPeddireddy1672171879
Contributor
Contributor

Try below script as a routine and pass the secret into JDBC connection

import com.azure.identity.DefaultAzureCredentialBuilder;

import com.azure.security.keyvault.secrets.SecretClient;

import com.azure.security.keyvault.secrets.SecretClientBuilder;

import com.azure.security.keyvault.secrets.models.KeyVaultSecret;

 

public class KeyVaultExample {

  public static void main(String[] args) {

    SecretClient secretClient = new SecretClientBuilder()

        .vaultUrl("https://your-keyvault-name.vault.azure.net/")

        .credential(new DefaultAzureCredentialBuilder().build())

        .buildClient();

 

    KeyVaultSecret secret = secretClient.getSecret("your-secret-name");

    String secretValue = secret.getValue();

 

    System.out.printf("Retrieved secret '%s' with value '%s'\n", secret.getName(), secretValue);

  }

}

HPeddireddy1672171879
Contributor
Contributor

Another way to connect Azure key vaults

 

Below are the steps required. The steps 1. and 2. are the ones to get secret id, client app id and tenant id for the API call (authorization call to get token).

 

  1. Register the application in Azure Active Directory (Azure AD), which maps an application object to a service principal. 
  2. Add that service principal to the access policies of the Azure Key Vault. 
  3. Request an access token by calling a REST API in Talend using a tRestClient component. 
  4. Call the Key Vault API to retrieve secrets, using that access token for authentication. 
  5. Retrieve the secret name and secret values and load then into the Talend Job using a tContextLoad component.