# Use projects group password in python script

**URL:** <https://matillioncommunity.discourse.group/t/use-projects-group-password-in-python-script/3324>\
**Category:** Matillion ETL\
**Tags:** matillion-etl\
**Created:** [July 17, 2025, 6:13pm UTC](https://matillioncommunity.discourse.group/t/use-projects-group-password-in-python-script/3324 "2025-07-17T18:13:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RemigiousMikevin.James](https://sea2.discourse-cdn.com/flex002/user_avatar/matillioncommunity.discourse.group/remigiousmikevin.james/32/1289_2.png) [@RemigiousMikevin.James](https://matillioncommunity.discourse.group/u/RemigiousMikevin.James)\
**Post date:** [July 17, 2025, 6:13pm UTC](https://matillioncommunity.discourse.group/t/use-projects-group-password-in-python-script/3324/1 "2025-07-17T18:13:37Z")

</div>

I have a **Blob Storage connection string** stored in **Azure Key Vault** , and I’ve added the Key Vault to the **Secret Manager** in Matillion under **Project Group Passwords**. I then created a **password entry** in Matillion from the configured Secret Manager.

Now, I want to use this password directly in the **Python Script** component within a job.

**How can I access the secret or password value inside the Python Script component?**

---

<div class="post-metadata">

**Author:** ![Joe-Community-Manager](https://sea2.discourse-cdn.com/flex002/user_avatar/matillioncommunity.discourse.group/joe-community-manager/32/897_2.png) [@Joe-Community-Manager](https://matillioncommunity.discourse.group/u/Joe-Community-Manager)\
**Post date:** [July 18, 2025, 8:58am UTC](https://matillioncommunity.discourse.group/t/use-projects-group-password-in-python-script/3324/2 "2025-07-18T08:58:04Z")

</div>

Hi @RemigiousMikevin.James

Thanks for your post, I was just looking into this for you and can confirm you cannot allow Python Access to the Matillion Secrets Vault. If you are using the AWS / Azure Secrets Manager, an option would be to write a Python code to connect directly to AWS / Azure to retrieve the secret you need.

Another option would be to store the password directly in a variable outside of the Matillion Secrets Manager and access it via Environment Variables.

Here is a [supporting document for AWS Secrets Manager](https://support.matillion.com/s/article/How-To-Retrieve-Secrets-from-AWS-Secrets-Manager-using-a-Python-Script-Component) 🙂

Kidn regards, Joe
