# Idea: Allow access to location hash params #key=value

**URL:** <https://talk.observablehq.com/t/idea-allow-access-to-location-hash-params-key-value/2136>\
**Category:** Feedback\
**Created:** [July 11, 2019, 7:15am UTC](https://talk.observablehq.com/t/idea-allow-access-to-location-hash-params-key-value/2136 "2019-07-11T07:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [July 11, 2019, 8:53am UTC](https://talk.observablehq.com/t/idea-allow-access-to-location-hash-params-key-value/2136/3 "2019-07-11T08:53:22Z")

</div>

> [@jflatow](#):
>
> This would allow doing things like passing in access\_tokens

You can already store secrets in Observable that only you can access:

> **[Using secrets with Observable | Observable documentation](https://observablehq.com/documentation/security/secrets)**
>
> All your Observable questions answered

> [@bumbeishvili](#):
>
> You already can do something like that

It’s not exactly the same. The key difference is that a hash won’t get send to the server and can thus not be logged server-side. Obtaining the hash is currently not possible:

> [@Getting document.URL](https://talk.observablehq.com/t/getting-document-url/2110/3):
>
> This should work: Object.assign(document.createElement("a"), {href: ""}).hash Edit: actually it won’t because we don’t pass the hash down to the worker. So, you’ll need to use the query string, at least for now.

---

_[View the full topic](https://talk.observablehq.com/t/idea-allow-access-to-location-hash-params-key-value/2136)._
