public class Secrets extends TaskClusterRequestHandler
The secrets service, typically available at tools.taskcluster.net, is responsible for managing secure data in TaskCluster.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultBaseURL |
| Constructor and Description |
|---|
Secrets() |
Secrets(String baseURL) |
Secrets(String clientId,
String accessToken) |
Secrets(String clientId,
String accessToken,
String certificate) |
| Modifier and Type | Method and Description |
|---|---|
CallSummary<EmptyPayload,ATaskClusterSecret> |
get(String name)
Read the secret attached to some key.
|
CallSummary<EmptyPayload,EmptyPayload> |
ping()
Documented later…
|
CallSummary<EmptyPayload,EmptyPayload> |
remove(String name)
Delete the secret attached to some key.
|
CallSummary<ATaskClusterSecret,EmptyPayload> |
set(String name,
ATaskClusterSecret payload)
Set a secret associated with some key.
|
CallSummary<ATaskClusterSecret,EmptyPayload> |
update(String name,
ATaskClusterSecret payload)
Update a secret associated with some key.
|
apiCall, configureHawk, setBaseURL, uriEncodeprotected static final String defaultBaseURL
public Secrets(String baseURL)
public Secrets()
public CallSummary<ATaskClusterSecret,EmptyPayload> set(String name, ATaskClusterSecret payload) throws APICallFailure
Set a secret associated with some key.
APICallFailurepublic CallSummary<ATaskClusterSecret,EmptyPayload> update(String name, ATaskClusterSecret payload) throws APICallFailure
Update a secret associated with some key.
APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> remove(String name) throws APICallFailure
Delete the secret attached to some key.
APICallFailurepublic CallSummary<EmptyPayload,ATaskClusterSecret> get(String name) throws APICallFailure
Read the secret attached to some key.
APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> ping() throws APICallFailure
Documented later…
Warning this api end-point is not stable.
APICallFailureCopyright © 2014–2015 Mozilla. All rights reserved.