# Azure Keyvault Stuff
A package that provides functionality for interacting with an Azure Keyvault
## Installation
Run the following to install the package:
``python -m pip install azure-keyring-stuff``
## Usage
```python
from azure_keyring_stuff import getClient, getSecret, setSecret, deleteSecret
from azure.identity import DefaultAzureCredential
client = getClient(vault_name="VAULT_NAME", credential=DefaultAzureCredential())
secret = getSecret(client=client, secret_name="SECRET_NAME")
new_secret = setSecret(client=client, secret_name="SECRET_NAME", secret_value="SECRET_VALUE")
deleted_secret = deleteSecret(client=client, secret_name="SECRET_NAME")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/george-oconnor/azure-keyvault-stuff",
"name": "azure-keyvault-stuff",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,azure,keyvault,helper,secret,secrets,client,get,set,delete,vault,value,values,credential,credentials,azure.identity.DefaultAzureCredential()",
"author": "george.oconnor (George O' Connor)",
"author_email": "<george@georgestools.com>",
"download_url": "https://files.pythonhosted.org/packages/11/7d/dc4cf3db0c78e66acf4400ea6f1f6385eb2afcb313969c50d5cf9f7c2906/azure-keyvault-stuff-0.0.3.tar.gz",
"platform": null,
"description": "# Azure Keyvault Stuff\r\n\r\nA package that provides functionality for interacting with an Azure Keyvault\r\n\r\n## Installation\r\n\r\nRun the following to install the package:\r\n\r\n``python -m pip install azure-keyring-stuff``\r\n\r\n## Usage\r\n\r\n```python\r\nfrom azure_keyring_stuff import getClient, getSecret, setSecret, deleteSecret\r\nfrom azure.identity import DefaultAzureCredential\r\n\r\nclient = getClient(vault_name=\"VAULT_NAME\", credential=DefaultAzureCredential())\r\n\r\nsecret = getSecret(client=client, secret_name=\"SECRET_NAME\")\r\n\r\nnew_secret = setSecret(client=client, secret_name=\"SECRET_NAME\", secret_value=\"SECRET_VALUE\")\r\n\r\ndeleted_secret = deleteSecret(client=client, secret_name=\"SECRET_NAME\")\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Azure Key Vault Helper Package",
"version": "0.0.3",
"split_keywords": [
"python",
"azure",
"keyvault",
"helper",
"secret",
"secrets",
"client",
"get",
"set",
"delete",
"vault",
"value",
"values",
"credential",
"credentials",
"azure.identity.defaultazurecredential()"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "87af48500c830ca8911d405fc1c5fa576e5301ea780093c05947485e1518d25d",
"md5": "cbc1c25bcd0d5e6500d0eb59e4ad82a1",
"sha256": "c32952e4296094a5f4b54fc98bf05b5e15e38cfc3cd7b508ac356060be755dd0"
},
"downloads": -1,
"filename": "azure_keyvault_stuff-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cbc1c25bcd0d5e6500d0eb59e4ad82a1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2539,
"upload_time": "2023-04-28T14:34:55",
"upload_time_iso_8601": "2023-04-28T14:34:55.748943Z",
"url": "https://files.pythonhosted.org/packages/87/af/48500c830ca8911d405fc1c5fa576e5301ea780093c05947485e1518d25d/azure_keyvault_stuff-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "117ddc4cf3db0c78e66acf4400ea6f1f6385eb2afcb313969c50d5cf9f7c2906",
"md5": "82def34cbc452d214611f05d5476b208",
"sha256": "ad0eb1dd83598eb9b13681e42ee607359cbf438384ba05518879cfaa67cd7b6e"
},
"downloads": -1,
"filename": "azure-keyvault-stuff-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "82def34cbc452d214611f05d5476b208",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2446,
"upload_time": "2023-04-28T14:34:57",
"upload_time_iso_8601": "2023-04-28T14:34:57.676083Z",
"url": "https://files.pythonhosted.org/packages/11/7d/dc4cf3db0c78e66acf4400ea6f1f6385eb2afcb313969c50d5cf9f7c2906/azure-keyvault-stuff-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-28 14:34:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "george-oconnor",
"github_project": "azure-keyvault-stuff",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "azure-keyvault-stuff"
}