Skip to content

Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure, GCP, PGP and HashiCorp Vault #1847

Closed

Description

@matheuscscp

Hi 👋

Right now we pass context.Background()/context.TODO() to the encrypt/decrypt operations internally. It would be valuable to accept a context in these operations and pass it down instead. As SDK users we'd like to do that in CNCF Flux. The SOPS CLI could also benefit from this passing a context tied to the SIGTERM and SIGINT signals.

Activity

  1. changed the title [-]Feature request: Allow passing a valid context for encrypt/decrypt operations in AWS, Azure and GCP[/-] [+]Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure and GCP[/+] on May 3, 2025
  2. changed the title [-]Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure and GCP[/-] [+]Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure, GCP, GnuPG and HashiCorp Vault[/+] on May 3, 2025
  3. changed the title [-]Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure, GCP, GnuPG and HashiCorp Vault[/-] [+]Feature request: Allow passing a valid context to encrypt/decrypt operations with AWS, Azure, GCP, PGP and HashiCorp Vault[/+] on May 3, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions