Created
March 21, 2025 20:32
-
-
Save stfsy/30864c820f674576d5eec891d3e60f1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hvac | |
from hvac.api.secrets_engines.kv_v2 import KvV2 | |
c = hvac.Client() | |
kv2 : KvV2 = c.secrets.kv.v2 | |
create_response = kv2.create_or_update_secret( | |
path='foo', | |
secret=dict(baz='bar'), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment