getSecret

@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.

Return

A Call object representing the asynchronous secret retrieval call.

Parameters

secret

The secret key name against a depot (e.g., icebase_rw).

correlationId

The correlation ID used for tracking the request. It is generated using UUID.randomUUID().toString() by default.