Interface SecretService
-
- All Implemented Interfaces:
public interface SecretServiceServerless GPU and CPU infrastructure
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSecretService.WithRawResponseA view of SecretService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract SecretService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SecretService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
SecretCreateResponse create(SecretCreateParams params)
Creates a new secret group in a compute environment. Secret groups organize related secrets for use in serverless functions and workflows. If no environment is specified, the group is created in the default environment.
Features:
Organize secrets by logical groups (e.g., database, APIs, third-party services)
Environment-based isolation
Validation of group names
Conflict detection for existing groups
-
create
abstract SecretCreateResponse create(SecretCreateParams params, RequestOptions requestOptions)
-
list
SecretListResponse list()
Retrieve all secret groups for a compute environment. Secret groups organize related secrets (API keys, credentials, etc.) that can be securely accessed by compute jobs during execution.
-
list
abstract SecretListResponse list(SecretListParams params, RequestOptions requestOptions)
-
list
SecretListResponse list(SecretListParams params)
-
list
SecretListResponse list(RequestOptions requestOptions)
-
deleteGroup
SecretDeleteGroupResponse deleteGroup(String group)
Delete an entire secret group or a specific key within a secret group. When deleting a specific key, the remaining secrets in the group are preserved. When deleting the entire group, all secrets and the group itself are removed.
-
deleteGroup
SecretDeleteGroupResponse deleteGroup(String group, SecretDeleteGroupParams params, RequestOptions requestOptions)
-
deleteGroup
SecretDeleteGroupResponse deleteGroup(String group, SecretDeleteGroupParams params)
-
deleteGroup
abstract SecretDeleteGroupResponse deleteGroup(SecretDeleteGroupParams params, RequestOptions requestOptions)
-
deleteGroup
SecretDeleteGroupResponse deleteGroup(SecretDeleteGroupParams params)
-
deleteGroup
SecretDeleteGroupResponse deleteGroup(String group, RequestOptions requestOptions)
-
retrieveGroup
SecretRetrieveGroupResponse retrieveGroup(String group)
Retrieve the keys (names) of secrets in a specified group within a compute environment. For security reasons, actual secret values are not returned - only the keys and metadata.
-
retrieveGroup
SecretRetrieveGroupResponse retrieveGroup(String group, SecretRetrieveGroupParams params, RequestOptions requestOptions)
-
retrieveGroup
SecretRetrieveGroupResponse retrieveGroup(String group, SecretRetrieveGroupParams params)
-
retrieveGroup
abstract SecretRetrieveGroupResponse retrieveGroup(SecretRetrieveGroupParams params, RequestOptions requestOptions)
-
retrieveGroup
SecretRetrieveGroupResponse retrieveGroup(SecretRetrieveGroupParams params)
-
retrieveGroup
SecretRetrieveGroupResponse retrieveGroup(String group, RequestOptions requestOptions)
-
updateGroup
SecretUpdateGroupResponse updateGroup(String group, SecretUpdateGroupParams params)
Set or update secrets in a compute secret group. Secrets are encrypted with AES-256-GCM. Use this to manage environment variables and API keys for your compute workloads.
-
updateGroup
SecretUpdateGroupResponse updateGroup(String group, SecretUpdateGroupParams params, RequestOptions requestOptions)
-
updateGroup
SecretUpdateGroupResponse updateGroup(SecretUpdateGroupParams params)
-
updateGroup
abstract SecretUpdateGroupResponse updateGroup(SecretUpdateGroupParams params, RequestOptions requestOptions)
-
-
-
-