You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our team has a requirement to look up specific environment variables. Because we store sensitive data in these variables we would like to be able to filter out those values to limit exposure. This would also improve the developer experience, filtering the payload removes the requirement for post processing.
Current behaviour
We query projects by metadata and return each environments environment variables then run this through jq to filter values for a specific environment variable
I've taken inspiration from the use of directives in this GraphQL implementation. What I like about this is it introduces the ability to set the operator which would be helpful if a user wanted to exclude results i.e. scope != RUNTIME would return all BUILD and GLOBAL variables
The text was updated successfully, but these errors were encountered:
Motivation
Our team has a requirement to look up specific environment variables. Because we store sensitive data in these variables we would like to be able to filter out those values to limit exposure. This would also improve the developer experience, filtering the payload removes the requirement for post processing.
Current behaviour
We query projects by metadata and return each environments environment variables then run this through jq to filter values for a specific environment variable
Desired behaviour
We query projects by metadata and return a specific environment variable based on a field value i.e. "name"
Inspiration
I've taken inspiration from the use of directives in this GraphQL implementation. What I like about this is it introduces the ability to set the operator which would be helpful if a user wanted to exclude results i.e. scope != RUNTIME would return all BUILD and GLOBAL variables
The text was updated successfully, but these errors were encountered: