Skip to content

Commit

Permalink
updated README, added comment for creating API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Jun 12, 2024
1 parent 5ec7047 commit 0fd6229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ All examples assume a client has been created using one of the following:

```ruby
# basic auth with an API key
client = Ably::Realtime.new(key: 'xxxxx')
client = Ably::Realtime.new(key: 'API_KEY_COPIED_FROM_ABLY_WEB_DASHBOARD')

# using token auth
client = Ably::Realtime.new(token: 'xxxxx')
client = Ably::Realtime.new(token: 'TOKEN_CREATED_USING_ABLY_KEY')
```

`Warning - Do not expose ABLY_KEY to client code. It is meant to only be used at server side`.
Expand Down

0 comments on commit 0fd6229

Please sign in to comment.