requestSecret method
Requests a single named secret from the holders in namespace, then
resolves when it arrives (waitForSecret).
Implementation
Future<Secret> requestSecret(
String namespace,
String name, {
Duration timeout = const Duration(seconds: 30),
Set<String> excludeEnrollmentIds = const {},
}) async {
await requestSecretsFromNamespace(namespace,
names: [name], excludeEnrollmentIds: excludeEnrollmentIds);
return waitForSecret(namespace, name, timeout: timeout);
}