KusionStack/kusion

Feat: Support SetSecret via secret store interface

Aperta

#1411 aperta il 12 feb 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Go (108 fork)auto 404
help wantedkind/feature

Metriche repository

Star
 (1315 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

What would you like to be added?

Currently Kusion defines the secret store interface with only a GetSecret() method. See: https://github.com/KusionStack/kusion/blob/main/pkg/secrets/interfaces.go

Add a SetSecret() method for the interface and support it in all implementations (aws/azure/gcp/alicloud/viettel).

Why is this needed?

Writing a secret to a secret store may be used when:

  • Storing sensitive information in variable sets
  • Storing kubeconfig to be used by the Kubernetes runtime (#1409)

Tasks

  • Add interface of GetSecret #1433
  • Implement GetSecret in Alicloud Secretmanager
  • Implement GetSecret in AWS Secretmanager
  • Implement GetSecret in Azure SecretManager
  • Implement GetSecret in Hashicorp Vault SecretManager
  • Implement GetSecret in Viettelcloud Secretmanager

Guida contributor