@Override
    public Secret get(String key) {
        SecretsConfig.Secret secretConfig = secretsConfig.secret(key);
        if (secretConfig == null) {
            throw new IllegalArgumentException("Secret with key '" + key + "' not found in secrets config");
        }

        VaultName vaultName = VaultName.of(secretConfig.vault());
        SecretName secretName = SecretName.of(secretConfig.name());

        return new SecretImpl(vaultName, secretName, secretStore);
   }
Implementation of the {@link Secrets} interface for Vespa cloud.

@author lesters
jdisc-cloud-aws/src/main/java/ai/vespa/secret/aws/SecretsImpl.java