Skip to content

Commit 8ab1997

Browse files
committed
readme fix for readability
1 parent 4a163ae commit 8ab1997

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ configuration = slurmrest_python.Configuration(
6868
# satisfies your auth use case.
6969

7070
# Configure API key authorization: user
71-
configuration.api_key['user'] = os.environ["API_KEY"]
71+
configuration.api_key['user'] = os.environ["USERNAME"]
72+
73+
# Configure API key authorization: token
74+
configuration.api_key['token'] = os.environ["API_KEY"]
7275

7376
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
7477
# configuration.api_key_prefix['user'] = 'Bearer'
@@ -78,9 +81,6 @@ configuration = slurmrest_python.Configuration(
7881
access_token = os.environ["BEARER_TOKEN"]
7982
)
8083

81-
# Configure API key authorization: token
82-
configuration.api_key['token'] = os.environ["API_KEY"]
83-
8484
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
8585
# configuration.api_key_prefix['token'] = 'Bearer'
8686

0 commit comments

Comments
 (0)