# Disable secret for pluto.jl notebook

**URL:** <https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065>\
**Category:** General Usage\
**Tags:** pluto\
**Created:** [May 13, 2021, 7:58am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065 "2021-05-13T07:58:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 13, 2021, 7:58am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065/1 "2021-05-13T07:58:42Z")

</div>

Pluto-notebooks are launched in the default browser. If I want to open the notebook in a different browser, I have to copy the localhost adress from the terminal to include the nessecary secret. I however want to be able to copy the address from the URL-line, and I have no need for a secret passkey. Is there a way to disable the secret?

My attempt failed, and is does not seem like there is a key for this feature:

```julia
julia> using Pluto; Pluto.run(secret=false)
ERROR: ArgumentError: invalid key secret, possible keys are: root_url, host, port, launch_browser, dismiss_update_notification, show_file_system, notebook_path_suggestion, disable_writing_notebook_files... please check documentation for other valid keys
Stacktrace:
 [1] validate_keywords(::Type{Pluto.Configuration.Options}, keys::Vector{Symbol}; kw::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:secret,), Tuple{Bool}}})
   @ Configurations C:\Users\densb\.julia\packages\Configurations\S1RPp\src\parse.jl:288
 [2] #from_field_kwargs!#16
   @ C:\Users\densb\.julia\packages\Configurations\S1RPp\src\parse.jl:240 [inlined]
 [3] from_kwargs(convention!::typeof(Configurations.from_field_kwargs!), ::Type{Pluto.Configuration.Options}; kw::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:secret,), Tuple{Bool}}})
   @ Configurations C:\Users\densb\.julia\packages\Configurations\S1RPp\src\parse.jl:73
 [4] #from_field_kwargs#8
   @ C:\Users\densb\.julia\packages\Configurations\S1RPp\src\parse.jl:96 [inlined]
 [5] #from_flat_kwargs#11
   @ C:\Users\densb\.julia\packages\Pluto\yDJcG\src\Configuration.jl:117 [inlined]
 [6] #run#224
   @ C:\Users\densb\.julia\packages\Pluto\yDJcG\src\webserver\WebServer.jl:87 [inlined]
 [7] top-level scope
   @ REPL[1]:1

```

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [May 13, 2021, 8:39am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065/2 "2021-05-13T08:39:07Z")

</div>

See last line of this file:  
[https://github.com/JuliaPluto/docker-stacks/blob/main/Dockerfile](https://github.com/JuliaPluto/docker-stacks/blob/main/Dockerfile)

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 13, 2021, 8:52am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065/3 "2021-05-13T08:52:33Z")

</div>

Are you saying that it is disabled by default?

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [May 13, 2021, 8:54am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065/4 "2021-05-13T08:54:31Z")

</div>

No. In this Dockerfile, the secrets are disabled using this command:

```julia
Pluto.run(require_secret_for_open_links=false, require_secret_for_access=false)

```

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 13, 2021, 9:41am UTC](https://discourse.julialang.org/t/disable-secret-for-pluto-jl-notebook/61065/5 "2021-05-13T09:41:20Z")

</div>

> [@lungben](#):
>
> `Pluto.run(require_secret_for_open_links=false, require_secret_for_access=false)`

Right. Thanks a lot.

I really feel like pluto is missing some documentation, supported by the fact that you had to go digging in a Dockerfile (Which I don’t even know what is) to find stuff like this. At the very least, these keys should be suggested in the error shown in the original post.
