getSecret

abstract suspend fun getSecret(secretId: String): Secret?(source)

Suspends the execution until the secret with the given secretId is retrieved.

Return

The secret with the specified ID, or null if the secret does not exist.

Parameters

secretId

The ID of the secret to retrieve.