Skip to content

Commit 461035b

Browse files
authored
Remove unused code from the identity README (#821)
1 parent 17e28b7 commit 461035b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sdk/identity/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ To authenticate using the client credential flow, you can do the following:
1818
```rust
1919
use azure_identity::client_credentials_flow;
2020
use oauth2::{ClientId, ClientSecret};
21-
use url::Url;
2221

2322
use std::env;
2423
use std::error::Error;
@@ -31,8 +30,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
3130
env::var("CLIENT_SECRET").expect("Missing CLIENT_SECRET environment variable."),
3231
);
3332
let tenant_id = env::var("TENANT_ID").expect("Missing TENANT_ID environment variable.");
34-
let subscription_id =
35-
env::var("SUBSCRIPTION_ID").expect("Missing SUBSCRIPTION_ID environment variable.");
3633

3734
let client = reqwest::Client::new();
3835
// This will give you the final token to use in authorization.

0 commit comments

Comments
 (0)