Certificate Authority
Note
Refer to Authentication for ways to authenticate to the TPP WebSDK.
Certificate Authority Types
The certificate authority feature is still under development and further Certificate Authority types will be implemented as needed. See Certificate Authorities for a list of supported Certificate Authority types.
Creating & Deleting A Certificate Authority
from pytpp import Authenticate, Features
api = Authenticate(...)
features = Features(api)
# Create the CA.
msca = features.certificate_authority.msca.create(
name='Awesome CA',
parent_folder=r'\VED\Policy\Administration\CAs',
contacts=['local:AwesomeUser', 'AD+AwesomeAD:user123']
hostname='awesomeca.my-company.com',
service_name='AwesomeCA',
template='AwesomeTemplate',
credential=r'\VED\Policy\Administration\Credentials\Awesome Credential'
)
# Delete the CA.
features.certificate_authority.msca.delete(certificate_authority=msca)