Skip to content

Instantly share code, notes, and snippets.

@stfsy
Created March 21, 2025 20:08
Show Gist options
  • Save stfsy/433d1f3135356bb4b52c721aa3ba8ca1 to your computer and use it in GitHub Desktop.
Save stfsy/433d1f3135356bb4b52c721aa3ba8ca1 to your computer and use it in GitHub Desktop.
import hvac
client = hvac.Client()
create_response = client.secrets.kv.v2.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