Skip to main content

Tencent Cloud

a provider for cloud custodian for usage with Tencent Cloud.

Installation

pip install c7n-tencentcloud

Usage

To execute policies against tencent cloud you'll need to provide api credentials for custodian to interact with the cloud apis.

as a best practice create a sub account / cam user with api keys in the console.

Credential Configuration

Method 1: Environment Variables

export TENCENTCLOUD_SECRET_ID="xyz"
export TENCENTCLOUD_SECRET_KEY="abc123"
export TENCENTCLOUD_REGION="na-ashburn"
custodian run -v policy.yml

Create a credentials file at ~/.tencentcloud/credentials:

[default]
secret_id = your_default_secret_id
secret_key = your_default_secret_key
region = ap-singapore

[production]
secret_id = your_prod_secret_id
secret_key = your_prod_secret_key
region = na-ashburn

[development]
secret_id = your_dev_secret_id
secret_key = your_dev_secret_key
region = ap-singapore

Then use the --profile parameter:

# Use default profile
custodian run -v policy.yml --output-dir ./output

# Use specific profile
custodian run -v policy.yml --profile production --output-dir ./output

region can also be passed on the cli via the --region flag, complete list of regions is here https://www.tencentcloud.com/document/product/213/6091

Metadata

Release files for c7n-tencentcloud 0.1.35

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for c7n-tencentcloud 0.1.35
File Interpreter ABI Platform
c7n_tencentcloud-0.1.35-py3-none-any.whl Python 3 none any Details

Release files / c7n_tencentcloud-0.1.35-py3-none-any.whl

Download URL c7n_tencentcloud-0.1.35-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cc69aa1bb012302912e8d5b3e84a9ac5c96cb9188039d9d605a15e0dd114a25
BLAKE2b-256 checksum
How to use checksums
7de9e7d54ba700f40563d96a63ae3a42489d58d1ea1f632785cd0f9c8ed0deee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.35 This release

1 release file

0.1.34

1 release file

0.1.33

1 release file

0.1.32

1 release file

0.1.31

1 release file

0.1.30

1 release file

0.1.29

1 release file

0.1.28

1 release file

0.1.27

1 release file

0.1.26

1 release file

0.1.25

1 release file

0.1.24

1 release file

0.1.23

1 release file

0.1.22

1 release file

0.1.21

1 release file

0.1.20

1 release file

0.1.19

1 release file

0.1.18

1 release file

0.1.17

1 release file

0.1.16

1 release file

0.1.15

1 release file

0.1.14

1 release file

0.1.13

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page