Skip to content

Commit

Permalink
Fix request headers example (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrancato authored Feb 19, 2020
1 parent 70337fc commit 6de663e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ kerberos.authGSSClientStep(vc, "")
kerberos_token = kerberos.authGSSClientResponse(vc)

r = requests.post("https://vault.domain:8200/v1/auth/kerberos/login",
json={'authorization': 'Negotiate ' + kerberos_token})
headers={'authorization': 'Negotiate ' + kerberos_token})
print('Vault token:', r.json()['auth']['client_token'])
```

Expand Down

0 comments on commit 6de663e

Please sign in to comment.