Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_mutual_tls_authentication | POST /tls/mutual_authentications | Create a Mutual Authentication |
delete_mutual_tls | DELETE /tls/mutual_authentications/{mutual_authentication_id} | Delete a Mutual TLS |
get_mutual_authentication | GET /tls/mutual_authentications/{mutual_authentication_id} | Get a Mutual Authentication |
list_mutual_authentications | GET /tls/mutual_authentications | List Mutual Authentications |
patch_mutual_authentication | PATCH /tls/mutual_authentications/{mutual_authentication_id} | Update a Mutual Authentication |
Create a mutual authentication using a bundle of certificates to enable client-to-server mutual TLS.
let cfg = &Configuration::default();
let params = CreateMutualTlsAuthenticationParams {
// parameters
};
create_mutual_tls_authentication(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
mutual_authentication | Option<MutualAuthentication> |
crate::models::MutualAuthenticationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Remove a Mutual TLS authentication
let cfg = &Configuration::default();
let params = DeleteMutualTlsParams {
// parameters
};
delete_mutual_tls(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
mutual_authentication_id | String | Alphanumeric string identifying a mutual authentication. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Show a Mutual Authentication.
let cfg = &Configuration::default();
let params = GetMutualAuthenticationParams {
// parameters
};
get_mutual_authentication(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
mutual_authentication_id | String | Alphanumeric string identifying a mutual authentication. | [required] | |
include | Option<String> | Comma-separated list of related objects to include (optional). Permitted values: tls_activations . Including TLS activations will provide you with the TLS domain names that are related to your Mutual TLS authentication. |
crate::models::MutualAuthenticationResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List all mutual authentications.
let cfg = &Configuration::default();
let params = ListMutualAuthenticationsParams {
// parameters
};
list_mutual_authentications(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
include | Option<String> | Comma-separated list of related objects to include (optional). Permitted values: tls_activations . Including TLS activations will provide you with the TLS domain names that are related to your Mutual TLS authentication. |
||
page_number | Option<i32> | Current page. | ||
page_size | Option<i32> | Number of records per page. | [default to 20] |
crate::models::MutualAuthenticationsResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update a Mutual Authentication.
let cfg = &Configuration::default();
let params = PatchMutualAuthenticationParams {
// parameters
};
patch_mutual_authentication(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
mutual_authentication_id | String | Alphanumeric string identifying a mutual authentication. | [required] | |
mutual_authentication | Option<MutualAuthentication> |
crate::models::MutualAuthenticationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json