public interface SecretsService
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<Void> |
deleteOrgsIDSecretsID(String orgID,
String secretID,
String zapTraceSpan)
Delete a secret from an organization
|
retrofit2.Call<SecretKeysResponse> |
getOrgsIDSecrets(String orgID,
String zapTraceSpan)
List all secret keys for an organization
|
retrofit2.Call<Void> |
patchOrgsIDSecrets(String orgID,
Map<String,String> requestBody,
String zapTraceSpan)
Update secrets in an organization
|
retrofit2.Call<Void> |
postOrgsIDSecrets(String orgID,
SecretKeys secretKeys,
String zapTraceSpan)
Deprecated.
|
@DELETE(value="api/v2/orgs/{orgID}/secrets/{secretID}") retrofit2.Call<Void> deleteOrgsIDSecretsID(@Path(value="orgID") String orgID, @Path(value="secretID") String secretID, @Header(value="Zap-Trace-Span") String zapTraceSpan)
orgID
- The organization ID. (required)secretID
- The secret ID. (required)zapTraceSpan
- OpenTracing span context (optional)@GET(value="api/v2/orgs/{orgID}/secrets") retrofit2.Call<SecretKeysResponse> getOrgsIDSecrets(@Path(value="orgID") String orgID, @Header(value="Zap-Trace-Span") String zapTraceSpan)
orgID
- The organization ID. (required)zapTraceSpan
- OpenTracing span context (optional)@Headers(value="Content-Type:application/json") @PATCH(value="api/v2/orgs/{orgID}/secrets") retrofit2.Call<Void> patchOrgsIDSecrets(@Path(value="orgID") String orgID, @Body Map<String,String> requestBody, @Header(value="Zap-Trace-Span") String zapTraceSpan)
orgID
- The organization ID. (required)requestBody
- Secret key value pairs to update/add (required)zapTraceSpan
- OpenTracing span context (optional)@Deprecated @Headers(value="Content-Type:application/json") @POST(value="api/v2/orgs/{orgID}/secrets/delete") retrofit2.Call<Void> postOrgsIDSecrets(@Path(value="orgID") String orgID, @Body SecretKeys secretKeys, @Header(value="Zap-Trace-Span") String zapTraceSpan)
orgID
- The organization ID. (required)secretKeys
- Secret key to delete (required)zapTraceSpan
- OpenTracing span context (optional)Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.