Пример #1
0
        public async override Task <ISecretVault> GetSecretVaultAsync(string secretVaultIdentifier, string name, string fullName)
        {
            AwsSecretVault vault = new AwsSecretVault(secretVaultIdentifier, name, fullName);

            vault.Fields = await GetAllFieldsFromSecret(secretVaultIdentifier);

            return(vault);
        }
Пример #2
0
        public override async Task <bool> RefreshSecretVaultAsync(string vaultSecretIdentifier, string vaultName, string vaultFullName, SecretHelper helper)
        {
            AwsSecretVault vault = (AwsSecretVault)await helper.GetSecretVaultAsync(vaultSecretIdentifier, vaultName, vaultFullName);

            return(true);
        }