SecretApi

interface SecretApi

Interface for accessing secrets from a depot.

Functions

Link copied to clipboard
@GET(value = "api/v1/secrets/{secret}")
abstract fun createSecrets(@Path(value = "secret") secret: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<HeimdallSecret>

Creates secrets for a depot.

Link copied to clipboard
@GET(value = "api/v1/secrets/{secret}")
abstract fun getSecret(@Path(value = "secret") secret: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<HeimdallSecret>

Fetches secrets of a depot.