CircleCI Ideas

API to manage contexts

I'd like to implement an integration with Terraform so Amazon access keys can automatically be maintained and updated in build contexts, see this issue: https://github.com/hashicorp/terraform/issues/17951

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 9 2018
  • Candidate
API
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 21, 2018 19:39

    At our company we also have to add extra contexts because were are unable to add ENV variables through the API. Ideally the information we pass to terraform could then be passed into circle, instead, we need to manually add/modify contexts to run terraform commands. For companies like mine that really love IAC this would be a huge win.

     
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 21, 2018 19:47

    +1 Figured that this would've already been supported.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    February 25, 2019 16:51

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 20, 2019 18:38

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 20, 2019 18:47

    +1 Definitely need this

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 20, 2019 19:02

    +1 Context management for a large github org is painful. This would make it much less so.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 20, 2019 19:39

    Oh my goodness, +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 21, 2019 13:01

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 21, 2019 13:02

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 25, 2019 08:30

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 27, 2019 20:41

    We use tokens inside our contexts to access external services. Would love to automate the secrets rotation within contexts as we have 100s of projects.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    July 26, 2019 19:30

    +10000000

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    July 29, 2019 08:39

    +1 This is absolutely required. We use dozen of variables for our microservices ECS cluster. We need to backup these values while scripting their deployment at the same time as we use to do in IaC.

    Contexts are a wonderful thing, but not really useful or convenient to use without:

    1. this API

    2. the capability to see the content of some variables as they are not supposed to be secrets. It's mandatory to ease the readability during investigations.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    September 04, 2019 13:51

    + 1 I need to store secret keys per context via API. Actually there's no way to do this

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    September 19, 2019 21:19

    An absolute requirement for rotating secrets

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    September 25, 2019 13:49

    Please ... this is a must have!

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    October 15, 2019 03:33

    we'd like it as well

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    October 21, 2019 15:55

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    October 21, 2019 15:56

    how is this not a thing?

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    October 22, 2019 21:58

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    October 30, 2019 09:36

    Can we please get this

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 10, 2019 13:20

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 15, 2019 01:50

    We definitely need a fully featured API for managing Context's, and that should include the ability to CRUD/clone and modify existing properties and their values within a Context.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 25, 2019 22:09

    +1

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 25, 2019 22:16

    The new contexts variables that are only available to administrators are wonderful.  Unfortunately, we have an automated system that rotates our deployment API keys daily.

    Without an API to manage contexts, we can't update the API keys, which means we'd have to have stagnant ones that we update manually.  This is a security issue!

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    December 19, 2019 15:35

    At Shelf we are using single context per project (repo) and since we are doing serverless it requires every time to the context manually from different sources which just takes time for a dummy work. Definitely needed!

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Jan 15:00

    +1 this would ease automation of secret creation in our org and really enhance security.  

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    04 Feb 20:43

    +100000000

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    19 Feb 16:49

    Cross-linking to a generalized "official CircleCI Terraform provider" issue. That would be one consumer of the API proposed here.

     

    https://ideas.circleci.com/ideas/CCI-I-374

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    03 Mar 14:59

    Context management is now available in the CLI. https://github.com/CircleCI-Public/circleci-cli/pull/362