Error: Error while fetching parameter: 'value' is missing in HashiCorp Vault response when Querying Remote Secret from Vault

If you're encountering the following error while attempting to query a remote secret from HashiCorp Vault:

Error while fetching parameter: 'value' is missing in HashiCorp Vault response for 'aws/foo/bar' 

The error suggests that the requested secret (aws/foo/bar) exists in Vault, but it is missing a key value or the value is not being returned as expected. Any idea what Im doing wrong?

0
1 comment
 Hi Dirk,

It looks like you didn't specify the key in the configuration parameter. For more details, please refer to https://www.jetbrains.com/help/teamcity/hashicorp-vault.html#Create+and+Set+Up+a+Parameter.

The format is: path!/access_key

If it is not the case, please share how you config the remote secret parameter  in the your build configuration and share the build log with for further investigation.

Files can be uploaded via https://uploads.jetbrains.com/. Please let us know the exact id after the upload.

Best Regards,
Tom
0

Please sign in to leave a comment.