public async Task CreateAndStoreApiKeyPair( Capability cap, ServiceAccount serviceAccount ) { var apiKeyPair = await _apiKeyClient.CreateApiKeyPair(serviceAccount); await _vault.AddApiCredentials( cap, new ApiCredentials { Key = apiKeyPair.Key, Secret = apiKeyPair.Secret } ); }