1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 
<?php


namespace SAREhub\Commons\Secret;

/**
 * Unified interface for getting secrets values like password, access token and other sensitive data
 */
interface SecretValueProvider
{
    /**
     * Returns value of given secret
     * @param string $secretName
     * @throws SecretValueNotFoundException When value of secret not found
     * @return string
     */
    public function get(string $secretName): string;
}