예제 #1
0
        public async Task <Credential> GetCredentialsAsync(string context, string key)
        {
            CyberArkCCPPassword value = await ReadFromCyberArkCCP(context, key);

            return(new Credential
            {
                Username = value.Name,
                Password = value.Content,
            });
        }
예제 #2
0
        public async Task <string> GetValueAsync(string context, string key)
        {
            CyberArkCCPPassword value = await ReadFromCyberArkCCP(context, key);

            return(value.Content);
        }