createSecrets

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

Return

A Call object representing the asynchronous secret creation 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.