Skip to content

Allow vault secrets to return secret content as json

Denis Doria requested to merge thuck/gitlab-runner:main into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do?

Allows vault secrets to return the secret content as json when field: __ALL__.

Why was this MR needed?

  1. Some backends will need multiple keys at the same time (aws for example).
  2. Reduce the numbers of round trips to vault.

What's the best way to test this MR?

Build the patch and perform a request on vault using field: __ALL__.

Edited by 🤖 GitLab Bot 🤖

Merge request reports