Azure Databricks Secret Scopes Tutorial | Secure your notebook secrets

  Рет қаралды 48,283

Adam Marczak - Azure for Everyone

Adam Marczak - Azure for Everyone

Күн бұрын

Пікірлер: 109
@big-bang-movies
@big-bang-movies 2 жыл бұрын
Dude, truly awesome content. You are making such videos free in youtube, which will even make the paid trainers feel ashamed. God bless you.
@i-Vish
@i-Vish 3 жыл бұрын
Thanks Adam. Excellent explanation.. as clear as crystal. These tutorials help a lot of people to enhance their skills and understanding.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
My pleasure!
@annaelizabethtormey4726
@annaelizabethtormey4726 4 жыл бұрын
Awesome video, Adam, clear, concise and with a demo! Really helped to absorb the information in an effective and usable way and progress with my work. Thanks! :)
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Cheers Anna, great to hear that! :)
@dhruv1973
@dhruv1973 Жыл бұрын
Thank you very much Adam for explaining the scope and how to manage it through Azure Keyvault in such a simpler way.
@1277marina1277
@1277marina1277 3 жыл бұрын
The best video for the subject. Great job Adam.
@MelvinAbedini
@MelvinAbedini 2 жыл бұрын
great video even after 3 years it is still one of the best on this topic.
@JackPickle
@JackPickle 4 жыл бұрын
Excellent Adam. A great follow on from your Excel Databricks tutorial which I have now evolved using the tutorial above
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Excellent! Thanks!
@MuhammadAhmed-qc3jw
@MuhammadAhmed-qc3jw 3 жыл бұрын
short and simple - nice presentation
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Thank you 🙂
@mustafakamal5945
@mustafakamal5945 3 жыл бұрын
Thank you very much, finally I found some great content and explanation!!
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Glad it helped!
@Pierrot35
@Pierrot35 2 жыл бұрын
Excellent as usual! A big thanks.
@ajithmangattoor3903
@ajithmangattoor3903 2 жыл бұрын
Excellent content. Really well explained. Great job Adam.
@saiframahi6125
@saiframahi6125 3 жыл бұрын
Great content Adam! Keep the Azure tutorials coming :)
@balanm8570
@balanm8570 4 жыл бұрын
As always another great knowledgeable video... You are always to the point with clarity in your session ....
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I appreciate that!
@frclasso
@frclasso 3 жыл бұрын
Amazing tutorial, congrats.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Glad you think so Fabio!
@ebenezerpeters884
@ebenezerpeters884 4 жыл бұрын
Thank you for the clear and consise tutorials
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Glad you like them!
@ebenezerpeters884
@ebenezerpeters884 4 жыл бұрын
@@AdamMarczakYT I watch your videos regularly and they have been immensely educative. Is it possible to do one that demonstrates streaming scenario that integrate kafka and azure databrickd
@krishnahappysmile
@krishnahappysmile 4 жыл бұрын
This is so informative. I struggled a lot to understand the scopes and secrets in Databricks at work. Now, I know how it was done. Thank you very much. Can I request you to please also create a course for the AZ-104 Azure Admin Certification exam?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Glad it was helpful! I surely will consider AZ-104 after I'm done with AZ-900.
@ngophuthanh
@ngophuthanh 3 жыл бұрын
Thanks, Adam. You rock, as always.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Thanks again! My pleasure!
@raviv5109
@raviv5109 4 жыл бұрын
Awesome! Simple & Powerful presentation! thanks for making this video.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks man!
@utsavjethva
@utsavjethva 4 жыл бұрын
Great video Adam! A very clear explanation of a very useful service. Can you do a video on copying data from SQL to azure blob using dynamic query?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Hey, thanks for watching. For video do you mean by using data factory or databricks?
@jhomalang5189
@jhomalang5189 4 жыл бұрын
easy to understand explanation! Looking forward for more tutorials :) Just a quick question Adam, how to ingest in databricks the data (batch) json file in the blob storage? I've done mounted it.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Try spark.read.json function :) Thanks for stopping by! :)
@amrsaleh9455
@amrsaleh9455 3 жыл бұрын
Great ! thanks Adam.I have a question , how can we retrieve secret scope values like certificate and pass them to a 3rd party tools like presto? is there away to save these values as they are redacted.thx
@afzal_mansury
@afzal_mansury 5 ай бұрын
Can we create secret scope which will store keyvault secret from CLI?
@FalcoPunch182
@FalcoPunch182 2 жыл бұрын
Where is the databricks application coming from, that gets permissions on the Key Vault @Adam ?
@vap72a25
@vap72a25 5 жыл бұрын
clear and very instructive well done!
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Thanks Vinny!
@themynamesb
@themynamesb 2 жыл бұрын
Hi Adam.... Can we use this technique to store secrets inside the dbfs file system on a cluster?
@palashs1
@palashs1 4 жыл бұрын
You are the best Adam. Many thanks!!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
My pleasure!
@Vikasslytherine
@Vikasslytherine 3 жыл бұрын
Quick question - Is it a good practice to link multiple Databricks Scopes to a single Key Vault? I was thinking of creating my separate Key Vault in Azure but multiple scopes in Databricks for different purposes. Can I use one Key Vault as backend for all those scopes?
@cosimocuriale8871
@cosimocuriale8871 4 жыл бұрын
Very useful video. Thanks a lot!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Glad to hear that!
@aurchwd
@aurchwd 4 жыл бұрын
Is not this more relevant when accessing a database because for accessing blob or ADLS storage I will most likely use the service principal. Thanks a lot for your answer in advance.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
And how are you planning to pass service principal Client ID and Secret :) ? Managed Identities are not yet supported for Databricks. But in general, this is relevant for any information that should not be placed directly in the code.
@aurchwd
@aurchwd 4 жыл бұрын
Adam Marczak - Azure for Everyone Got it , thanks .
@aurchwd
@aurchwd 4 жыл бұрын
@@AdamMarczakYT Can you please do a video on the security considerations and best practices when deploying databricks in production ?
@massi888
@massi888 4 жыл бұрын
Hi Adam, is it possible to create a secret scope type backend keyvault via API? manually doing it is not really workable in CI/CD pipeline
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Hey, unfortunately I don't think there is API available externally for this. Looks like they target Q3 2020 github.com/databricks/databricks-cli/issues/262
@user-eg1ss7im6q
@user-eg1ss7im6q 2 жыл бұрын
when i paste the token, it did not work, any help?
@achrafelkhandouli
@achrafelkhandouli 4 жыл бұрын
Hi l am using the community edition, and l am trying to to set up authentication with the CLI, problem is l can't find any token option in my work-space l only have a password and l don't know how to use it to authenticate with the CLI
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I'm not sure if you can do this on community edition, but I never used it so I won't be of much help.
@meiriweixin
@meiriweixin 4 жыл бұрын
Great! Thanks for sharing. When to establish a new key, I noticed under Secrets, there is a warning as "The operation "List" is not enabled in this key vault's access policy. " How to fix it please?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Seems like you are missing 'list' permission in Key Vault. You principal should have assigned Get and List in Key Vault access policies. This is shown during the video in case you have troubles finding this.
@ramanujamvs4763
@ramanujamvs4763 4 жыл бұрын
Hi adam - I am unable to create scope using AKV is it because of premium databrick plan ?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
As far as I remember AKV with scopes is not premium feature. Only granular permissions are, you should be able to set it up.
@ramanujamvs4763
@ramanujamvs4763 4 жыл бұрын
Hi adam I could able create AKV backed scope and I can see azure databricks permission in AKV - ACL with get, list secrets and other privilege but I was getting bad request failure to pick the secrets , would because of any firewall or network issues ? Can you please let me know do I need to check any other permission ( off course I made SP to grant get and list for the same AKV)
@ramanujamvs4763
@ramanujamvs4763 4 жыл бұрын
I could not establish the connection between databricks and AKV after creating AKV backed secret?? I need help here
@ramanujamvs4763
@ramanujamvs4763 4 жыл бұрын
I could create scope .. thank you
@anveshreddy2655
@anveshreddy2655 3 жыл бұрын
Can you have video to mount Azure sqlDW and Azure SQL database to databricks or if you have document.. please share...
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
That's the plan for the future tutorials. Right now try Microsoft tutorials Azure SQL Using JDBC docs.microsoft.com/en-us/azure/databricks/data/data-sources/sql-databases?WT.mc_id=AZ-MVP-5003556 Azure SQL Using Apache Spark connector docs.microsoft.com/en-us/azure/databricks/data/data-sources/sql-databases-azure?WT.mc_id=AZ-MVP-5003556 Azure SQL DW (synapse) docs.microsoft.com/en-us/azure/databricks/data/data-sources/azure/synapse-analytics?WT.mc_id=AZ-MVP-5003556
@venkatkrishna4565
@venkatkrishna4565 4 жыл бұрын
Awesome video adam
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks!
@Tony_79
@Tony_79 3 жыл бұрын
Hi Adam, Is there a way to put the key directly in command instead of a file?
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
You can, but you shouldn't expose your keys in the notebooks. You should always use secret scopes! It's a big security risk!
@Tony_79
@Tony_79 3 жыл бұрын
@@AdamMarczakYT not on note book on CLI ?
@NoSecular123
@NoSecular123 4 жыл бұрын
Thank you very much Adam....
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
My pleasure!
@aswathanarayana
@aswathanarayana 4 жыл бұрын
excellent.keep going
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thank you, I will
@jaganathanv3127
@jaganathanv3127 4 жыл бұрын
Hi Adam - I am facing the below error while trying to add secrets using CLI c:\Users\ databricks secrets put --scope myblobkv --key blobkey Error: b'{"error_code":"INTERNAL_ERROR","message":""}'. Could you pls help me with this ?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Unfortunately can't debug issues over youtube comments. I have not seen this issue. Try again all commands step by step as in my video, if you still encounter the same issue than I'd try databricks forums. This seems to be generic issue.
@narendranathgangineni792
@narendranathgangineni792 4 жыл бұрын
If the secret scope is managed with backend as AzureKeyVault, you will not be able to add or manage keys with access token provided from databricks user settings. If you had followed this video, Adam has accessed databricks workspace from CLI using access token from user settings provided in databricks UI. Refer command: databricks configure --token. You need an Azure AD user token to create an Azure Key Vault-backed secret scope with the Databricks CLI. We can't use databricks personal token to manage key vault based scopes through CLI.
@narendranathgangineni792
@narendranathgangineni792 4 жыл бұрын
@@AdamMarczakYT Thank you Adam for such a good video. Keep posting more for us on databricks. You need an Azure AD user token to create an Azure Key Vault-backed secret scope with the Databricks CLI. You cannot use an Azure Databricks personal access token or an Azure AD application token that belongs to a service principal.
@sid0000009
@sid0000009 4 жыл бұрын
great video as always! so the scope of these secrets would be at Work space level correct? is there a way to limit it to a particular notebook to limit the scope of any secret ? Thank you
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks! You are active as always, glad to see your back. You can control ACLs for scopes using databricks CLI. It's not as granular and won't solve all scenarios but it's helpful. Too bad it requires premium plan of databricks. docs.databricks.com/security/secrets/secret-acl.html
@sid0000009
@sid0000009 4 жыл бұрын
​@@AdamMarczakYT ​ Yeap , I did had a look earlier..Example if a person has access at work space level, can you stop that user accessing a particular Notebook or data set or a secret scope within that as I believe it would inherit the accessibility from parent. On the other hand if we grant access to a user on a Notebook and not workspace then from which pane he would access the Notebook .... in his own-workspace? Bit unclear how the access levels are defined in Databricks..like Workspace -> Notebook ->Datasets...so on...
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Unfortunately there is no linkage like this because those items are no in child-parent relationships. You manage secrets scopes apart from managing notebooks/datasets etc.
@sid0000009
@sid0000009 4 жыл бұрын
@@AdamMarczakYT : Ok good to know. On the related access query , someone has workspace level admin access be prevented to access a Table API? I understand its premium feature so not able to check myself.
@VishalSrivastava-ky6lj
@VishalSrivastava-ky6lj 13 күн бұрын
Amazing
@arnabchabri88
@arnabchabri88 3 жыл бұрын
Can you create a video using secrets and scopes to mount ADLS on databricks.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
I got video on ADLS introduction where I show how to mount it in databricks. Just replace the value with secret scope and you are good to go :)
@kazimir9576
@kazimir9576 2 жыл бұрын
thanks for this video ! helped me to unstuck :)
@RajivGuptaEverydayLearning
@RajivGuptaEverydayLearning 4 жыл бұрын
Can we have some nice detail video on COSMOS DB & Azure Synapse Analytics ?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I'm currently running Cosmos DB project at work so definitely some detail and lessons learned projects are coming in future, so far I got introduction video on my channel. For synapse I'm waiting for new Synapse UI to come out to make a video.
@RajivGuptaEverydayLearning
@RajivGuptaEverydayLearning 4 жыл бұрын
@@AdamMarczakYT Can I ask you for one suggestion. I want to go for synapse & Cosmos db expertise/certification.Can you guide me pls.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I personally learn from the Microsoft docs and blogs. Can't recommend external training websites because I haven't seen them.
@RajivGuptaEverydayLearning
@RajivGuptaEverydayLearning 4 жыл бұрын
@@AdamMarczakYT Thanks. Will wait for your next video on above topics.
@GG-uz8us
@GG-uz8us 4 жыл бұрын
Hope this can help you. There is you tube video "Best practices for Azure Cosmos DB: Data modeling Partitioning and RUs - BRK3054" is very good. kzbin.info/www/bejne/mIKlloebjrqliJo
@ibexy
@ibexy 4 жыл бұрын
Great!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks!
@amarnadhgunakala2901
@amarnadhgunakala2901 4 жыл бұрын
Do more on Data bricks
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I might :) Thanks!
@amarnadhgunakala2901
@amarnadhgunakala2901 4 жыл бұрын
@@AdamMarczakYT you said might that means definitely yes : )
@Praveenkumar-zn5wi
@Praveenkumar-zn5wi 5 жыл бұрын
Pls upload a video for azure devops CD CI pipeline for Azure Data Factory
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
I just might. In the meanwhile I highly recommend this article and azure friday video as it already covers the topic docs.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment
@aniketsamant455
@aniketsamant455 5 жыл бұрын
Nice explanation . Can you please make video azure synapse
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
I plan to! But currently synapse has any barely any new features released over old SQL DW so I might wait till they release some.
@aniketsamant455
@aniketsamant455 5 жыл бұрын
@@AdamMarczakYT : I agreed...but just overview of synapse arc hitecture ..how it will replace datwarehouse?
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Will do as soon as they release unified workspace experience otherwise entire video would be using user interface that will change completely very soon.
@kanchankumari5689
@kanchankumari5689 2 жыл бұрын
how to write code Sarah and John like to pass notes to each other in class. To ensure their secrets don't get exposed, they have developed a secret language to communicate. It is your job to decipher the code and write a program that can decode their secrets in python
@srinathkyadari2527
@srinathkyadari2527 4 жыл бұрын
Lovely Adam
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thank you :)
@RajivGuptaEverydayLearning
@RajivGuptaEverydayLearning 4 жыл бұрын
Some portion of video was blurred but content is good.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Maybe it was your connection. I checked entire video and it's 4k recording. in case you experience issues let me know at which part! Thanks for watching!
@arnabchabri88
@arnabchabri88 3 жыл бұрын
wow
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
thanks :)
Azure Databricks Tutorial | Data transformations at scale
28:35
Adam Marczak - Azure for Everyone
Рет қаралды 402 М.
Azure Key Vault Tutorial | Secure secrets, keys and certificates easily
18:43
Adam Marczak - Azure for Everyone
Рет қаралды 182 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 49 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 69 МЛН
Azure Data Lake Storage (Gen 2) Tutorial | Best storage solution for big data analytics in Azure
24:25
Process Excel files in Azure with Data Factory and Databricks | Tutorial
34:14
Adam Marczak - Azure for Everyone
Рет қаралды 119 М.
Azure Databricks using Python with PySpark
52:29
Bryan Cafferky
Рет қаралды 78 М.
Using Azure Key Vault Key Rotation Policies
22:23
John Savill's Technical Training
Рет қаралды 12 М.
AZ-900 Episode 27 | Azure Key Vault | Secret, Key and Certificate Management
9:12
Adam Marczak - Azure for Everyone
Рет қаралды 234 М.