Metadata-Version: 2.1
Name: c7n_tencentcloud
Version: 0.1.23
Summary: Cloud Custodian - Tencent Cloud Provider
Home-page: https://cloudcustodian.io
License: Apache-2.0
Author: Tencent Cloud
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: c7n (==0.9.41) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: pytz (==2024.2) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: retrying (==1.3.4) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: tencentcloud-sdk-python (==3.0.1233) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: cos-python-sdk-v5 (==1.9.31) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: argcomplete (==3.5.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: boto3 (==1.35.21) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: cryptography (==42.0.8) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: docutils (==0.18.1) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: importlib-metadata (==8.4.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: jsonschema (==4.23.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: python-dateutil (==2.9.0.post0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: pyyaml (==6.0.2) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: referencing (==0.35.1) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: tabulate (==0.9.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: urllib3 (==1.26.20) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: six (==1.16.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: requests (==2.32.3) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: crcmod (==1.7) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: pycryptodome (==3.20.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: xmltodict (==0.13.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: botocore (==1.35.21) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: jmespath (==1.0.1) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: s3transfer (==0.10.2) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: cffi (==1.17.1) ; python_version >= "3.8" and python_version < "4.0" and platform_python_implementation != "PyPy"
Requires-Dist: zipp (==3.20.2) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: attrs (==24.2.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: importlib-resources (==6.4.5) ; python_version >= "3.8" and python_version < "3.9"
Requires-Dist: jsonschema-specifications (==2023.12.1) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: pkgutil-resolve-name (==1.3.10) ; python_version >= "3.8" and python_version < "3.9"
Requires-Dist: rpds-py (==0.20.0) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: certifi (==2024.8.30) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: charset-normalizer (==3.3.2) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: idna (==3.10) ; python_version >= "3.8" and python_version < "4.0"
Requires-Dist: pycparser (==2.22) ; python_version >= "3.8" and python_version < "4.0" and platform_python_implementation != "PyPy"
Project-URL: Bug Tracker, https://github.com/cloud-custodian/cloud-custodian/issues
Project-URL: Documentation, https://cloudcustodian.io/docs
Description-Content-Type: text/markdown

# Tencent Cloud

a provider for cloud custodian for usage with Tencent Cloud.

# Installation


```shell

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.


```shell

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

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


