KeyVaultSecretManager.GetData(IEnumerable<KeyVaultSecret>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a loaded list of secrets into a corresponding set of configuration key-value pairs.
public virtual System.Collections.Generic.Dictionary<string,string> GetData (System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Secrets.KeyVaultSecret> secrets);
abstract member GetData : seq<Azure.Security.KeyVault.Secrets.KeyVaultSecret> -> System.Collections.Generic.Dictionary<string, string>
override this.GetData : seq<Azure.Security.KeyVault.Secrets.KeyVaultSecret> -> System.Collections.Generic.Dictionary<string, string>
Public Overridable Function GetData (secrets As IEnumerable(Of KeyVaultSecret)) As Dictionary(Of String, String)
Parameters
- secrets
- IEnumerable<KeyVaultSecret>
A set of secrets retrieved during Load() call.
Returns
The dictionary of configuration key-value pairs that would be assigned to the Data and exposed from the IConfiguration.
Exceptions
When secrets
is null
.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per