getSecrets

@GET(value = "api/v2/depots/{depot}/secrets")
abstract fun getSecrets(@Path(value = "depot") depot: String, @Query(value = "acl") acl: String = "r", @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<HeimdallSecret>

Retrieves secrets from a depot.

Return

A Call object with a HeimdallSecret response.

Parameters

depot

The depot name.

acl

The access control list for the secrets (optional, defaults to "r").

correlationId

The correlation ID header (optional, defaults to a random UUID).