Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Raja Nadar
    @rajanadar
    However, VaultSharp is built to be used in both end application and admin flows, so it supports a lot of admin operations as well.
    What new secret engine do you want to mount? The kv ones are normally enabled by default. Let me know as a github issue if you need an api support that doesn't exist today

    Mike Lewis
    @gingermike
    Hi there - I'm trying to use the CustomAuthMethodInfo class in order to perform a custom auth hook required in our internal org
    However, when I return a CustomAuthMethodInfo from the delegate required in the constructor, I cannot set the ReturnLoginAuthInfo property as it's marked as internal set and not created for me the default constructor
    is this a bug or am I using the class wrong?
    Raja Nadar
    @rajanadar
    Hi Mike, let me check and get back to you in a day.
    Raja Nadar
    @rajanadar
    hey Mike, it is a bug. i created a gh issue to track and close within the week. rajanadar/VaultSharp#182
    Please use the TokenAuthInfo method to unblock for now.
    Mike Lewis
    @gingermike
    Great, thanks Raja :+1:
    Raja Nadar
    @rajanadar
    hi @gingermike , i have published a new NuGet of VaultSharp whereby you can set your own AuthInfo. Please let me know if any issues. https://www.nuget.org/packages/VaultSharp/1.6.2.1
    Imene Boussour
    @ImeneBoussour
    Hi, when using curl to connect to Vault we use --proxy "host:port" and -crt "path" for the server certificate (.crt), using vaultSharp I was able to set Proxy settings in PostProcessHttpClientHandlerAction but not sure how to define the server certificate manually? knowing we are using LDAP auth. I want to translate the -crt path command to vb using vaultsharp.
    9 replies
    Artem Avanesov
    @artem-avanesov
    Hi everyone

    I want to get rid of "appsettings.json" and store application configs in the HashiCorp Vault, it would be nice if this library could "inject" new application configs on the fly without reloading an application.

    I imaging it to work like Redis pub/sub, when some data changes, all subscribed parties are notified.

    Can this library do this?

    Is it possible to subscribe to changes in HashiCorp Vault?
    Raja Nadar
    @rajanadar
    Hi Artem, pub/sub or auto detection of secret change in vault, has never been an envisioned purpose of vault sharp from day 1. Rationale being that,
    1. The library is intended as a simple http client of the api. Strong typing, take care of on the wire details.
    1. Vault itself doesn't support pub sub natively. This means, any library trying to do this, will be polling vault constantly for changes, to simulate pub sub, which does not address the root problem.
    3
    1. Pub sub, redis, polling, failures, etc. bring in critical infra dependencies like redis clients, storage, performance issues, bugs around polling failing, notifications failing etc. VaultSharp was not intended for this. You are free to write a wrapper library that can make use of VaultSharp. Every aspect of pub sub and auto loading is additive to VaultSharp

    Tony Morris
    @afmorris

    :wave: this library is awesome.

    Any plans to support the Terraform Cloud Secret Backend? I went searching through issues, but didn't notice anything. If there's no plan, I assume you accept PRs

    Tony Morris
    @afmorris
    i'll open up a GH Issue to start
    Raja Nadar
    @rajanadar
    Thanks @afmorris for using the library. It'll be available this weekend.
    Mikhail Merkulov
    @MrZoidberg
    Hi! I'm developing a library based on VaultSharp to allow reading configuration options from Vault (https://github.com/MrZoidberg/VaultSharp.Extensions.Configuration). I hope it can be useful. Would be happy for feedback and contribution.