KusionStack/kusion

Feat: Support SetSecret via secret store interface

開放

#1,411 建立於 2025年2月12日

 (0 則留言) (0 個反應) (0 位負責人)Go (108 個分叉)auto 404
help wantedkind/feature

倉庫指標

星標
 (1,315 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南