Exemple #1
0
 /// <summary>
 /// Constructs a VaultSecretEntry object Without CAS functionality
 /// </summary>
 /// <param name="secretEngine">The Secret Engine this Entry should be saved/read to/from</param>
 /// <param name="name">The Name of this secret</param>
 /// <param name="path">The Path of this secret</param>
 public VaultSecretEntry(KV2SecretEngine secretEngine, string name, string path) : base(secretEngine, name, path)
 {
 }
Exemple #2
0
 /// <summary>
 /// Constructs a VaultSecretEntry object Without CAS functionality
 /// </summary>
 /// <param name="secretEngine">The Secret Engine this Entry should be saved/read to/from</param>
 /// <param name="fullPathAndName">The full path and name to the secret</param>
 public VaultSecretEntry(KV2SecretEngine secretEngine, string fullPathAndName) : base(secretEngine, fullPathAndName)
 {
 }
Exemple #3
0
 /// <summary>
 /// Constructs a VaultSecretEntry object Without CAS functionality
 /// </summary>
 /// <param name="secretEngine"></param>
 public VaultSecretEntry(KV2SecretEngine secretEngine) : base(secretEngine)
 {
 }
 /// <summary>
 /// Constructor accepting the SecretEngine that this secret's Vault Operations (VSE) should be applied to.
 /// </summary>
 /// <param name="secretEngine">The KV2SecretEngine that this secret should operate with</param>
 /// <param name="name">The Name of this secret</param>
 /// <param name="path">The Path of this secret</param>
 public VaultSecretEntryBase(KV2SecretEngine secretEngine, string name, string path = "")
 {
     InitializeNew(name, path);
     SecretEngine = secretEngine;
 }
 /// <summary>
 /// Constructor accepting the SecretEngine and Secret Name that this secret's Vault Operations (VSE) should be applied to.
 /// </summary>
 /// <param name="secretEngine">The KV2SecretEngine that this secret should operate with</param>
 /// <param name="fullPathAndName">The Name of this secret, including any parent paths.  This will be separated out into Name and Path Properties</param>
 /// <para>Note, the FullPath and name parameter does not specify the basePath</para>
 public VaultSecretEntryBase(KV2SecretEngine secretEngine, string fullPathAndName)
 {
     InitializeNew(fullPathAndName);
     SecretEngine = secretEngine;
 }
 /// <summary>
 /// Allows the Saving of this secret under a new name and path.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="path"></param>
 /// <param name="secretEngine"></param>
 /// <returns></returns>
 public async Task <VaultSecretEntryBase> VSE_SaveAs(string name, string path, KV2SecretEngine secretEngine = null)
 {
     throw new NotImplementedException();
 }
 /// <summary>
 /// Constructor accepting the SecretEngine that this secret's Vault Operations (VSE) should be applied to.
 /// </summary>
 /// <param name="secretEngine">The KV2SecretEngine that this secret should operate with</param>
 public VaultSecretEntryBase(KV2SecretEngine secretEngine)
 {
     InitializeNew();
     SecretEngine = secretEngine;
 }