Multiple Contexts in a Workflow
complete
E
Eric Dahlseng
It would be useful to be able to specify multiple Context's in a workflow. As a general best security practice, any given workflow should only have access to the secrets that it absolutely needs. In order to accomplish this with Context's currently however, many projects would need their own Context, containing only the secrets relevant to that project. This defeats the point of Contexts, making them less reusable. Allowing a workflow to specify multiple Contexts maintains this principle of least privilege, without sacrificing the usability of Contexts. Exampe:
workflows: main: jobs: - example-job: context: - AWS - Heroku - Cloudflare
There's more discussion in this forum thread.
CCI-I-761
Salil Subbakrishna
complete
Hi everyone. This functionality is live on CircleCI Cloud. We are continuing to use the "context" key, but it now accepts either a string (for backward compatibility) or list. Additional information can be found in the docs below:
https://circleci.com/docs/2.0/contexts/#creating-and-using-a-context
L
Liya Ai
in progress
More to come soon on this idea!
N
Nishant Yedla
+1
Y
Yoan-Alexander Grigorov
+1
S
Sarah Marsh
+1
C
Cameron Dubas
+1
D
David Zucker
+1
s
sandy wu
+1
J
Juan Pascale
+1
s
syamantak mukhopadhyay
+1
Load More
→