Forum Discussion
Passing SecureString Parameter Values in notebooks
- 2 years ago
Hi PedroCSeq
Thanks for using Microsoft Fabric Community.
Apologies for the inconvenience that you are facing here.
Secure string is a type of parameter that you can use in Fabric pipelines to pass sensitive information, such as passwords or keys, to your notebooks. However, secure string parameters are masked with asterisks, so you cannot access their actual values in your notebook code. This is why your authentication may fail if you try to use a secure string parameter as a plain string.
One possible way to use secure string parameters in your notebooks to use Azure Key Vault secrets this might help you.
Azure Key Vault is a service that allows you to securely store and access secrets, such as passwords, keys, certificates, etc. You can create a secret in Azure Key Vault and then reference it in your pipeline activity using the Web activity and the Secure Output option. This way, you can pass the secret value to your notebook without exposing it in plain text.
Please refer to the document for more details.
I hope this information helps. Please do let us know If you have any further questions.
Thanks.
- 2 years ago
Hi PedroCSeq
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread.
Thanks.
Hi PedroCSeq
Thanks for using Microsoft Fabric Community.
Apologies for the inconvenience that you are facing here.
Secure string is a type of parameter that you can use in Fabric pipelines to pass sensitive information, such as passwords or keys, to your notebooks. However, secure string parameters are masked with asterisks, so you cannot access their actual values in your notebook code. This is why your authentication may fail if you try to use a secure string parameter as a plain string.
One possible way to use secure string parameters in your notebooks to use Azure Key Vault secrets this might help you.
Azure Key Vault is a service that allows you to securely store and access secrets, such as passwords, keys, certificates, etc. You can create a secret in Azure Key Vault and then reference it in your pipeline activity using the Web activity and the Secure Output option. This way, you can pass the secret value to your notebook without exposing it in plain text.
Please refer to the document for more details.
I hope this information helps. Please do let us know If you have any further questions.
Thanks.
- v-cboorla-msft2 years agoMicrosoft Employee
Hi PedroCSeq
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thanks.- v-cboorla-msft2 years agoMicrosoft Employee
Hi PedroCSeq
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread.
Thanks.
- SwatiBabber11 months agoNew Member
Hello Team,
I have tried using the secure output option but when using the param in the notebook activity ,
"activity('Read_KV_Secret').output.value" this string is passed as is in the Notebook instead of the actual value of the secret