Show / Hide Table of Contents

Class KeyVaultStorageConnection

Uses Azure KeyVault data stored in a object to look up the connection string associated with a given title or storage account name.

Inheritance
System.Object
KeyVaultStorageConnection
Implements
IAlternateStorageConnection
System.IEquatable<KeyVaultStorageConnection>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.DataAccess
Assembly: CrashCABN.DataAccess.KeyVault.dll
Syntax
public class KeyVaultStorageConnection : IAlternateStorageConnection, IEquatable<KeyVaultStorageConnection>

Constructors

View Source

KeyVaultStorageConnection(IConfiguration)

Uses Azure KeyVault data stored in a object to look up the connection string associated with a given title or storage account name.

Declaration
public KeyVaultStorageConnection(IConfiguration Config)
Parameters
Type Name Description
IConfiguration Config

Properties

View Source

Config

Declaration
public IConfiguration Config { get; set; }
Property Value
Type Description
IConfiguration

Methods

View Source

GetConnectionString(String)

Declaration
public string GetConnectionString(string storageName)
Parameters
Type Name Description
System.String storageName
Returns
Type Description
System.String
View Source

GetConnectionStringForTitle(String)

Declaration
public string GetConnectionStringForTitle(string titleName)
Parameters
Type Name Description
System.String titleName
Returns
Type Description
System.String

Implements

IAlternateStorageConnection
System.IEquatable<T>
  • View Source
In This Article
Back to top Generated by DocFX