In my Form Flow I want to send an HTTP Request with an API Key in the header.
To securely store this API Key I thought I could put it in my an HTTP Request Vault, and use that value in my flow.
However, I can’t make it work. I’ve tried to access it using the {{vault.CONNECTION}} property, but that remains empty, and even provides an error when I directly use it as a header value.
I’m starting to doubt whether this is the correct way to implement this.
I’d be grateful for someone to help me out here.
Thank you for your reponse.
I’m using the HTTP Request flow indeed.
I’ve added an HTTP vault connection named ‘exampleconnection’, and for some reason this only wants Bearer tokens.
Thank you for the screenshots! Can you try removing the headers you have set? If you are using a configured Vault connection’s stored API Key, you do not have to add it as a header. I wonder if that is where this error is coming from.
So will the API key stored in the vault be automatically added as an Authorization header?
Because in this use case it would be great if I could add the key in the “api-key” header.