rajanadar / VaultSharp

A comprehensive cross-platform .NET Library for HashiCorp's Vault, a secret management tool
http://rajanadar.github.io/VaultSharp
Apache License 2.0
488 stars 130 forks source link

Allow updating of app role by ignoring `local_secret_ids` #336

Closed molteber closed 1 week ago

molteber commented 10 months ago

This PR fixes #335 by creating a new Model for AppRole roles when updating a role.

When updating a role, we ignore the LocalSecretIds property from being serialized to json. As an extra measure; the compiler will throw an error when using LocalSecretIds when using the update model.