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