Security and Identity Management

Azure Key Vault

Description

The Azure Key Vault component is used to securely manage and protect secrets, encryption keys, and certificates.

Example

  • The flow starts with a timer trigger (timer:trigger), which is executed once (repeatCount: 1).

  • It makes a call to Azure Key Vault to retrieve the stored secret, using the provided credentials (clientId, clientSecret, tenantId).

  • The value of the retrieved secret is stored in the message body (body).

  • An HTTP Authorization header is set with the secret value as an authentication token.

  • The flow makes an HTTP request to "https://minha-api.com/dados", including the authorization header.

Script

Diagram

- from:
    uri: "timer:trigger"
    parameters:
      repeatCount: 1
    steps:
      - to:
          uri: "azure-key-vault:demo-vault-integrations"
          parameters:
            operation: getSecret
            clientId: "85b0f7fe...b663-c66d5f..."
            clientSecret: "6Ot8Q~s-jXfY...jldE..."
            tenantId: "306a6ae7-d394...abbbcedb..."
      - setHeader:
          name: Authorization
          simple: "Bearer ${body}"
      - to:
          uri: "https://my-api.com/data"
component azure key vault
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]