Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
client_key | POST /resources/stores/secret/client-key | Create new client key |
create_secret_store | POST /resources/stores/secret | Create new secret store |
delete_secret_store | DELETE /resources/stores/secret/{store_id} | Delete secret store |
get_secret_store | GET /resources/stores/secret/{store_id} | Get secret store by ID |
get_secret_stores | GET /resources/stores/secret | Get all secret stores |
signing_key | GET /resources/stores/secret/signing-key | Get public key |
Create a new client key for encrypting secrets locally before uploading.
let cfg = &Configuration::default();
let params = ClientKeyParams {
// parameters
};
client_key(cfg, params)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Create a new secret store.
let cfg = &Configuration::default();
let params = CreateSecretStoreParams {
// parameters
};
create_secret_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
secret_store | Option<SecretStore> |
crate::models::SecretStoreResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete a secret store and all of its contents.
let cfg = &Configuration::default();
let params = DeleteSecretStoreParams {
// parameters
};
delete_secret_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
store_id | String | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Get a secret store by ID.
let cfg = &Configuration::default();
let params = GetSecretStoreParams {
// parameters
};
get_secret_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
store_id | String | [required] |
crate::models::SecretStoreResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get all secret stores.
let cfg = &Configuration::default();
let params = GetSecretStoresParams {
// parameters
};
get_secret_stores(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
cursor | Option<String> | Cursor value from the next_cursor field of a previous response, used to retrieve the next page. To request the first page, this should be empty. |
||
limit | Option<String> | Number of results per page. The maximum is 200. | [default to 100] | |
name | Option<String> | Returns a one-element array containing the details for the named secret store. |
crate::models::InlineResponse2005
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Get the public key used for signing client keys.
let cfg = &Configuration::default();
let params = SigningKeyParams {
// parameters
};
signing_key(cfg, params)
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json