Paquete que tiene como proposito el brindar clases de permitan utilizar servicios de Microsoft Azure
Project description
Introducción
Paquete que tiene como proposito el brindar clases de permitan utilizar servicios de Microsoft Azure
Empezando
Este proyecto cuenta con las siguientes clases:
- Conexión con el servicio Azure Key Vault (KeyVault)
1. Conexión con el servicio Azure Key Vault (KeyVault)
import os
from dotenv import load_dotenv as env
from trujillo.azure.keyvault import KeyVault
env("environments\.env.keyvault")
tenant_id=os.environ["TENANT_ID"]
client_id=os.environ["CLIENT_ID"]
client_secret=os.environ["CLIENT_SECRET"]
vault_url=os.environ["KEYVAULT_URL"]
credentials = KeyVault(
tenant_id=tenant_id,
client_id=client_id,
client_secret=client_secret,
vault_url=vault_url
)
secret = credentials.get_secret(secret_name="it-trv-dev1-name-kv")
print(secret)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file trujillo-azure-package-0.1.0.tar.gz.
File metadata
- Download URL: trujillo-azure-package-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba1d74594c32f283b669efb5b92a4ad66c034ab61be4862e368d5fdf2e6fc6e7
|
|
| MD5 |
b25bea0196985e9509d22acee7d664c0
|
|
| BLAKE2b-256 |
793e47e88b5a641e3477db3ee811a310df57bf3d8dd4cca9f65d8a726f678075
|