aliyun

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// AccessKeyId 是阿里云访问密钥标识,不得写入日志。
	AccessKeyId string
	// AccessKeySecret 是阿里云访问密钥密钥,不得写入日志。
	AccessKeySecret string
	// contains filtered or unexported fields
}

Provider 管理阿里云证书中心和精确云资源部署所需的客户端。

func New

func New(accessKeyId, accessKeySecret string) (*Provider, error)

New 创建实例

func (*Provider) DeployCertificate added in v0.6.4

DeployCertificate 将证书部署到一个明确阿里云业务下精确解析出的资源。

func (*Provider) TestConnection

func (p *Provider) TestConnection() (bool, error)

TestConnection 测试连接

func (*Provider) UploadCertificate

func (p *Provider) UploadCertificate(name, domain, cert, key string) error

UploadCertificate 上传证书

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL