Package io.fathom.cloud.services.SecretService

Examples of io.fathom.cloud.services.SecretService.SecretItem


        return null;
    }

    private String getSecret(Secret secret, String key) {
        SecretItem item = secret.find(key);
        if (item == null) {
            throw new IllegalArgumentException("Secret not found: " + key);
        }
        return new String(item.getBytes(), Charsets.UTF_8);
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.services.SecretService.SecretItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.