getSecret

open suspend override fun getSecret(secretId: String): Secret?(source)

Retrieves a secret based on its ID.

Return

The secret object if found, otherwise null.

Parameters

secretId

The ID of the secret.