AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node is designed to retrieve a specific credential by its identifier from an external service. It requires the user to provide a user ID and the credential's unique ID. This operation is useful when you need to fetch detailed information about a stored credential, for example, to verify its properties or use it in subsequent workflow steps.

Practical examples include:

  • Fetching API credentials details before making authenticated requests.
  • Retrieving user-specific credential data for audit or validation purposes.

Properties

Name Meaning
X USER ID The user identifier header value required by the external service to authenticate the request.
Id The unique numeric identifier of the credential to retrieve.

Output

The node outputs JSON data representing the retrieved credential's details. The exact structure depends on the external service's response but typically includes fields such as credential name, type, creation date, and other metadata. There is no indication that binary data is returned.

Dependencies

  • Requires an API key or authentication token configured in the node's credentials to authorize requests to the external service.
  • The node uses a base URL and default headers (Accept and Content-Type set to application/json) defined in the credentials.
  • The X USER ID header must be provided as part of the input properties to identify the user context for the request.

Troubleshooting

  • Missing or invalid X USER ID header: The external service may reject the request if this header is absent or incorrect. Ensure the user ID is correctly provided.
  • Invalid credential ID: If the specified credential ID does not exist, the service might return a 404 error. Verify the ID before running the node.
  • Authentication errors: If the API key or authentication token is missing or expired, the node will fail to retrieve the credential. Check the configured credentials.
  • Network issues: Connectivity problems can cause timeouts or failures. Confirm network access to the external service endpoint.

Links and References

  • Refer to the external service's API documentation for detailed information on the credential retrieval endpoint and required headers.
  • n8n documentation on how to configure API credentials and use HTTP headers in nodes.

Discussion