You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
303 B
20 lines
303 B
package kms
|
|
|
|
import (
|
|
"wallet-system/internal/conf"
|
|
"wallet-system/internal/pkg/aws/kms"
|
|
)
|
|
|
|
// NewClientKms
|
|
//
|
|
// @Description:
|
|
// @param c
|
|
// @return *kms.KmsClient
|
|
func NewClientKms(c *conf.Aws) *kms.KmsClient {
|
|
kmsClient, err := kms.NewKms(c)
|
|
if err != nil {
|
|
return nil
|
|
}
|
|
|
|
return kmsClient
|
|
}
|
|
|