Skip to content

github_actions_secret: support environment secrets #681

Closed

Description

@hoxu

github_actions_secret does not seem to support GitHub Actions' Environment Secrets. It would be very useful to have that support.

Affected Resource(s)

  • github_actions_secret

Activity

  1. dudicoco commented on Mar 3, 2021

    @dudicoco

    Are there any plans on implementing this? Standard actions secrets are not secure, the only way to secure secrets is by using environment secrets.

  2. crmitchelmore commented on Mar 3, 2021

    @crmitchelmore

    Would love to see this

  3. stevengonsalvez commented on Mar 3, 2021

    @stevengonsalvez

    +1

  4. added
    Good first issue
    on Mar 8, 2021
  5. marcinwyszynski commented on Mar 17, 2021

    @marcinwyszynski
    Contributor

    I need it. I'll take this. I intend to make it a separate resource, because it's really a very different thing.

  6. srgustafson8 commented on Mar 22, 2021

    @srgustafson8
    Contributor

    Thank you @marcinwyszynski - happy to contribute if I can. I think this links into #528, as my use case would be to allow squads to define environments and environment secrets programatically to protect CD keys.

  7. marcinwyszynski commented on Mar 22, 2021

    @marcinwyszynski
    Contributor

    I think @srgustafson8 the main difficulty here is that this resource depends on the environment resource which is still missing, and the API of that does not look terribly stable.

  8. marcinwyszynski commented on Mar 22, 2021

    @marcinwyszynski
    Contributor

    My concept for now would be to just add a "stub" resource for the environment, without branch protection rules (reviewers, timer etc.)

  9. srgustafson8 commented on Mar 23, 2021

    @srgustafson8
    Contributor

    I think @srgustafson8 the main difficulty here is that this resource depends on the environment resource which is still missing, and the API of that does not look terribly stable.

    Understood - it looks like someone had a go at the environment resource here #736 but then closed the PR.

  10. marcinwyszynski commented on Mar 23, 2021

    @marcinwyszynski
    Contributor

    I'll see what I can reuse from #736 - I think if one simplifies it a bit to avoid using unstable parts of the API, future iterations can build on top of it.

  11. srgustafson8 commented on Apr 8, 2021

    @srgustafson8
    Contributor

    I just had a PR merged into the go-github module that provides the client for environments and environment secrets (google/go-github#1847). Not sure how long this will take to make it's way here but it may help

  12. feraudet commented on May 20, 2021

    @feraudet

    +1

  13. hoxu commented on May 22, 2021

    @hoxu
    ContributorAuthor

    Please stop posting useless +1 comments that add nothing to the discussion. Upvoting the first comment is for showing you support the idea. People who are subscribed to the issue do not want emails of +1 comments. Thanks for understanding.

  14. threeseed commented on May 31, 2021

    @threeseed
    Contributor

    For those interested I am currently working on this in conjunction wth #528.

  15. threeseed commented on Jun 3, 2021

    @threeseed
    Contributor

    PR has been raised. Huge thank you to @srgustafson8 for adding support in go-github.

  16. github-actions commented on Dec 4, 2022

    @github-actions

    👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

  17. added
    Status: Stale
    on Dec 4, 2022
  18. kfcampbell commented on Dec 6, 2022

    @kfcampbell
    Contributor

    Closing as #805 has been merged. Thanks again @nadenf!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueStatus: StaleType: Featurer/actions_secret

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions