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