certificates
ArkDPACertificatesService
¶
Bases: ArkService
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
|
add_certificate(create_certificate)
¶
Adds a new certificate through the Access Certificates Service.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
create_certificate |
ArkDPACreateCertificate
|
The certificate to add |
required |
Raises:
Type | Description |
---|---|
ArkServiceException
|
When the certificate could not be added |
Returns:
Name | Type | Description |
---|---|---|
ArkDPACertificate |
ArkDPACertificate
|
The added certificate |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
|
certificate(get_certificate)
¶
Retrieves a certificate from the Access Certificates Service.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
get_certificate |
ArkDPAGetCertificate
|
The ID of the certificate to retrieve |
required |
Raises:
Type | Description |
---|---|
ArkServiceException
|
When the certificate could not be retrieved |
Returns:
Name | Type | Description |
---|---|---|
ArkDPACertificate |
ArkDPACertificate
|
The retrieved certificate |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
delete_certificate(cert)
¶
Deletes an existing certificate.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
cert |
ArkDPADeleteCertificate
|
The ID of the certificate to delete |
required |
Raises:
Type | Description |
---|---|
ArkServiceException
|
description |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
|
list_certificates()
¶
Lists all certificates.
Raises:
Type | Description |
---|---|
ArkServiceException
|
description |
Returns:
Type | Description |
---|---|
List[ArkDPAShortCertificate]
|
list[ArkDPACertificate]: description |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
|
list_certificates_by(certificates_filter)
¶
Lists certificates matching the specified filters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
certificates_filter |
ArkDPACertificatesFilter
|
description |
required |
Returns:
Type | Description |
---|---|
List[ArkDPAShortCertificate]
|
List[ArkDPAShortCertificate]: description |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
update_certificate(update_certificate)
¶
Updates an existing certificate.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
update_certificate |
ArkDPAUpdateCertificate
|
The ID of the certificate to update |
required |
Raises:
Type | Description |
---|---|
ArkServiceException
|
description |
Source code in ark_sdk_python/services/dpa/certificates/ark_dpa_certificates_service.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
|