Skip to content

Commit eb42e9e

Browse files
committed
docs: add usage
1 parent eeb1ab0 commit eb42e9e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
This package implements the [libdns](https://github.com/libdns/libdns) interfaces for the [TencentCloud DNSPod API](https://www.tencentcloud.com/zh/document/api/1157/49025)
44

5-
## Applying for Security Credentials
5+
## Code example
6+
7+
```shell
8+
provider := &tencentcloud.Provider{
9+
SecretId: "YOUR_Secret_ID",
10+
SecretKey: "YOUR_Secret_Key",
11+
}
12+
```
13+
14+
## Security Credentials
615

716
To authenticate you need to supply a [TencentCloud API Key](https://console.tencentcloud.com/cam/capi).
817

0 commit comments

Comments
 (0)